diff options
| author | Christian Breunig <christian@breunig.cc> | 2025-11-07 22:11:37 +0100 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2025-11-08 07:31:48 +0100 |
| commit | b9f0a9243b50211d7c21e996766c2ee9fd3b685c (patch) | |
| tree | 18136970b300a51996d36b857a954d2c538509da /smoketest/scripts/cli | |
| parent | 25224cff345210aaecaa4db95a67bd759af666fb (diff) | |
| download | vyos-1x-b9f0a9243b50211d7c21e996766c2ee9fd3b685c.tar.gz vyos-1x-b9f0a9243b50211d7c21e996766c2ee9fd3b685c.zip | |
pppoe: T7485: make xml leafNode address a multi-type node
Commit fb9f2f3e950 ("pppoe: T7485: allow explicit request for CPE IPv6 address
via IA_NA") introduced the CLI node definition for address dhcpv6, which at the
time had only a single available option. Because of that, the node wasn't
defined as <multi/> in the XML schema.
However, the generic interface code expects address to be a <multi/> XML node,
which is translated into a list in Python. This mismatch caused an error
referencing the letter d, corresponding to the first character of dhcpv6.
Diffstat (limited to 'smoketest/scripts/cli')
| -rwxr-xr-x | smoketest/scripts/cli/test_interfaces_pppoe.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_pppoe.py b/smoketest/scripts/cli/test_interfaces_pppoe.py index 0e05de706..b8b0429a8 100755 --- a/smoketest/scripts/cli/test_interfaces_pppoe.py +++ b/smoketest/scripts/cli/test_interfaces_pppoe.py @@ -230,6 +230,7 @@ class PPPoEInterfaceTest(VyOSUnitTestSHIM.TestCase): for interface in self._interfaces: (user, passwd) = self.u_p_dict[interface] + self.cli_set(base_path + [interface, 'address', 'dhcpv6']) self.cli_set(base_path + [interface, 'source-interface', self._source_interface]) self.cli_set(base_path + [interface, 'ipv6', 'address', 'autoconf']) self.cli_set(base_path + [interface, 'authentication', 'username', user]) |
