summaryrefslogtreecommitdiff
path: root/interface-definitions/include/static/static-route6.xml.i
blob: 6fcc18b8a1532052c20ed7e7ec9379eb8aef68e8 (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
<!-- include start from static/static-route6.xml.i -->
<tagNode name="route6">
  <properties>
    <help>Static IPv6 route</help>
    <valueHelp>
      <format>ipv6net</format>
      <description>IPv6 static route</description>
    </valueHelp>
    <constraint>
      <validator name="ipv6-prefix"/>
    </constraint>
  </properties>
  <children>
    #include <include/static/static-route-blackhole.xml.i>
    #include <include/static/static-route-reject.xml.i>
    #include <include/generic-description.xml.i>
    <tagNode name="interface">
      <properties>
        <help>IPv6 gateway interface name</help>
        <completionHelp>
          <script>${vyos_completion_dir}/list_interfaces</script>
        </completionHelp>
        <valueHelp>
          <format>txt</format>
          <description>Gateway interface name</description>
        </valueHelp>
        <constraint>
          #include <include/constraint/interface-name.xml.i>
        </constraint>
      </properties>
      <children>
        #include <include/generic-disable-node.xml.i>
        #include <include/static/static-route-distance.xml.i>
        #include <include/static/static-route-segments.xml.i>
        #include <include/static/static-route-vrf.xml.i>
      </children>
    </tagNode>
    <tagNode name="next-hop">
      <properties>
        <help>IPv6 gateway address</help>
        <valueHelp>
          <format>ipv6</format>
          <description>Next-hop IPv6 router</description>
        </valueHelp>
        <constraint>
          <validator name="ipv6-address"/>
        </constraint>
      </properties>
      <children>
        #include <include/generic-disable-node.xml.i>
        #include <include/static/static-route-distance.xml.i>
        #include <include/static/static-route-interface.xml.i>
        #include <include/static/static-route-segments.xml.i>
        #include <include/static/static-route-vrf.xml.i>
        <node name="bfd">
          <properties>
            <help>BFD monitoring</help>
          </properties>
          <children>
            #include <include/bfd/profile.xml.i>
            <node name="multi-hop">
              <properties>
                <help>Configure BFD multi-hop session</help>
              </properties>
              <children>
                #include <include/source-address-ipv6.xml.i>
              </children>
            </node>
          </children>
        </node>
      </children>
    </tagNode>
  </children>
</tagNode>
<!-- include end -->