summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/neighbor-local-as.xml.i
blob: 8868e30935e61ba1811442db08a11ede7756a7b1 (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
<!-- include start from bgp/neighbor-local-as.xml.i -->
<tagNode name="local-as">
  <properties>
    <help>Specify alternate ASN for this BGP process</help>
    <valueHelp>
      <format>u32:1-4294967294</format>
      <description>Autonomous System Number (ASN)</description>
    </valueHelp>
    <constraint>
      <validator name="numeric" argument="--range 1-4294967294"/>
    </constraint>
  </properties>
  <children>
    <node name="no-prepend">
      <properties>
        <help>Disable prepending local-as from/to updates for eBGP peers</help>
      </properties>
      <children>
        <leafNode name="replace-as">
          <properties>
            <help>Prepend only local-as from/to updates for eBGP peers</help>
            <valueless/>
          </properties>
        </leafNode>
      </children>
    </node>
  </children>
</tagNode>
<!-- include end -->