blob: f5d8afabd1a52959c831baf4d468effda0034cf0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<?xml version="1.0" encoding="UTF-8"?>
<interfaceDefinition>
<node name="system">
<children>
<tagNode name="event-handler" owner="${vyos_conf_scripts_dir}/system_event_handler.py">
<properties>
<help>Event handler name</help>
</properties>
<children>
<leafNode name="pattern">
<properties>
<help>Match pattern (regex)</help>
</properties>
</leafNode>
<leafNode name="script">
<properties>
<help>Event handler script file</help>
<constraint>
<validator name="script"/>
</constraint>
</properties>
</leafNode>
</children>
</tagNode>
</children>
</node>
</interfaceDefinition>
|