summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/afi-label.xml.i
blob: f8cf57a9ccf308e31cf122e666385c7fea203a19 (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
<!-- include start from bgp/afi-label.xml.i -->
<node name="label">
  <properties>
    <help>Label value for VRF</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>
            <completionHelp>
              <list>auto</list>
            </completionHelp>
            <valueHelp>
              <format>auto</format>
              <description>Automatically assign a label</description>
            </valueHelp>
            <valueHelp>
              <format>u32:0-1048575</format>
              <description>Label Value</description>
            </valueHelp>
            <constraint>
              <validator name="numeric" argument="--range 0-1048575"/>
              <regex>^(auto)$</regex>
            </constraint>
          </properties>
        </leafNode>
      </children>
    </node>
  </children>
</node>
<!-- include end -->