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
= [{'host': 'host', 'alive': True, 'configurations': {'bridge_mappings': {'fake_physical_network': 'fake_physnet'}}}]¶AGENTS_BAD
= [{'host': 'bad_host_1', 'alive': False, 'configurations': {'bridge_mappings': {'fake_physical_network': 'fake_physnet'}}}, {'host': 'bad_host_2', 'alive': True, 'configurations': {'bridge_mappings': {'wrong_physical_network': 'wrong_physnet'}}}]¶AGENTS_DEAD
= [{'host': 'dead_host', 'alive': False, 'configurations': {'bridge_mappings': {'fake_physical_network': 'fake_physnet'}}}]¶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
(*args, **kwargs)¶test_bind_port_unsupported_network_type
(*args, **kwargs)¶test_bind_port_unsupported_vnic_type
(*args, **kwargs)¶test_empty_methods
(*args, **kwargs)¶test_get_allowed_network_types
(*args, **kwargs)¶test_initialize
(*args, **kwargs)¶test_update_port_postcommit_not_bound
(*args, **kwargs)¶test_update_port_postcommit_supported_vnic_type_bound
(*args, **kwargs)¶test_update_port_postcommit_unsupported_vnic_type_not_bound
(*args, **kwargs)¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.