summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/bgp-remote-as.xml.i
blob: f036fe13d1acfc9a4a33be3cd0afb2bdaba1a2cd (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 [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>
<!-- include end -->