blob: 32e1793b1db12597201bd7b028b320e50eef116d (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
<?xml version="1.0" encoding="utf-8"?>
<interfaceDefinition>
<node name="protocols">
<children>
<node name="traffic-engineering" owner="${vyos_conf_scripts_dir}/protocols_traffic_engineering.py">
<properties>
<help>Traffic Engineering link parameters</help>
<priority>605</priority>
</properties>
<children>
<tagNode name="admin-group">
<properties>
<help>Configure administrative groups that can be used in interface configuration</help>
<valueHelp>
<format>txt</format>
<description>Administrative group name</description>
</valueHelp>
<constraint>
<regex>[-a-zA-Z0-9]+</regex>
</constraint>
<constraintErrorMessage>Administrative group must be alphanumeric and can contain hyphens</constraintErrorMessage>
</properties>
<children>
<leafNode name="bit-position">
<properties>
<help>Specify bit position of the admin group</help>
<valueHelp>
<format>u8:0-31</format>
<description>Admin group bit position</description>
</valueHelp>
<constraint>
<validator name="numeric" argument="--range 0-31"/>
</constraint>
</properties>
</leafNode>
</children>
</tagNode>
<tagNode name="interface">
<properties>
<help>Traffic engineering parameters for interface</help>
<completionHelp>
<script>${vyos_completion_dir}/list_interfaces</script>
</completionHelp>
<valueHelp>
<format>txt</format>
<description>Interface to configure name</description>
</valueHelp>
<constraint>
#include <include/constraint/interface-name.xml.i>
</constraint>
</properties>
<children>
<leafNode name="metric">
<properties>
<help>TE metric</help>
<valueHelp>
<format>u32:1-4294967295</format>
<description>TE Metric (different from the OSPF or ISIS metric)</description>
</valueHelp>
<constraint>
<validator name="numeric" argument="--range 1-4294967295"/>
</constraint>
</properties>
</leafNode>
<leafNode name="max-bandwidth">
<properties>
<help>Maximum bandwidth (interface speed by default)</help>
<valueHelp>
<format>u32:1-4294967295</format>
<description>Maximum bandwidth in Mbits/sec</description>
</valueHelp>
<constraint>
<validator name="numeric" argument="--range 1-4294967295"/>
</constraint>
</properties>
</leafNode>
<leafNode name="max-reservable-bandwidth">
<properties>
<help>Maximum reservable bandwidth</help>
<valueHelp>
<format>u32:1-4294967295</format>
<description>Maximum reservable bandwidth in Mbits/sec</description>
</valueHelp>
<constraint>
<validator name="numeric" argument="--range 1-4294967295"/>
</constraint>
</properties>
</leafNode>
<leafNode name="admin-group">
<properties>
<help>Admin groups of interface</help>
<valueHelp>
<format>txt</format>
<description>Admin group of interface</description>
</valueHelp>
<completionHelp>
<path>protocols traffic-engineering admin-group</path>
</completionHelp>
<multi/>
</properties>
</leafNode>
</children>
</tagNode>
</children>
</node>
</children>
</node>
</interfaceDefinition>
|