summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli
diff options
context:
space:
mode:
authorOleksandr Kuchmystyi <o.kuchmystyi@vyos.io>2026-02-18 12:35:28 +0300
committerOleksandr Kuchmystyi <o.kuchmystyi@vyos.io>2026-02-18 16:16:32 +0300
commit45077f87eee6772839b9f0fabdf79a385d0b46f1 (patch)
treecb25d8dd386a3040840b8fa557ab375947981fd8 /smoketest/scripts/cli
parentfc94e37b6f3f2bffcea24d11c926f4536b449c16 (diff)
downloadvyos-1x-45077f87eee6772839b9f0fabdf79a385d0b46f1.tar.gz
vyos-1x-45077f87eee6772839b9f0fabdf79a385d0b46f1.zip
vpp: T8274: Remove dpdk-options section for num-* parameters
Remove `dpdk-options` under `set vpp settings interface <ethN>` and move its child options to the interface level: - `num-rx-desc` - `num-rx-queues` - `num-tx-desc` - `num-tx-queues` Also remove `set vpp settings interface <ethN> dpdk-options promisc`.
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-xsmoketest/scripts/cli/test_vpp.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/smoketest/scripts/cli/test_vpp.py b/smoketest/scripts/cli/test_vpp.py
index e6264bbfc..1e079b2ca 100755
--- a/smoketest/scripts/cli/test_vpp.py
+++ b/smoketest/scripts/cli/test_vpp.py
@@ -905,7 +905,7 @@ class TestVPP(VyOSUnitTestSHIM.TestCase):
# Add check dependency ethernet => bridge
self.cli_set(
- base_path + ['settings', 'interface', interface, 'dpdk-options', 'promisc']
+ base_path + ['settings', 'interface', interface, 'num-rx-desc', '512']
)
self.cli_commit()
# check bridge interface
@@ -1128,7 +1128,7 @@ class TestVPP(VyOSUnitTestSHIM.TestCase):
self.assertNotIn(required_string, out)
def test_10_vpp_driver_options(self):
- dpdk_options = {
+ driver_options = {
'num-rx-desc': '512',
'num-tx-desc': '512',
'num-rx-queues': '2',
@@ -1138,8 +1138,8 @@ class TestVPP(VyOSUnitTestSHIM.TestCase):
base_interface_path = base_path + ['settings', 'interface', interface]
- for option, value in dpdk_options.items():
- self.cli_set(base_interface_path + ['dpdk-options', option, value])
+ for option, value in driver_options.items():
+ self.cli_set(base_interface_path + [option, value])
# rx/tx queue configuration expect VPP workers to be set
# expect raise ConfigError
@@ -1165,7 +1165,7 @@ class TestVPP(VyOSUnitTestSHIM.TestCase):
# check dpdk options in config file
config = read_file(VPP_CONF)
- for option, value in dpdk_options.items():
+ for option, value in driver_options.items():
self.assertIn(f'{option} {value}', config)
def test_11_vpp_cpu_cores(self):
@@ -1552,7 +1552,7 @@ class TestVPP(VyOSUnitTestSHIM.TestCase):
# check if dependency is called and mapping is correct after changes in vpp script
self.cli_set(
- base_path + ['settings', 'interface', interface, 'dpdk-options', 'promisc']
+ base_path + ['settings', 'interface', interface, 'num-tx-desc', '512']
)
self.cli_commit()