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.i22
1 files changed, 22 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 000000000..28c6b72b6
--- /dev/null
+++ b/interface-definitions/include/bgp/neighbor-local-as.xml.i
@@ -0,0 +1,22 @@
+<!-- include start from bgp/neighbor-local-as.xml.i -->
+<tagNode name="local-as">
+ <properties>
+ <help>Local AS number [REQUIRED]</help>
+ <valueHelp>
+ <format>u32:1-4294967294</format>
+ <description>Local AS number</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-4294967294"/>
+ </constraint>
+ </properties>
+ <children>
+ <leafNode name="no-prepend">
+ <properties>
+ <help>Disable prepending local-as to updates from EBGP peers</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+</tagNode>
+<!-- include end -->