Example #1
0
def teardown_function(function):
    if function.__name__ in ["test_task01", "test_task02", "test_task05"]:
        host_netif = bridge(TAP)
        ip_addr_del(host_netif, "{}/64".format(HOST_ULA))
Example #2
0
def setup_function(function):
    host_netif = bridge(TAP)
    ip_addr_del(host_netif, "beef::1/64")
    ip_route_del(host_netif, "affe::1/64")