diff options
| author | Nataliia Solomko <natalirs1985@gmail.com> | 2026-01-15 14:29:42 +0200 |
|---|---|---|
| committer | Nataliia Solomko <natalirs1985@gmail.com> | 2026-01-19 12:10:51 +0200 |
| commit | 8f0f9dad4eff0ab09ba168c16462f136eaa78410 (patch) | |
| tree | 418ffac02eeb37fc82774c0e572de0f295f4bfdf /smoketest/scripts/cli/test_vpp.py | |
| parent | 7fea6b6dbbd786bf6a32c496fc70ca9e9b5f8b1f (diff) | |
| download | vyos-1x-8f0f9dad4eff0ab09ba168c16462f136eaa78410.tar.gz vyos-1x-8f0f9dad4eff0ab09ba168c16462f136eaa78410.zip | |
pppoe-server: T8143: Set 'vpp-cp' option automatically if interface is in VPP
Diffstat (limited to 'smoketest/scripts/cli/test_vpp.py')
| -rwxr-xr-x | smoketest/scripts/cli/test_vpp.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/smoketest/scripts/cli/test_vpp.py b/smoketest/scripts/cli/test_vpp.py index 1886ac615..b1c57dd8c 100755 --- a/smoketest/scripts/cli/test_vpp.py +++ b/smoketest/scripts/cli/test_vpp.py @@ -1562,9 +1562,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() @@ -1572,6 +1571,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) |
