diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-02-14 17:25:37 +0100 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-02-14 17:28:13 +0100 |
| commit | ab888b9d959a894e280fa83d01a935f16bdd10f1 (patch) | |
| tree | 1a07819dc016edb0c2eaddc8e1f2558958171310 /smoketest/scripts/cli | |
| parent | d6fdf9db8497164921afb28abc22f1c7bcd18f52 (diff) | |
| download | vyos-1x-ab888b9d959a894e280fa83d01a935f16bdd10f1.tar.gz vyos-1x-ab888b9d959a894e280fa83d01a935f16bdd10f1.zip | |
bgp: T7984: add CLI support for "neighbor <N> remote-as auto"
FRR implemented a new know to learn the peers remote ASN from the BGP OPEN
message from https://github.com/FRRouting/frr/pull/16345.
Diffstat (limited to 'smoketest/scripts/cli')
| -rwxr-xr-x | smoketest/scripts/cli/test_protocols_bgp.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/smoketest/scripts/cli/test_protocols_bgp.py b/smoketest/scripts/cli/test_protocols_bgp.py index 06377eee3..edd797cf6 100755 --- a/smoketest/scripts/cli/test_protocols_bgp.py +++ b/smoketest/scripts/cli/test_protocols_bgp.py @@ -40,7 +40,7 @@ bfd_profile = 'foo-bar-baz' import_afi = 'ipv4-unicast' import_vrf = 'red' -import_rd = ASN + ':100' +import_rd = f'{ASN}:100' import_vrf_base = ['vrf', 'name'] neighbor_config = { '192.0.2.1' : { @@ -64,7 +64,7 @@ neighbor_config = { }, '192.0.2.2' : { 'bfd_profile' : bfd_profile, - 'remote_as' : '200', + 'remote_as' : 'auto', 'shutdown' : '', 'no_cap_nego' : '', 'port' : '667', @@ -111,7 +111,7 @@ neighbor_config = { 'local_role_strict': '', }, '2001:db8::2' : { - 'remote_as' : '456', + 'remote_as' : 'auto', 'shutdown' : '', 'no_cap_nego' : '', 'port' : '667', @@ -141,7 +141,7 @@ peer_group_config = { 'p_attr_discard' : ['100', '150', '200'], }, 'bar' : { - 'remote_as' : '111', + 'remote_as' : 'auto', 'graceful_rst_no' : '', 'port' : '667', 'p_attr_taw' : '126', |
