summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/bgp-remote-as.xml.i
blob: de3f4d2adfc1ce37b84503ab2cf6b7132135b917 (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
<!-- included start from bgp-remote-as.xml.i -->
<leafNode name="remote-as">
  <properties>
    <help>Neighbor BGP AS number [REQUIRED]</help>
    <completionHelp>
      <list>external internal</list>
    </completionHelp>
    <valueHelp>
      <format>u32:1-4294967294</format>
      <description>Neighbor AS number</description>
    </valueHelp>
    <valueHelp>
      <format>external</format>
      <description>Any AS different from the local AS</description>
    </valueHelp>
    <valueHelp>
      <format>internal</format>
      <description>Neighbor AS number</description>
    </valueHelp>
    <constraint>
      <validator name="numeric" argument="--range 1-4294967294"/>
      <regex>^(external|internal)$</regex>
    </constraint>
    <constraintErrorMessage>Invalid AS number</constraintErrorMessage>
  </properties>
</leafNode>
<!-- included end -->