summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_protocols_static_multicast.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2025-05-04 21:48:32 +0200
committerChristian Breunig <christian@breunig.cc>2025-05-05 17:22:57 +0200
commitc05edd62cf1120fb14b66ca0377061a59a9d00db (patch)
tree7ba192112e1b7f9b73abd543cbd65232a62e40fb /smoketest/scripts/cli/test_protocols_static_multicast.py
parent40a99b1d00d822ef6f1a3772768919d14c3500d9 (diff)
downloadvyos-1x-c05edd62cf1120fb14b66ca0377061a59a9d00db.tar.gz
vyos-1x-c05edd62cf1120fb14b66ca0377061a59a9d00db.zip
pki: T7122: extend ca/certificate removal check to lists
Some VyOS CLI nodes support defining multiple certificates. The previous check when removing a certificate from the CLI only performed a string comparison, which failed in cases where the underlying data was a list (CLI <multi/> node). This update extends the check to handle both cases: - If the datum is a string, perform a string comparison. - If the datum is a list, check whether the target certificate is part of the list. This ensures proper removal behavior regardless of the data type used in the CLI node.
Diffstat (limited to 'smoketest/scripts/cli/test_protocols_static_multicast.py')
0 files changed, 0 insertions, 0 deletions