summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/afi-rd.xml.i
blob: beb1447df8a3bf7c89eadc3311619dd6613f18cc (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
<!-- include start from bgp/afi-rd.xml.i -->
<node name="rd">
  <properties>
    <help>Specify route distinguisher</help>
  </properties>
  <children>
    <node name="vpn">
      <properties>
        <help>Between current address-family and VPN</help>
      </properties>
      <children>
        <leafNode name="export">
          <properties>
            <help>For routes leaked from current address-family to VPN</help>
            <valueHelp>
              <format>ASN:NN_OR_IP-ADDRESS:NN</format>
              <description>Route Distinguisher, (x.x.x.x:yyy|xxxx:yyyy)</description>
            </valueHelp>
            <constraint>
              <validator name="bgp-rd-rt" argument="--route-distinguisher"/>
            </constraint>
          </properties>
        </leafNode>
      </children>
    </node>
  </children>
</node>
<!-- include end -->