The nova.tests.network.test_linux_net Module

class LinuxNetworkTestCase(*args, **kwargs)

Bases: nova.test.TestCase

setUp()
test_add_snat_rule()
test_add_snat_rule_snat_range()
test_apply_not_run()
test_apply_ran()
test_deferred_unset_apply_ran()
test_dhcp_opts_not_default_gateway_network()
test_dnsmasq_execute()
test_dnsmasq_execute_dns_servers()
test_dnsmasq_execute_use_network_dns_servers()
test_ensure_floating_no_duplicate_forwards()
test_flat_override()

Makes sure flat_interface flag overrides network bridge_interface.

Allows heterogeneous networks a la bug 833426

test_get_dhcp_hosts_for_nw00()
test_get_dhcp_hosts_for_nw01()
test_get_dhcp_leases_for_nw00()
test_get_dhcp_leases_for_nw01()
test_get_dhcp_opts_for_nw00()
test_get_dhcp_opts_for_nw01()
test_get_dns_hosts_for_nw00()
test_get_dns_hosts_for_nw01()
test_host_dhcp_without_default_gateway_network()
test_host_dns_without_default_gateway_network()
test_initialize_gateway_add_if_blank()
test_initialize_gateway_moves_wrong_ip()
test_initialize_gateway_no_move_right_ip()
test_initialize_gateway_resets_route()
test_isolated_host()
test_linux_bridge_driver_plug()

Makes sure plug doesn’t drop FORWARD by default.

Ensures bug 890195 doesn’t reappear.

test_update_dhcp_for_nw00()
test_update_dhcp_for_nw01()
test_vlan_override()

Makes sure vlan_interface flag overrides network bridge_interface.

Allows heterogeneous networks a la bug 833426

get_associated(context, network_id, host=None, address=None)

Previous topic

The nova.tests.network.test_deprecated_api Module

Next topic

The nova.tests.network.test_manager Module

This Page