summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-09-03 20:44:42 +0200
committerChristian Poessinger <christian@poessinger.com>2021-09-03 20:44:42 +0200
commit5f1c1ae4770fe36b5290f34d2f3a248c6b1a0ddb (patch)
treed468b57f4eb32ebdec321319b8a5e3dbed209146 /interface-definitions/include/bgp
parent6ad00236d7eae942c480825384fdd8a032944da8 (diff)
downloadvyos-1x-5f1c1ae4770fe36b5290f34d2f3a248c6b1a0ddb.tar.gz
vyos-1x-5f1c1ae4770fe36b5290f34d2f3a248c6b1a0ddb.zip
bgp: T3798: add support for neighbor local-as <n> replace-as
Diffstat (limited to 'interface-definitions/include/bgp')
-rw-r--r--interface-definitions/include/bgp/neighbor-local-as.xml.i12
1 files changed, 9 insertions, 3 deletions
diff --git a/interface-definitions/include/bgp/neighbor-local-as.xml.i b/interface-definitions/include/bgp/neighbor-local-as.xml.i
index 28c6b72b6..8cf0167fd 100644
--- a/interface-definitions/include/bgp/neighbor-local-as.xml.i
+++ b/interface-definitions/include/bgp/neighbor-local-as.xml.i
@@ -1,10 +1,10 @@
<!-- include start from bgp/neighbor-local-as.xml.i -->
<tagNode name="local-as">
<properties>
- <help>Local AS number [REQUIRED]</help>
+ <help>Specify alternate ASN for this BGP process</help>
<valueHelp>
<format>u32:1-4294967294</format>
- <description>Local AS number</description>
+ <description>Autonomous System Number (ASN)</description>
</valueHelp>
<constraint>
<validator name="numeric" argument="--range 1-4294967294"/>
@@ -13,7 +13,13 @@
<children>
<leafNode name="no-prepend">
<properties>
- <help>Disable prepending local-as to updates from EBGP peers</help>
+ <help>Disable prepending local-as from/to updates for eBGP peers</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <leafNode name="replace-as">
+ <properties>
+ <help>Prepend only local-as from/to updates for eBGP peers</help>
<valueless/>
</properties>
</leafNode>