The networking_cisco.tests.unit.ml2.drivers.cisco.n1kv.test_cisco_n1kv_sync Module¶
-
class
networking_cisco.tests.unit.ml2.drivers.cisco.n1kv.test_cisco_n1kv_sync.TestN1kvSyncDriver(*args, **kwds)¶ Bases:
networking_cisco.tests.unit.ml2.drivers.cisco.n1kv.test_cisco_n1kv_mech.TestN1KVMechanismDriverTest N1kv md5 based sync between neutron and VSM.
-
TEST_NEUTRON_NETWORKS= [‘test_network1’, ‘test_network2’]¶
-
TEST_NEUTRON_NETWORK_PROFILES= [‘test_network_profile1’]¶
-
TEST_NEUTRON_PORTS= [‘test_port1’, ‘test_port2’]¶
-
TEST_NEUTRON_SUBNETS= [‘test_subnet1’]¶
-
TEST_VSM_NETWORKS= [‘test_network1’, ‘test_network2’]¶
-
TEST_VSM_NETWORK_PROFILES= [‘test_network_profile1’]¶
-
TEST_VSM_PORTS= [‘test_port1’, ‘test_port2’]¶
-
TEST_VSM_SUBNETS= [‘test_subnet1’]¶
-
setUp()¶
-
test_bd_sync_triggered_on_neutron_restart(*args, **kwargs)¶ Test whether bridge-domain sync flags are set to True on Neutron restarts, for all VSMs.
-
test_md5_hash_comparison_all(*args, **kwargs)¶ Compare Neutron-VSM MD5 hashes with identical configurations.
-
test_md5_hash_comparison_networks(*args, **kwargs)¶ Compare Neutron-VSM MD5 hashes for Networks.
Test whether or not Neutron-VSM sync would be triggered for three test cases: 1. when neutron-VSM have identical networks 2. when VSM has a missing network 3. when VSM has an extra network
-
test_md5_hash_comparison_ports(*args, **kwargs)¶ Compare Neutron-VSM MD5 hashes for Ports.
Test whether or not Neutron-VSM sync would be triggered for three test cases: 1. when neutron-VSM have identical ports 2. when VSM has a missing port 3. when VSM has an extra port
-