summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/remote-as.xml.i
blob: 79d3b95a90c923ef79558d206d26e35009056761 (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
<!-- include start from bgp/remote-as.xml.i -->
<leafNode name="remote-as">
  <properties>
    <help>Neighbor BGP AS number</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>
<!-- include end -->