diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-11-27 10:32:01 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-11-27 10:32:01 +0100 |
commit | 09064990b9e3ed0a19c1ca4257b385f92d25af2a (patch) | |
tree | 504c955dc1da1bcddf535559855ef084ee57b0b0 /smoketest/scripts/cli/test_protocols_ospfv3.py | |
parent | 2e9116e9661ce355dedf5f9d0a2afb1fdbedf786 (diff) | |
download | vyos-1x-09064990b9e3ed0a19c1ca4257b385f92d25af2a.tar.gz vyos-1x-09064990b9e3ed0a19c1ca4257b385f92d25af2a.zip |
ospfv3: T3753: adjust to CLI options new in FRR 8.0
Diffstat (limited to 'smoketest/scripts/cli/test_protocols_ospfv3.py')
-rwxr-xr-x | smoketest/scripts/cli/test_protocols_ospfv3.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/smoketest/scripts/cli/test_protocols_ospfv3.py b/smoketest/scripts/cli/test_protocols_ospfv3.py index c0673629e..8e12990d5 100755 --- a/smoketest/scripts/cli/test_protocols_ospfv3.py +++ b/smoketest/scripts/cli/test_protocols_ospfv3.py @@ -49,7 +49,7 @@ class TestProtocolsOSPFv3(VyOSUnitTestSHIM.TestCase): interfaces = Section.interfaces('ethernet') for interface in interfaces: - self.cli_set(base_path + ['area', default_area, 'interface', interface]) + self.cli_set(base_path + ['interface', interface, 'area', default_area]) # commit changes self.cli_commit() @@ -63,7 +63,8 @@ class TestProtocolsOSPFv3(VyOSUnitTestSHIM.TestCase): self.assertIn(f' area {default_area} export-list {acl_name}', frrconfig) for interface in interfaces: - self.assertIn(f' interface {interface} area {default_area}', frrconfig) + if_config = self.getFRRconfig(f'interface {interface}') + self.assertIn(f'ipv6 ospf6 area {default_area}', if_config) self.cli_delete(['policy', 'access-list6', acl_name]) |