diff options
| author | Christian Breunig <christian@breunig.cc> | 2025-08-28 14:46:48 +0200 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2025-09-09 17:58:26 +0200 |
| commit | d871fe9c4c65de87232802ed54b263c9b2824391 (patch) | |
| tree | 85d9e15d9fad7ddba7bde3eae357a7a051fa3ca2 /interface-definitions/include/bgp | |
| parent | a4b72d3839f2ee05456b0677a8f2cc27c04a9423 (diff) | |
| download | vyos-1x-d871fe9c4c65de87232802ed54b263c9b2824391.tar.gz vyos-1x-d871fe9c4c65de87232802ed54b263c9b2824391.zip | |
bgp: T7760: deprecate per bgp vrf instance system-as node
Originating from the bug in T7665. To avoid potential issues down the line - and
given that there's no compelling technical reason to retain the system-as CLI
node under per-VRF BGP configuration, which cannot be achieved through
alternative means - the maintainers have collectively decided to deprecate the
following command:
set vrf name <name> protocols bgp system-as <asn>
Starting with VyOS 1.4.4, this CLI command will be considered deprecated. While
it will still be accepted, it will no longer have any operational effect. A
deprecation warning will be displayed at commit time, indicating that the BGP
ASN from the global BGP configuration is now used instead.
A migration script will handle the transition and perform the following actions:
* Ensure a global BGP configuration exists; if not, initialize one.
* Iterate over all configured VRFs to determine whether a BGP instance exists
* For any insance, update the configuration to use the global system-as
and apply the local-as ASN no-prepend replace-as option on all affected
neighbors to preserve existing behavior.
* If a neighbor is already configured with a local-as directive, that neighbor
will be excluded from the migration process, as it already follows a custom
configuration.
* Add allowas-in per neighbor option. Required to not deny prefix received
updates due to as-path contains our own global ASN.
Diffstat (limited to 'interface-definitions/include/bgp')
| -rw-r--r-- | interface-definitions/include/bgp/protocol-common-config.xml.i | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/interface-definitions/include/bgp/protocol-common-config.xml.i b/interface-definitions/include/bgp/protocol-common-config.xml.i index ab016884e..6c9424be5 100644 --- a/interface-definitions/include/bgp/protocol-common-config.xml.i +++ b/interface-definitions/include/bgp/protocol-common-config.xml.i @@ -1005,18 +1005,6 @@ </tagNode> </children> </node> -<leafNode name="system-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> |
