networking_baremetal.tests.unit.plugins.ml2.test_baremetal_mech Module¶networking_baremetal.tests.unit.plugins.ml2.test_baremetal_mech.TestBaremetalMechDriver(*args, **kwds)¶Bases: neutron.tests.unit.plugins.ml2._test_mech_agent.AgentMechanismBaseTestCase
AGENTS = [{'alive': True, 'configurations': {'bridge_mappings': {'fake_physical_network': 'fake_physnet'}}, 'host': 'host'}]¶AGENTS_BAD = [{'alive': False, 'configurations': {'bridge_mappings': {'fake_physical_network': 'fake_physnet'}}, 'host': 'bad_host_1'}, {'alive': True, 'configurations': {'bridge_mappings': {'wrong_physical_network': 'wrong_physnet'}}, 'host': 'bad_host_2'}]¶AGENTS_DEAD = [{'alive': False, 'configurations': {'bridge_mappings': {'fake_physical_network': 'fake_physnet'}}, 'host': 'dead_host'}]¶AGENT_TYPE = 'Baremetal Node'¶BAD_CONFIGS = {'bridge_mappings': {'wrong_physical_network': 'wrong_physnet'}}¶GOOD_CONFIGS = {'bridge_mappings': {'fake_physical_network': 'fake_physnet'}}¶VIF_DETAILS = None¶VIF_TYPE = 'other'¶VNIC_TYPE = 'baremetal'¶setUp()¶Hook method for setting up the test fixture before exercising it.
test_bind_port(mpb_pc)¶test_bind_port_unsupported_network_type(mpb_pc)¶test_bind_port_unsupported_vnic_type(mpb_pc)¶test_empty_methods()¶test_get_allowed_network_types()¶test_initialize()¶test_update_port_postcommit_not_bound(mpb_pc)¶test_update_port_postcommit_supported_vnic_type_bound(mpb_pc)¶test_update_port_postcommit_unsupported_vnic_type_not_bound(mpb_pc)¶
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.