diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-12-20 17:05:05 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-12-20 17:14:47 +0100 |
commit | 5dfdb8b1008f7198073a6b2c10e506fa1cf5a816 (patch) | |
tree | a765b3140c5d851e5b1aba7220595e7ea9ad0793 /smoketest | |
parent | 34437ff4dee5fb9fb70bbc7c8b83ecb074793770 (diff) | |
download | vyos-1x-5dfdb8b1008f7198073a6b2c10e506fa1cf5a816.tar.gz vyos-1x-5dfdb8b1008f7198073a6b2c10e506fa1cf5a816.zip |
Revert "dhcpv6: T3134: add missing duid support"
This reverts commit 9541355433e202fade4692851bffa33ba9d48f44.
Diffstat (limited to 'smoketest')
-rw-r--r-- | smoketest/scripts/cli/base_interfaces_test.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/smoketest/scripts/cli/base_interfaces_test.py b/smoketest/scripts/cli/base_interfaces_test.py index f8e9835af..fd37cb2a1 100644 --- a/smoketest/scripts/cli/base_interfaces_test.py +++ b/smoketest/scripts/cli/base_interfaces_test.py @@ -399,27 +399,6 @@ class BasicInterfaceTest: tmp = read_file(f'/proc/sys/net/ipv6/conf/{interface}/dad_transmits') self.assertEqual(dad_transmits, tmp) - def test_ipv6_dhcpv6_duid(self): - """ Test interface base IPv6 options """ - if not self._test_ipv6: - return None - - for interface in self._interfaces: - path = self._base_path + [interface] - for option in self._options.get(interface, []): - self.session.set(path + option.split()) - - # Options - duid = '0e:00:00:01:00:01:27:71:db:f0:00:50:56:bf:c5:6d' - self.session.set(path + ['dhcpv6-options', 'duid', duid]) - - self.session.commit() - - for interface in self._interfaces: - with open('/var/lib/dhcpv6/dhcp6c_duid', 'rb') as f: - tmp = hexlify(f.read()).decode() - - self.assertEqual(duid.replace(':',''), tmp) def test_ipv6_dhcpv6_pd(self): """ Test interface base IPv6 options """ |