summaryrefslogtreecommitdiff
path: root/smoketest/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-12-20 17:05:05 +0100
committerChristian Poessinger <christian@poessinger.com>2020-12-20 17:14:47 +0100
commit5dfdb8b1008f7198073a6b2c10e506fa1cf5a816 (patch)
treea765b3140c5d851e5b1aba7220595e7ea9ad0793 /smoketest/scripts
parent34437ff4dee5fb9fb70bbc7c8b83ecb074793770 (diff)
downloadvyos-1x-5dfdb8b1008f7198073a6b2c10e506fa1cf5a816.tar.gz
vyos-1x-5dfdb8b1008f7198073a6b2c10e506fa1cf5a816.zip
Revert "dhcpv6: T3134: add missing duid support"
This reverts commit 9541355433e202fade4692851bffa33ba9d48f44.
Diffstat (limited to 'smoketest/scripts')
-rw-r--r--smoketest/scripts/cli/base_interfaces_test.py21
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 """