From 5dfdb8b1008f7198073a6b2c10e506fa1cf5a816 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 20 Dec 2020 17:05:05 +0100 Subject: Revert "dhcpv6: T3134: add missing duid support" This reverts commit 9541355433e202fade4692851bffa33ba9d48f44. --- smoketest/scripts/cli/base_interfaces_test.py | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'smoketest/scripts/cli') 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 """ -- cgit v1.2.3