diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-03-08 19:38:11 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-03-08 19:38:11 +0100 |
commit | ab6ef466c128ba48f85b13ba8d4be1476e844726 (patch) | |
tree | f55c9e16ae09d7f4088906d1b6c876493ac690c1 /smoketest | |
parent | 87bbe75152e3e0625776587c1fd4cd7104319fe1 (diff) | |
download | vyos-1x-ab6ef466c128ba48f85b13ba8d4be1476e844726.tar.gz vyos-1x-ab6ef466c128ba48f85b13ba8d4be1476e844726.zip |
bgp: T3391: migrate old IPv4 only maximum-paths config to new syntax
Diffstat (limited to 'smoketest')
-rw-r--r-- | smoketest/configs/bgp-big-as-cloud | 4 | ||||
-rwxr-xr-x | smoketest/scripts/cli/test_protocols_bgp.py | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/smoketest/configs/bgp-big-as-cloud b/smoketest/configs/bgp-big-as-cloud index df3ae015c..694243d1e 100644 --- a/smoketest/configs/bgp-big-as-cloud +++ b/smoketest/configs/bgp-big-as-cloud @@ -1186,6 +1186,10 @@ protocols { } } } + maximum-paths { + ebgp 8 + ibgp 16 + } neighbor 192.0.16.209 { address-family { ipv4-unicast { diff --git a/smoketest/scripts/cli/test_protocols_bgp.py b/smoketest/scripts/cli/test_protocols_bgp.py index f22b47551..9aa1541cf 100755 --- a/smoketest/scripts/cli/test_protocols_bgp.py +++ b/smoketest/scripts/cli/test_protocols_bgp.py @@ -237,10 +237,10 @@ class TestProtocolsBGP(unittest.TestCase): self.session.set(base_path + ['parameters', 'ebgp-requires-policy']) # AFI maximum path support - self.session.set(base_path + ['address-family', 'ipv4-unicast', 'maximum-paths', max_path_v4]) - self.session.set(base_path + ['address-family', 'ipv4-unicast', 'maximum-paths-ibgp', max_path_v4ibgp]) - self.session.set(base_path + ['address-family', 'ipv6-unicast', 'maximum-paths', max_path_v6]) - self.session.set(base_path + ['address-family', 'ipv6-unicast', 'maximum-paths-ibgp', max_path_v6ibgp]) + self.session.set(base_path + ['address-family', 'ipv4-unicast', 'maximum-paths', 'ebgp', max_path_v4]) + self.session.set(base_path + ['address-family', 'ipv4-unicast', 'maximum-paths', 'ibgp', max_path_v4ibgp]) + self.session.set(base_path + ['address-family', 'ipv6-unicast', 'maximum-paths', 'ebgp', max_path_v6]) + self.session.set(base_path + ['address-family', 'ipv6-unicast', 'maximum-paths', 'ibgp', max_path_v6ibgp]) # commit changes self.session.commit() |