summaryrefslogtreecommitdiff
path: root/smoketest
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-08-04 08:28:08 +0200
committerChristian Poessinger <christian@poessinger.com>2022-08-15 18:00:56 +0200
commitae139a68883caae9591e6ce17674e41d9e65c836 (patch)
tree9860e0db828aeb55bcca0818d0607a064a9fc908 /smoketest
parent99777682f8bc67d8da8eaea00cde7818cf15c9ea (diff)
downloadvyos-1x-ae139a68883caae9591e6ce17674e41d9e65c836.tar.gz
vyos-1x-ae139a68883caae9591e6ce17674e41d9e65c836.zip
smoketest: macsec: T4537: verify macsec_csindex
(cherry picked from commit 17e76dc77801ac58b2587f664c884c0d671a55c0)
Diffstat (limited to 'smoketest')
-rwxr-xr-xsmoketest/scripts/cli/test_interfaces_macsec.py4
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 5b10bfa44..39b07dc06 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)