summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2025-09-09 17:57:44 +0200
committerChristian Breunig <christian@breunig.cc>2025-09-09 17:59:58 +0200
commit85fe32f0e1a91a47fe4a6d4a5cdd6ac516dcc3b9 (patch)
tree868bdd44337a9927bab1dfe543c26056344e30e1 /src/conf_mode
parentd871fe9c4c65de87232802ed54b263c9b2824391 (diff)
downloadvyos-1x-85fe32f0e1a91a47fe4a6d4a5cdd6ac516dcc3b9.tar.gz
vyos-1x-85fe32f0e1a91a47fe4a6d4a5cdd6ac516dcc3b9.zip
bgp: T7760: remove per vrf instance system-as node
VyOS 1.5 and onwards will no longer have the following CLI node available: set vrf name <name> protocols bgp system-as <asn>
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/protocols_bgp.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/conf_mode/protocols_bgp.py b/src/conf_mode/protocols_bgp.py
index ab0e7e44a..4e7f09d0e 100755
--- a/src/conf_mode/protocols_bgp.py
+++ b/src/conf_mode/protocols_bgp.py
@@ -18,7 +18,6 @@ from sys import exit
from sys import argv
from vyos.base import Warning
-from vyos.base import DeprecationWarning
from vyos.config import Config
from vyos.configverify import has_frr_protocol_in_dict
from vyos.configverify import verify_prefix_list
@@ -219,13 +218,6 @@ def verify(config_dict):
if not system_as:
raise ConfigError(ERR_MSG_GLOBAL_VRF_AS_MISSING)
- if 'system_as' in bgp:
- tmp_as = bgp['system_as']
- DeprecationWarning(f'CLI command "vrf name {vrf} protocols bgp system-as ' \
- f'{tmp_as}" is ignored and will be removed in VyOS 1.5! ' \
- f'\n\nGlobal "protocols bgp system-as {system_as}" option ' \
- 'applies, use per neighbor "local-as" option to override.')
-
elif 'system_as' not in bgp:
raise ConfigError(ERR_MSG_GLOBAL_VRF_AS_MISSING)