summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli
diff options
context:
space:
mode:
authorKyrylo Yatsenko <hedrok@gmail.com>2025-12-28 17:21:11 +0200
committerKyrylo Yatsenko <hedrok@gmail.com>2026-01-12 23:17:50 +0200
commit2471f686979fd83bd015f124b6faa66f27b8c9ba (patch)
tree8cad7c97dc73393e387d99aaf677b588d189758d /smoketest/scripts/cli
parente8080f2412a0eeeeea40f12c164213468bca1957 (diff)
downloadvyos-1x-2471f686979fd83bd015f124b6faa66f27b8c9ba.tar.gz
vyos-1x-2471f686979fd83bd015f124b6faa66f27b8c9ba.zip
T7664: ip protocol 'kernel' etc removed
In FRR 10.5 ip protocols * connected * kernel * local * table * table-direct are removed. First three in fb8e399e4f66d09780f176fbecb99168089e64eb, table* in 7fd030504be060387694e8a2af7f19ddd7dee39d. In `ip protocols`, `ipv6 protocols` and `vrf` VyOS supports * connected * kernel * table Remove these from CLI, add migration scripts, update tests.
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-xsmoketest/scripts/cli/test_system_ip.py3
-rwxr-xr-xsmoketest/scripts/cli/test_system_ipv6.py3
-rwxr-xr-xsmoketest/scripts/cli/test_vrf.py4
3 files changed, 4 insertions, 6 deletions
diff --git a/smoketest/scripts/cli/test_system_ip.py b/smoketest/scripts/cli/test_system_ip.py
index 3784d4630..25dbeef1d 100755
--- a/smoketest/scripts/cli/test_system_ip.py
+++ b/smoketest/scripts/cli/test_system_ip.py
@@ -83,8 +83,7 @@ class TestSystemIP(VyOSUnitTestSHIM.TestCase):
_verify_gc_thres(size)
def test_system_ip_protocol_route_map(self):
- protocols = ['any', 'babel', 'bgp', 'connected', 'eigrp', 'isis',
- 'kernel', 'ospf', 'rip', 'static', 'table']
+ protocols = ['any', 'babel', 'bgp', 'eigrp', 'isis', 'ospf', 'rip', 'static']
rule_num = '10'
diff --git a/smoketest/scripts/cli/test_system_ipv6.py b/smoketest/scripts/cli/test_system_ipv6.py
index 0f94765bd..f7d74eb58 100755
--- a/smoketest/scripts/cli/test_system_ipv6.py
+++ b/smoketest/scripts/cli/test_system_ipv6.py
@@ -97,8 +97,7 @@ class TestSystemIPv6(VyOSUnitTestSHIM.TestCase):
_verify_gc_thres(size)
def test_system_ipv6_protocol_route_map(self):
- protocols = ['any', 'babel', 'bgp', 'connected', 'isis',
- 'kernel', 'ospfv3', 'ripng', 'static', 'table']
+ protocols = ['any', 'babel', 'bgp', 'isis', 'ospfv3', 'ripng', 'static']
for protocol in protocols:
route_map = 'route-map-' + protocol.replace('ospfv3', 'ospf6')
diff --git a/smoketest/scripts/cli/test_vrf.py b/smoketest/scripts/cli/test_vrf.py
index 468b859c3..fee5312e8 100755
--- a/smoketest/scripts/cli/test_vrf.py
+++ b/smoketest/scripts/cli/test_vrf.py
@@ -40,8 +40,8 @@ from vyos.xml_ref import default_value
base_path = ['vrf']
vrfs = ['red', 'green', 'blue', 'foo-bar', 'baz_foo']
-v4_protocols = ['any', 'babel', 'bgp', 'connected', 'eigrp', 'isis', 'kernel', 'ospf', 'rip', 'static', 'table']
-v6_protocols = ['any', 'babel', 'bgp', 'connected', 'isis', 'kernel', 'ospfv3', 'ripng', 'static', 'table']
+v4_protocols = ['any', 'babel', 'bgp', 'eigrp', 'isis', 'ospf', 'rip', 'static']
+v6_protocols = ['any', 'babel', 'bgp', 'isis', 'ospfv3', 'ripng', 'static']
class VRFTest(VyOSUnitTestSHIM.TestCase):
_interfaces = []