summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/neighbor-local-as.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/bgp/neighbor-local-as.xml.i')
-rw-r--r--interface-definitions/include/bgp/neighbor-local-as.xml.i29
1 files changed, 29 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp/neighbor-local-as.xml.i b/interface-definitions/include/bgp/neighbor-local-as.xml.i
new file mode 100644
index 0000000..8868e30
--- /dev/null
+++ b/interface-definitions/include/bgp/neighbor-local-as.xml.i
@@ -0,0 +1,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 -->