blob: 3e96013c7ee7bd86adbbd22b2d3b4fa99714aa77 (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
<?xml version="1.0" encoding="UTF-8"?>
<interfaceDefinition>
<node name="service">
<children>
<tagNode name="event-handler" owner="${vyos_conf_scripts_dir}/service_event_handler.py">
<properties>
<help>Event handler name</help>
</properties>
<children>
<leafNode name="pattern">
<properties>
<help>Match pattern (regex)</help>
</properties>
</leafNode>
<node name="script">
<properties>
<help>Event handler script file</help>
</properties>
<children>
<leafNode name="arguments">
<properties>
<help>Script arguments</help>
</properties>
</leafNode>
<tagNode name="environment">
<properties>
<help>Script environment arguments</help>
</properties>
<children>
<leafNode name="value">
<properties>
<help>Environment value</help>
</properties>
</leafNode>
</children>
</tagNode>
<leafNode name="path">
<properties>
<help>Path to the script</help>
<constraint>
<validator name="script"/>
</constraint>
</properties>
</leafNode>
</children>
</node>
</children>
</tagNode>
</children>
</node>
</interfaceDefinition>
|