The ironic_python_agent.tests.unit.test_netutils Module

class ironic_python_agent.tests.unit.test_netutils.TestNetutils(*args, **kwds)[source]

Bases: oslotest.base.BaseTestCase

setUp()[source]
test_get_lldp_info(*args, **keywargs)[source]
test_get_lldp_info_empty(*args, **keywargs)[source]
test_get_lldp_info_malformed(*args, **keywargs)[source]
test_get_lldp_info_multiple(*args, **keywargs)[source]
test_get_lldp_info_one_empty_interface(*args, **keywargs)[source]
test_get_lldp_info_socket_recv_error(*args, **keywargs)[source]
test_raw_promiscuous_sockets(*args, **keywargs)[source]
test_raw_promiscuous_sockets_bind_fail(*args, **keywargs)[source]
test_raw_promiscuous_sockets_exception(*args, **keywargs)[source]
test_wrap_ipv6()[source]
test_wrap_ipv6_with_ipv4()[source]