summaryrefslogtreecommitdiff
path: root/scripts/cli/test_interfaces_pppoe.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-08-23 01:16:03 +0200
committerChristian Poessinger <christian@poessinger.com>2020-08-23 01:16:07 +0200
commit87693ce61819b82b6496cdde3d59835aa81cf6a9 (patch)
tree9cc7ed9bfdde450ebf030ad618a8c3814554b625 /scripts/cli/test_interfaces_pppoe.py
parent7f0b0d87ee57518801e312f27e18b90b487dd9c5 (diff)
downloadvyos-1x-87693ce61819b82b6496cdde3d59835aa81cf6a9.tar.gz
vyos-1x-87693ce61819b82b6496cdde3d59835aa81cf6a9.zip
pppoe: sync to new dhcpv6-pd cli
Diffstat (limited to 'scripts/cli/test_interfaces_pppoe.py')
-rwxr-xr-xscripts/cli/test_interfaces_pppoe.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/cli/test_interfaces_pppoe.py b/scripts/cli/test_interfaces_pppoe.py
index d2f6c9b16..7e26b7dac 100755
--- a/scripts/cli/test_interfaces_pppoe.py
+++ b/scripts/cli/test_interfaces_pppoe.py
@@ -111,11 +111,10 @@ class PPPoEInterfaceTest(unittest.TestCase):
self.session.set(base_path + [interface, 'ipv6', 'enable'])
# prefix delegation stuff
- dhcpv6_pd_base = base_path + [interface, 'dhcpv6-options', 'prefix-delegation']
+ dhcpv6_pd_base = base_path + [interface, 'dhcpv6-options', 'pd', '0']
self.session.set(dhcpv6_pd_base + ['length', '56'])
self.session.set(dhcpv6_pd_base + ['interface', self._source_interface, 'address', address])
self.session.set(dhcpv6_pd_base + ['interface', self._source_interface, 'sla-id', sla_id])
- self.session.set(dhcpv6_pd_base + ['interface', self._source_interface, 'sla-len', sla_len])
# commit changes
self.session.commit()