diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/cli/test_interfaces_pppoe.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/cli/test_interfaces_pppoe.py b/scripts/cli/test_interfaces_pppoe.py index 0ad50a2bc..3c11da795 100755 --- a/scripts/cli/test_interfaces_pppoe.py +++ b/scripts/cli/test_interfaces_pppoe.py @@ -108,6 +108,7 @@ class PPPoEInterfaceTest(unittest.TestCase): self.session.set(base_path + [interface, 'default-route', 'none']) self.session.set(base_path + [interface, 'no-peer-dns']) self.session.set(base_path + [interface, 'source-interface', self._source_interface]) + self.session.set(base_path + [interface, 'ipv6', 'enable']) # prefix delegation stuff dhcpv6_pd_base = base_path + [interface, 'dhcpv6-options', 'prefix-delegation'] @@ -127,6 +128,10 @@ class PPPoEInterfaceTest(unittest.TestCase): tmp = get_config_value(interface, 'password')[1].replace('"', '') self.assertTrue(tmp in 'vyos') + for param in ['+ipv6', 'ipv6cp-use-ipaddr']: + tmp = get_config_value(interface, param)[0] + self.assertTrue(tmp in param) + # verify DHCPv6 prefix delegation # will return: ['delegation', '::/56 infinity;'] tmp = get_dhcp6c_config_value(interface, 'prefix')[1].split()[0] # mind the whitespace |