summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols_babel.xml.in
blob: 2795a7dd495421907be1145d69ccdcbb3a29deab (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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="protocols">
    <children>
      <node name="babel" owner="${vyos_conf_scripts_dir}/protocols_babel.py">
        <properties>
          <help>Babel Routing Protocol</help>
          <priority>650</priority>
        </properties>
        <children>
          <node name="parameters">
            <properties>
              <help>Babel-specific parameters</help>
            </properties>
            <children>
              <leafNode name="diversity">
                <properties>
                  <help>Enable diversity-aware routing</help>
                  <valueless/>
                </properties>
              </leafNode>
              <leafNode name="diversity-factor">
                <properties>
                  <help>Multiplicative factor used for diversity routing</help>
                  <valueHelp>
                    <format>u32:1-256</format>
                    <description>Multiplicative factor, in units of 1/256</description>
                  </valueHelp>
                  <constraint>
                    <validator name="numeric" argument="--range 1-256"/>
                  </constraint>
                </properties>
                <defaultValue>256</defaultValue>
              </leafNode>
              <leafNode name="resend-delay">
                <properties>
                  <help>Time before resending a message</help>
                  <valueHelp>
                    <format>u32:20-655340</format>
                    <description>Milliseconds</description>
                  </valueHelp>
                  <constraint>
                    <validator name="numeric" argument="--range 20-655340"/>
                  </constraint>
                </properties>
                <defaultValue>2000</defaultValue>
              </leafNode>
              <leafNode name="smoothing-half-life">
                <properties>
                  <help>Smoothing half-life</help>
                  <valueHelp>
                    <format>u32:0-65534</format>
                    <description>Seconds</description>
                  </valueHelp>
                  <constraint>
                    <validator name="numeric" argument="--range 0-65534"/>
                  </constraint>
                </properties>
                <defaultValue>4</defaultValue>
              </leafNode>
            </children>
          </node>
          #include <include/babel/interface.xml.i>
          <node name="redistribute">
            <properties>
              <help>Redistribute information from another routing protocol</help>
            </properties>
            <children>
              <node name="ipv4">
                <properties>
                  <help>Redistribute IPv4 routes</help>
                </properties>
                <children>
                  #include <include/babel/redistribute-common.xml.i>
                  <leafNode name="ospf">
                    <properties>
                      <help>Redistribute OSPF routes</help>
                      <valueless/>
                    </properties>
                  </leafNode>
                  <leafNode name="rip">
                    <properties>
                      <help>Redistribute RIP routes</help>
                      <valueless/>
                    </properties>
                  </leafNode>
                </children>
              </node>
              <node name="ipv6">
                <properties>
                  <help>Redistribute IPv6 routes</help>
                </properties>
                <children>
                  #include <include/babel/redistribute-common.xml.i>
                  <leafNode name="ospfv3">
                    <properties>
                      <help>Open Shortest Path First (IPv6) (OSPFv3)</help>
                      <valueless/>
                    </properties>
                  </leafNode>
                  <leafNode name="ripng">
                    <properties>
                      <help>Routing Information Protocol next-generation (IPv6) (RIPng)</help>
                      <valueless/>
                    </properties>
                  </leafNode>
                </children>
              </node>
            </children>
          </node>
          <node name="distribute-list">
            <properties>
              <help>Filter networks in routing updates</help>
            </properties>
            <children>
              <node name="ipv4">
                <properties>
                  <help>Filter IPv4 routes</help>
                </properties>
                <children>
                  #include <include/rip/access-list.xml.i>
                  <tagNode name="interface">
                    <properties>
                      <help>Apply filtering to an interface</help>
                      <valueHelp>
                        <format>txt</format>
                        <description>Apply filtering to an interface</description>
                      </valueHelp>
                      <completionHelp>
                        <script>${vyos_completion_dir}/list_interfaces</script>
                      </completionHelp>
                      <constraint>
                        #include <include/constraint/interface-name.xml.i>
                      </constraint>
                    </properties>
                    <children>
                      #include <include/rip/access-list.xml.i>
                      #include <include/rip/prefix-list.xml.i>
                    </children>
                  </tagNode>
                  #include <include/rip/prefix-list.xml.i>
                </children>
              </node>
              <node name="ipv6">
                <properties>
                  <help>Filter IPv6 routes</help>
                </properties>
                <children>
                  #include <include/rip/access-list6.xml.i>
                  <tagNode name="interface">
                    <properties>
                      <help>Apply filtering to an interface</help>
                      <valueHelp>
                        <format>txt</format>
                        <description>Apply filtering to an interface</description>
                      </valueHelp>
                      <completionHelp>
                        <script>${vyos_completion_dir}/list_interfaces</script>
                      </completionHelp>
                      <constraint>
                        #include <include/constraint/interface-name.xml.i>
                      </constraint>
                    </properties>
                    <children>
                      #include <include/rip/access-list6.xml.i>
                      #include <include/rip/prefix-list6.xml.i>
                    </children>
                  </tagNode>
                  #include <include/rip/prefix-list6.xml.i>
                </children>
              </node>
            </children>
          </node>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>