print(output)
self.assertNotIn('inet6 3ffe:501:ffff', output)
+ print('### ip -6 route show dev lo')
+ output = check_output('ip -6 route show dev lo')
+ print(output)
+ self.assertNotRegex(output, '3ffe:501:ffff:[2-9a-f]00::/56')
+
self.check_dhcp6_prefix('veth99')
@unittest.skipUnless(shutil.which('dhcpd'), reason="dhcpd is not available on CentOS Stream 10")
print(output)
self.assertNotIn('inet6 3ffe:501:ffff', output)
+ print('### ip -6 route show type blackhole')
+ output = check_output('ip -6 route show type blackhole')
+ print(output)
+ self.assertRegex(output, 'blackhole 3ffe:501:ffff:[2-9a-f]00::/56 dev lo proto dhcp')
+
self.check_dhcp6_prefix('veth99')
@unittest.skipUnless(shutil.which('dhcpd'), reason="dhcpd is not available on CentOS Stream 10")