dst_ip = inet_ntop(AF_INET6, nsma)
# NS is broadcast
- self.assertEqual(rx[Ether].dst, "ff:ff:ff:ff:ff:ff")
+ self.assertEqual(rx[Ether].dst, in6_getnsmac(nsma))
# and from the router's MAC
self.assertEqual(rx[Ether].src, intf.local_mac)
def tearDown(self):
"""Run standard test teardown and log ``show ip6 neighbors``."""
- for i in self.sub_interfaces:
+ for i in self.interfaces:
i.unconfig_ip6()
i.ip6_disable()
i.admin_down()
+ for i in self.sub_interfaces:
i.remove_vpp_config()
super(TestIPv6, self).tearDown()
i.config_ip6()
def tearDown(self):
+ for i in self.interfaces:
+ i.unconfig_ip6()
+ i.admin_down()
super(TestIPv6RD, self).tearDown()
def test_rd_send_router_solicitation(self):