summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_vpp.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-10-31 11:51:09 +0100
committerGitHub <noreply@github.com>2026-10-31 11:51:09 +0100
commitdfd2b46ff41af4edf2fd4a2a1b9fae1efe48c145 (patch)
tree9c5538ea145c2a869bdf379398219aa74730bd86 /smoketest/scripts/cli/test_vpp.py
parentc15665309e2991e6de5f99bf375de83d167c4248 (diff)
parent6bef88ed9c11210855689bd78a39ee032fb27731 (diff)
downloadvyos-1x-dfd2b46ff41af4edf2fd4a2a1b9fae1efe48c145.tar.gz
vyos-1x-dfd2b46ff41af4edf2fd4a2a1b9fae1efe48c145.zip
Merge pull request #5479 from c-po/T3871-ifname-store
T3871: bind interface names to hardware slots instead of hw-id
Diffstat (limited to 'smoketest/scripts/cli/test_vpp.py')
-rwxr-xr-xsmoketest/scripts/cli/test_vpp.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/smoketest/scripts/cli/test_vpp.py b/smoketest/scripts/cli/test_vpp.py
index 9eb446615..87b901ffd 100755
--- a/smoketest/scripts/cli/test_vpp.py
+++ b/smoketest/scripts/cli/test_vpp.py
@@ -141,7 +141,7 @@ class TestVPP(VyOSUnitTestSHIM.TestCase):
cls.cli_delete(cls, base_path)
cls.cli_delete(cls, interfaces_path)
# drop any pre-existing custom MAC so the MAC test baseline is the
- # interface hardware address (hw-id)
+ # interface's own hardware address
cls.cli_delete(cls, ['interfaces', 'ethernet', interface, 'mac'])
# drop any pre-existing MTU so tests start from the default MTU
cls.cli_delete(cls, ['interfaces', 'ethernet', interface, 'mtu'])
@@ -280,7 +280,7 @@ class TestVPP(VyOSUnitTestSHIM.TestCase):
self.cli_discard()
# A custom MAC address must reach the VPP dataplane, and removing it must
- # restore the hardware address (hw-id). Rejection of drivers that cannot
+ # restore the hardware address. Rejection of drivers that cannot
# change the MAC (e.g. vmxnet3) is not covered here, as the CI dataplane
# NIC uses a supported driver.
hw_mac = VPPControl().get_mac(interface)
@@ -289,7 +289,7 @@ class TestVPP(VyOSUnitTestSHIM.TestCase):
self.cli_commit()
self.assertEqual(VPPControl().get_mac(interface), mac)
- # removing the custom MAC reverts to the hardware address (hw-id)
+ # removing the custom MAC reverts to the hardware address
self.cli_delete(['interfaces', 'ethernet', interface, 'mac'])
self.cli_commit()
self.assertEqual(VPPControl().get_mac(interface), hw_mac)