diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-08-04 08:28:08 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-08-04 08:28:08 +0200 |
commit | 17e76dc77801ac58b2587f664c884c0d671a55c0 (patch) | |
tree | 5bbe29cfe85a4b1ca820756de66cff98efb3ac7d /smoketest | |
parent | e199ae2dd5636f9177234bb05b77f4a0c9543428 (diff) | |
download | vyos-1x-17e76dc77801ac58b2587f664c884c0d671a55c0.tar.gz vyos-1x-17e76dc77801ac58b2587f664c884c0d671a55c0.zip |
smoketest: macsec: T4537: verify macsec_csindex
Diffstat (limited to 'smoketest')
-rwxr-xr-x | smoketest/scripts/cli/test_interfaces_macsec.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_macsec.py b/smoketest/scripts/cli/test_interfaces_macsec.py index e5e5a558e..ca70e2c18 100755 --- a/smoketest/scripts/cli/test_interfaces_macsec.py +++ b/smoketest/scripts/cli/test_interfaces_macsec.py @@ -104,6 +104,10 @@ class MACsecInterfaceTest(BasicInterfaceTest.TestCase): tmp = get_config_value(src_interface, 'mka_ckn') self.assertTrue(mak_ckn in tmp) + # check that we use the new macsec_csindex option (T4537) + tmp = get_config_value(src_interface, 'macsec_csindex') + self.assertTrue("1" in tmp) + # check that the default priority of 255 is programmed tmp = get_config_value(src_interface, 'mka_priority') self.assertTrue("255" in tmp) |