summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols-bgp.xml.in
blob: cf897d04f8d88a3b28dd5c97e1b9043b90956f26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="protocols">
    <children>
      <tagNode name="bgp" owner="${vyos_conf_scripts_dir}/protocols_bgp.py">
        <properties>
          <help>Border Gateway Protocol (BGP)</help>
          <priority>820</priority>
          <valueHelp>
            <format>u32:1-4294967294</format>
            <description>Autonomous System Number</description>
          </valueHelp>
          <constraint>
            <validator name="numeric" argument="--range 1-4294967294"/>
          </constraint>
        </properties>
        <children>
          #include <include/bgp/bgp-common-config.xml.i>
        </children>
      </tagNode>
    </children>
  </node>
</interfaceDefinition>