summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_vpp.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2026-01-27 09:17:42 -0600
committerGitHub <noreply@github.com>2026-01-27 09:17:42 -0600
commitf194c0e5c9284ae8e0a62d0515bce1d4843bf747 (patch)
tree403076cc0ee720e7640db602b705e72926c004f9 /smoketest/scripts/cli/test_vpp.py
parent0a619674e6ce46add5d1573399179c0d8e29456c (diff)
parent8f0f9dad4eff0ab09ba168c16462f136eaa78410 (diff)
downloadvyos-1x-f194c0e5c9284ae8e0a62d0515bce1d4843bf747.tar.gz
vyos-1x-f194c0e5c9284ae8e0a62d0515bce1d4843bf747.zip
Merge pull request #4945 from natali-rs1985/T8143
pppoe-server: T8143: Set 'vpp-cp' option automatically if interface is in VPP
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 16295a932..9723a79cd 100755
--- a/smoketest/scripts/cli/test_vpp.py
+++ b/smoketest/scripts/cli/test_vpp.py
@@ -1572,9 +1572,8 @@ class TestVPP(VyOSUnitTestSHIM.TestCase):
self.cli_set(pppoe_base + ['client-ip-pool', pool, 'range', '192.0.2.0/24'])
self.cli_set(pppoe_base + ['default-pool', pool])
- # Enable PPPoE control-plane integration with VPP
- self.cli_set(pppoe_base + ['interface', interface, 'vpp-cp'])
- self.cli_set(pppoe_base + ['interface', f'{interface}.{vni}', 'vpp-cp'])
+ self.cli_set(pppoe_base + ['interface', interface])
+ self.cli_set(pppoe_base + ['interface', f'{interface}.{vni}'])
self.cli_commit()
@@ -1582,6 +1581,7 @@ class TestVPP(VyOSUnitTestSHIM.TestCase):
config = read_file(config_file)
# Validate configuration
+ # PPPoE on VPP-managed interfaces automatically get control-plane integration
self.assertIn(f'interface={interface},vpp-cp=true', config)
self.assertIn(f'interface={interface}.{vni},vpp-cp=true', config)