summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2026-04-16 14:48:24 +0100
committerGitHub <noreply@github.com>2026-04-16 14:48:24 +0100
commite4f8094d315114d23ea770c43b4cd3435b2566ad (patch)
tree15f7f8907c09a828dc662543274b06b9b6f305a9 /src
parentb7288119c09c8ea68501972ab8cc10091e6cc211 (diff)
parentf6e1ca0ffcff85d9734508a95753e87426b99047 (diff)
downloadvyos-1x-e4f8094d315114d23ea770c43b4cd3435b2566ad.tar.gz
vyos-1x-e4f8094d315114d23ea770c43b4cd3435b2566ad.zip
Merge pull request #5132 from natali-rs1985/T8505
vpp: T8505: Switch PPPoE bindings retrieval from CLI parsing to API call
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/service_pppoe-server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/service_pppoe-server.py b/src/conf_mode/service_pppoe-server.py
index 3ec4464c2..a26fe58b1 100755
--- a/src/conf_mode/service_pppoe-server.py
+++ b/src/conf_mode/service_pppoe-server.py
@@ -219,8 +219,8 @@ def apply(pppoe):
if 'vpp_ifaces' in pppoe:
vpp = VPPControl()
mapping = vpp.get_pppoe_interface_mapping()
- for dp_iface, cp_iface in mapping.items():
- vpp.delete_pppoe_mapping(dp_iface, cp_iface)
+ for dp_index, cp_index in mapping.items():
+ vpp.delete_pppoe_mapping(dp_index, cp_index)
if 'remove' in pppoe:
call(f'systemctl stop {systemd_service}')