tests: use v3 version of session sdl dump api in ip6 test

- session_sdl_v2_dump api command is deprecated

Type: fix

Change-Id: I4f7a140e7e39fae8076caa54fd8bfb0c755c6767
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
This commit is contained in:
Dave Wallace 2024-11-19 22:32:02 -05:00 committed by Florin Coras
parent 41ac8ee88f
commit 75c67ac5db

View File

@ -234,7 +234,7 @@ class TestSessionSDL(VppTestCase):
self.create_rule(rmt=self.loop1.local_ip6 + "/128", action_index=0, tag="")
)
self.apply_rules(rules, is_add=1, appns_index=0)
filter = self.vapi.session_sdl_v2_dump()
filter = self.vapi.session_sdl_v3_dump()
self.assertEqual(filter[0].rmt, IPv6Network(self.loop1.local_ip6 + "/128"))
error = self.vapi.cli_return_response(client_cmd)