summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols-vrf.xml.in
blob: 77297938b1d5ae1d67682bdda2e47f0522c51634 (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
<?xml version="1.0" encoding="utf-8"?>
<interfaceDefinition>
  <node name="protocols">
    <children>
       <tagNode name="vrf" owner="${vyos_conf_scripts_dir}/protocols_vrf.py">
        <properties>
          <help>Name of VRF to add route for</help>
          <completionHelp>
            <path>vrf name</path>
          </completionHelp>
          <valueHelp>
            <format>txt</format>
            <description>VRF instance name</description>
          </valueHelp>
          <constraint>
            <validator name="vrf-name"/>
          </constraint>
          <constraintErrorMessage>VRF instance name must be 15 characters or less and can not\nbe named as regular network interfaces.\n</constraintErrorMessage>
        </properties>
        <children>
          <node name="static">
            <properties>
              <help>Static route parameters</help>
            </properties>
            <children>
              #include <include/static-route.xml.i>
              #include <include/static-route6.xml.i>
            </children>
          </node>
          #include <include/vni.xml.i>
        </children>
      </tagNode>
    </children>
  </node>
</interfaceDefinition>