diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-03-29 20:15:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-29 20:15:22 +0200 |
commit | 0c13a4fa454926f9891450b12ffc34ef7c54d523 (patch) | |
tree | 52b0edd946c39b9d86a5f76b259dbd864ba31914 /interface-definitions/include/bgp/bgp-common-config.xml.i | |
parent | 63fe6b566ad38041aedc80ebc318af01566754a1 (diff) | |
parent | 73557d68b1cb54714fc0c3652a9ab29559da00ee (diff) | |
download | vyos-1x-0c13a4fa454926f9891450b12ffc34ef7c54d523.tar.gz vyos-1x-0c13a4fa454926f9891450b12ffc34ef7c54d523.zip |
Merge pull request #793 from c-po/bgp-cli
bgp: T1711: remove ASN tagNode and move to "local-as"
Diffstat (limited to 'interface-definitions/include/bgp/bgp-common-config.xml.i')
-rw-r--r-- | interface-definitions/include/bgp/bgp-common-config.xml.i | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/interface-definitions/include/bgp/bgp-common-config.xml.i b/interface-definitions/include/bgp/bgp-common-config.xml.i index ae0e8b178..c89e2288e 100644 --- a/interface-definitions/include/bgp/bgp-common-config.xml.i +++ b/interface-definitions/include/bgp/bgp-common-config.xml.i @@ -280,7 +280,7 @@ </node>
<node name="listen">
<properties>
- <help>Listen for and accept BGP dynamic neighbors from range</help>
+ <help>BGP dynamic neighbors listen commands</help>
</properties>
<children>
<leafNode name="limit">
@@ -297,7 +297,7 @@ </leafNode>
<tagNode name="range">
<properties>
- <help>BGP dynamic neighbors listen range</help>
+ <help>Dynamic neighbors listen range</help>
<valueHelp>
<format>ipv4net</format>
<description>IPv4 dynamic neighbors listen range</description>
@@ -317,6 +317,18 @@ </tagNode>
</children>
</node>
+<leafNode name="local-as">
+ <properties>
+ <help>Autonomous System Number (ASN)</help>
+ <valueHelp>
+ <format>u32:1-4294967294</format>
+ <description>Autonomous System Number</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-4294967294"/>
+ </constraint>
+ </properties>
+</leafNode>
<tagNode name="neighbor">
<properties>
<help>BGP neighbor</help>
|