From: Jeremy Spewock <[email protected]>
The previous method would send the command `tx_vlan set <port_id>` when
the correct command is `tx_vlan reset <port_id>`.
Fixes: a49d9da1e9a5 ("dts: add VLAN methods to testpmd shell")
Cc: [email protected]
depends-on: patch-142103 ("dts: add VLAN methods to testpmd shell")
Signed-off-by: Jeremy Spewock <[email protected]>
---
dts/framework/remote_session/testpmd_shell.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dts/framework/remote_session/testpmd_shell.py
b/dts/framework/remote_session/testpmd_shell.py
index 09d3bda5d6..a8b6a054b5 100644
--- a/dts/framework/remote_session/testpmd_shell.py
+++ b/dts/framework/remote_session/testpmd_shell.py
@@ -994,7 +994,7 @@ def tx_vlan_reset(self, port: int, verify: bool = True):
InteractiveCommandExecutionError: If `verify` is :data:`True` and
the insertion
tag is not reset.
"""
- vlan_insert_output = self.send_command(f"tx_vlan set {port}")
+ vlan_insert_output = self.send_command(f"tx_vlan reset {port}")
if verify:
if "Please stop port" in vlan_insert_output or "Invalid port" in
vlan_insert_output:
self._logger.debug(
--
2.45.2