¡@

Home 

OpenStack Study: neutron

OpenStack Index

Previous

Next

    def test_add_tap_interface(self):

    def test_add_interface(self):

    def test_delete_vlan_bridge(self):

    def test_delete_vlan_bridge_with_ip(self):

    def test_delete_vlan_bridge_no_ip(self):

    def test_delete_vxlan_bridge_no_int_mappings(self):

    def test_remove_empty_bridges(self):

        def tap_count_side_effect(*args):

    def test_remove_interface(self):

    def test_delete_vlan(self):

    def test_update_devices(self):

    def _check_vxlan_support(self, expected, vxlan_module_supported, vxlan_ucast_supported, vxlan_mcast_supported):

    def test_check_vxlan_support(self):

    def _check_vxlan_module_supported(self, expected, execute_side_effect):

    def test_vxlan_module_supported(self):

    def _check_vxlan_ucast_supported( self, expected, l2_population, iproute_arg_supported, fdb_append):

    def test_vxlan_ucast_supported(self):

    def _check_vxlan_mcast_supported( self, expected, vxlan_group, iproute_arg_supported):

    def test_vxlan_mcast_supported(self):

class TestLinuxBridgeRpcCallbacks(base.BaseTestCase):

    def setUp(self):

    def test_network_delete(self):

    def test_port_update(self):

    def test_port_update_plugin_rpc_failed(self):

    def test_fdb_add(self):

    def test_fdb_ignore(self):

    def test_fdb_remove(self):

    def test_fdb_update_chg_ip(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\linuxbridge\test_lb_security_group.py

class LinuxBridgeSecurityGroupsTestCase(test_sg.SecurityGroupDBTestCase):

    def setUp(self, plugin=None):

    def tearDown(self):

class TestLinuxBridgeSecurityGroups(LinuxBridgeSecurityGroupsTestCase, test_sg.TestSecurityGroups, test_sg_rpc.SGNotificationTestMixin):

class TestLinuxBridgeSecurityGroupsXML(TestLinuxBridgeSecurityGroups):

class TestLinuxBridgeSecurityGroupsDB(LinuxBridgeSecurityGroupsTestCase):

    def test_security_group_get_port_from_device(self):

    def test_security_group_get_port_from_device_with_no_port(self):

class TestLinuxBridgeSecurityGroupsDBXML(TestLinuxBridgeSecurityGroupsDB):

\OpenStack\neutron-2014.1\neutron\tests\unit\linuxbridge\test_linuxbridge_plugin.py

class LinuxBridgePluginV2TestCase(test_plugin.NeutronDbPluginV2TestCase):

    def setUp(self):

class TestLinuxBridgeBasicGet(test_plugin.TestBasicGet, LinuxBridgePluginV2TestCase):

class TestLinuxBridgeV2HTTPResponse(test_plugin.TestV2HTTPResponse, LinuxBridgePluginV2TestCase):

class TestLinuxBridgeNetworksV2(test_plugin.TestNetworksV2, LinuxBridgePluginV2TestCase):

class TestLinuxBridgePortsV2(test_plugin.TestPortsV2, LinuxBridgePluginV2TestCase):

    def test_update_port_status_build(self):

class TestLinuxBridgePortBinding(LinuxBridgePluginV2TestCase, test_bindings.PortBindingsTestCase):

    def setUp(self):

class TestLinuxBridgePortBindingNoSG(TestLinuxBridgePortBinding):

class TestLinuxBridgePortBindingHost( LinuxBridgePluginV2TestCase, test_bindings.PortBindingsHostTestCaseMixin):

class TestLinuxBridgePluginRpcCallbacks(test_plugin.NeutronDbPluginV2TestCase):

    def setUp(self):

    def test_update_device_down(self):

    def test_update_device_up(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\linuxbridge\test_rpcapi.py

class rpcApiTestCase(base.BaseTestCase):

    def _test_lb_api(self, rpcapi, topic, method, rpc_method, expected_msg=None, **kwargs):

        def _fake_rpc_method(*args, **kwargs):

    def test_delete_network(self):

    def test_port_update(self):

    def test_port_update_old_agent(self):

    def test_device_details(self):

    def test_update_device_down(self):

    def test_update_device_up(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\linuxbridge\__init__.py

\OpenStack\neutron-2014.1\neutron\tests\unit\metaplugin\fake_plugin.py

class Fake1(db_base_plugin_v2.NeutronDbPluginV2, external_net_db.External_net_db_mixin, l3_gwmode_db.L3_NAT_db_mixin):

    def fake_func(self):

    def create_network(self, context, network):

    def update_network(self, context, id, network):

    def delete_network(self, context, id):

    def create_port(self, context, port):

    def create_subnet(self, context, subnet):

    def update_port(self, context, id, port):

    def delete_port(self, context, id, l3_port_check=True):

class Fake2(Fake1):

    def fake_func(self):

    def fake_func2(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\metaplugin\test_basic.py

class MetaPluginV2DBTestCase(test_plugin.NeutronDbPluginV2TestCase):

    def setUp(self, plugin=None, ext_mgr=None, service_plugins=None):

class TestMetaBasicGet(test_plugin.TestBasicGet, MetaPluginV2DBTestCase):

class TestMetaV2HTTPResponse(test_plugin.TestV2HTTPResponse, MetaPluginV2DBTestCase):

class TestMetaPortsV2(test_plugin.TestPortsV2, MetaPluginV2DBTestCase):

class TestMetaNetworksV2(test_plugin.TestNetworksV2, MetaPluginV2DBTestCase):

class TestMetaSubnetsV2(test_plugin.TestSubnetsV2, MetaPluginV2DBTestCase):

    def test_update_subnet_route(self):

    def test_update_subnet_dns_to_None(self):

    def test_update_subnet_route_to_None(self):

    def test_update_subnet_dns(self):

class TestMetaL3NatDBTestCase(test_l3_plugin.L3NatDBIntTestCase, MetaPluginV2DBTestCase):

\OpenStack\neutron-2014.1\neutron\tests\unit\metaplugin\test_metaplugin.py

def etcdir(*p):

def setup_metaplugin_conf(has_l3=True):

def unregister_meta_hooks():

class MetaNeutronPluginV2Test(base.BaseTestCase):

    def setUp(self):

    def _fake_network(self, flavor):

    def _fake_port(self, net_id):

    def _fake_subnet(self, net_id):

    def _fake_router(self, flavor):

    def test_create_delete_network(self):

    def test_create_delete_port(self):

    def test_create_delete_subnet(self):

    def test_create_delete_router(self):

    def test_extension_method(self):

    def test_extension_not_implemented_method(self):

    def test_create_network_flavor_fail(self):

    def test_create_router_flavor_fail(self):

class MetaNeutronPluginV2TestWithoutL3(MetaNeutronPluginV2Test):

    def test_supported_extension_aliases(self):

    def test_create_delete_router(self):

    def test_create_router_flavor_fail(self):

class MetaNeutronPluginV2TestRpcFlavor(base.BaseTestCase):

    def setUp(self):

    def test_rpc_flavor(self):

    def test_invalid_rpc_flavor(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\metaplugin\__init__.py

\OpenStack\neutron-2014.1\neutron\tests\unit\midonet\mock_lib.py

def get_bridge_mock(id=None, **kwargs):

def get_bridge_port_mock(id=None, bridge_id=None, **kwargs):

def get_chain_mock(id=None, tenant_id='test-tenant', name='chain', rules=None):

def get_port_group_mock(id=None, tenant_id='test-tenant', name='pg'):

def get_router_mock(id=None, **kwargs):

def get_rule_mock(id=None, chain_id=None, properties=None):

def get_subnet_mock(bridge_id=None, gateway_ip='10.0.0.1', subnet_prefix='10.0.0.0', subnet_len=int(24)):

class MidonetLibMockConfig():

    def __init__(self, inst):

    def _create_bridge(self, **kwargs):

    def _create_router(self, **kwargs):

    def _create_subnet(self, bridge, gateway_ip, subnet_prefix, subnet_len):

    def _add_bridge_port(self, bridge, **kwargs):

    def _get_bridge(self, id):

    def _get_port(self, id):

    def _get_router(self, id):

    def _update_bridge(self, id, **kwargs):

    def setup(self):

class MidoClientMockConfig():

    def __init__(self, inst):

    def _get_query_tenant_id(self, query):

    def _get_bridge(self, id):

    def _get_chain(self, id, query=None):

    def _get_chains(self, query=None):

    def _get_port_groups(self, query=None):

    def _get_router(self, id):

    def _add_bridge_port(self, bridge):

    def setup(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\midonet\test_midonet_driver.py

class TestDhcpNoOpDriver(base.BaseTestCase):

    def setUp(self):

    def test_disable_no_retain_port(self):

    def test_disable_retain_port(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\midonet\test_midonet_lib.py

def _create_test_chain(id, name, tenant_id):

def _create_test_port_group(id, name, tenant_id):

class MidoClientTestCase(testtools.TestCase):

    def setUp(self):

    def test_delete_chains_by_names(self):

    def test_delete_port_group_by_name(self):

    def test_create_dhcp(self):

    def test_delete_dhcp(self):

    def test_add_dhcp_host(self):

    def test_add_dhcp_route_option(self):

    def test_get_router_error(self):

    def test_get_router_not_found(self):

    def test_get_bridge_error(self):

    def test_get_bridge_not_found(self):

    def test_get_bridge(self):

    def test_add_bridge_port(self):

    def test_get_router(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\midonet\test_midonet_plugin.py

class MidonetPluginV2TestCase(test_plugin.NeutronDbPluginV2TestCase):

    def setUp(self, plugin=MIDONET_PLUGIN_NAME, ext_mgr=None, service_plugins=None):

    def tearDown(self):

class TestMidonetNetworksV2(test_plugin.TestNetworksV2, MidonetPluginV2TestCase):

class TestMidonetL3NatTestCase(test_l3_plugin.L3NatDBIntTestCase, MidonetPluginV2TestCase):

    def setUp(self, plugin=MIDONET_PLUGIN_NAME, ext_mgr=None, service_plugins=None):

    def test_floatingip_with_invalid_create_port(self):

    def test_floatingip_assoc_no_port(self):

    def test_floatingip_assoc_with_port(self):

class TestMidonetSecurityGroupsTestCase(sg.SecurityGroupDBTestCase):

    def setUp(self):

class TestMidonetSecurityGroup(sg.TestSecurityGroups, TestMidonetSecurityGroupsTestCase):

class TestMidonetSubnetsV2(test_plugin.TestSubnetsV2, MidonetPluginV2TestCase):

    def test_create_subnet_inconsistent_ipv6_cidrv4(self):

    def test_create_subnet_inconsistent_ipv6_dns_v4(self):

    def test_create_subnet_with_v6_allocation_pool(self):

    def test_update_subnet_inconsistent_ipv6_gatewayv4(self):

    def test_update_subnet_inconsistent_ipv6_hostroute_dst_v4(self):

    def test_update_subnet_inconsistent_ipv6_hostroute_np_v4(self):

    def test_create_subnet_inconsistent_ipv6_gatewayv4(self):

    def test_create_subnet_dhcp_disabled(self):

class TestMidonetPortsV2(test_plugin.TestPortsV2, MidonetPluginV2TestCase):

    def test_requested_subnet_id_v4_and_v6(self):

    def test_vif_port_binding(self):

class TestMidonetPluginPortBinding(test_bindings.PortBindingsTestCase, MidonetPluginV2TestCase):

    def setUp(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\midonet\__init__.py

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\drivers\brocade\test_brocade_mechanism_driver.py

class TestBrocadeMechDriverV2(test_db_plugin.NeutronDbPluginV2TestCase):

    def setUp(self):

        def mocked_brocade_init(self):

class TestBrocadeMechDriverNetworksV2(test_db_plugin.TestNetworksV2, TestBrocadeMechDriverV2):

class TestBrocadeMechDriverPortsV2(test_db_plugin.TestPortsV2, TestBrocadeMechDriverV2):

class TestBrocadeMechDriverSubnetsV2(test_db_plugin.TestSubnetsV2, TestBrocadeMechDriverV2):

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\drivers\brocade\__init__.py

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\drivers\cisco\nexus\test_cisco_mech.py

class CiscoML2MechanismTestCase(test_db_plugin.NeutronDbPluginV2TestCase):

    def setUp(self):

    def _patch_ncclient(self, attr, value):

    def _is_in_nexus_cfg(self, words):

    def _is_in_last_nexus_cfg(self, words):

    def _is_vlan_configured(self, vlan_creation_expected=True, add_keyword_expected=False):

    def _is_vlan_unconfigured(self, vlan_deletion_expected=True):

class TestCiscoBasicGet(CiscoML2MechanismTestCase, test_db_plugin.TestBasicGet):

class TestCiscoV2HTTPResponse(CiscoML2MechanismTestCase, test_db_plugin.TestV2HTTPResponse):

class TestCiscoPortsV2(CiscoML2MechanismTestCase, test_db_plugin.TestPortsV2):

    def _create_resources(self, name=NETWORK_NAME, cidr=CIDR_1, device_id=DEVICE_ID_1, host_id=COMP_HOST_NAME):

    def _assertExpectedHTTP(self, status, exc):

    def test_create_ports_bulk_emulated_plugin_failure(self):

        def fakehasattr(item, attr):

    def test_create_ports_bulk_native(self):

    def test_create_ports_bulk_emulated(self):

    def test_create_ports_bulk_native_plugin_failure(self):

    def test_nexus_enable_vlan_cmd(self):

    def test_nexus_connect_fail(self):

    def test_nexus_vlan_config_two_hosts(self):

        def _create_port_check_vlan(comp_host_name, device_id, vlan_creation_expected=True):

    def test_nexus_vm_migration(self):

    def test_nexus_config_fail(self):

    def test_nexus_extended_vlan_range_failure(self):

        def mock_edit_config_a(target, config):

        def mock_edit_config_b(target, config):

    def test_nexus_vlan_config_rollback(self):

        def mock_edit_config(target, config):

    def test_nexus_host_not_configured(self):

    def test_nexus_missing_fields(self):

class TestCiscoNetworksV2(CiscoML2MechanismTestCase, test_db_plugin.TestNetworksV2):

    def test_create_networks_bulk_emulated_plugin_failure(self):

        def fakehasattr(item, attr):

    def test_create_networks_bulk_native_plugin_failure(self):

class TestCiscoSubnetsV2(CiscoML2MechanismTestCase, test_db_plugin.TestSubnetsV2):

    def test_create_subnets_bulk_emulated_plugin_failure(self):

        def fakehasattr(item, attr):

    def test_create_subnets_bulk_native_plugin_failure(self):

class TestCiscoPortsV2XML(TestCiscoPortsV2):

class TestCiscoNetworksV2XML(TestCiscoNetworksV2):

class TestCiscoSubnetsV2XML(TestCiscoSubnetsV2):

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\drivers\cisco\nexus\test_cisco_network_db.py

class CiscoNetworkCredentialDbTest(base.BaseTestCase):

    def setUp(self):

    def _cred_test_obj(self, tenant_num, cred_num):

    def _assert_cred_equal(self, db_cred, test_cred):

    def _get_credential(self, db_cred):

    def _get_credential_name(self, db_cred):

    def _add_credential(self, test_cred):

    def _remove_credential(self, db_cred):

    def _update_credential(self, db_cred, new_user_name=None, new_password=None):

    def test_credential_add_remove(self):

    def test_credential_add_dup(self):

    def test_credential_get(self):

    def test_credential_get_name(self):

    def test_credential_update(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\drivers\cisco\nexus\test_cisco_nexus.py

class FakeNetworkContext(object):

    def __init__(self, segment_id):

    def network_segments(self):

class FakePortContext(object):

    def __init__(self, device_id, host_name, network_context):

    def current(self):

    def network(self):

    def bound_segment(self):

class TestCiscoNexusDevice(base.BaseTestCase):

    def setUp(self):

        def new_nexus_init(mech_instance):

    def _create_delete_port(self, port_config):

    def test_create_delete_ports(self):

    def test_create_delete_portchannel(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\drivers\cisco\nexus\test_cisco_nexus_db.py

class CiscoNexusDbTest(base.BaseTestCase):

    def setUp(self):

    def _npb_test_obj(self, pnum, vnum, switch='10.9.8.7', instance=None):

    def _assert_bindings_match(self, npb, npb_obj):

    def _add_binding_to_db(self, npb):

    def _add_bindings_to_db(self, npbs):

    def _remove_binding_from_db(self, npb):

    def _get_nexusport_binding(self, npb):

    def _get_nexusvlan_binding(self, npb):

    def _get_nexusvm_binding(self, npb):

    def _get_port_vlan_switch_binding(self, npb):

    def _get_port_switch_bindings(self, npb):

    def test_nexusportbinding_add_remove(self):

    def test_nexusportbinding_get(self):

    def test_nexusvlanbinding_get(self):

    def test_nexusvmbinding_get(self):

    def test_nexusportvlanswitchbinding_get(self):

    def test_nexusportswitchbinding_get(self):

    def test_nexussvibinding_get(self):

    def test_nexusbinding_update(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\drivers\cisco\nexus\__init__.py

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\drivers\cisco\__init__.py

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\drivers\mechanism_bulkless.py

class BulklessMechanismDriver(api.MechanismDriver):

    def initialize(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\drivers\mechanism_logger.py

class LoggerMechanismDriver(api.MechanismDriver):

    def initialize(self):

    def _log_network_call(self, method_name, context):

    def create_network_precommit(self, context):

    def create_network_postcommit(self, context):

    def update_network_precommit(self, context):

    def update_network_postcommit(self, context):

    def delete_network_precommit(self, context):

    def delete_network_postcommit(self, context):

    def _log_subnet_call(self, method_name, context):

    def create_subnet_precommit(self, context):

    def create_subnet_postcommit(self, context):

    def update_subnet_precommit(self, context):

    def update_subnet_postcommit(self, context):

    def delete_subnet_precommit(self, context):

    def delete_subnet_postcommit(self, context):

    def _log_port_call(self, method_name, context):

    def create_port_precommit(self, context):

    def create_port_postcommit(self, context):

    def update_port_precommit(self, context):

    def update_port_postcommit(self, context):

    def delete_port_precommit(self, context):

    def delete_port_postcommit(self, context):

    def bind_port(self, context):

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\drivers\mechanism_test.py

class TestMechanismDriver(api.MechanismDriver):

    def initialize(self):

    def _check_network_context(self, context, original_expected):

    def create_network_precommit(self, context):

    def create_network_postcommit(self, context):

    def update_network_precommit(self, context):

    def update_network_postcommit(self, context):

    def delete_network_precommit(self, context):

    def delete_network_postcommit(self, context):

    def _check_subnet_context(self, context, original_expected):

    def create_subnet_precommit(self, context):

    def create_subnet_postcommit(self, context):

    def update_subnet_precommit(self, context):

    def update_subnet_postcommit(self, context):

    def delete_subnet_precommit(self, context):

    def delete_subnet_postcommit(self, context):

    def _check_port_context(self, context, original_expected):

    def create_port_precommit(self, context):

    def create_port_postcommit(self, context):

    def update_port_precommit(self, context):

    def update_port_postcommit(self, context):

    def delete_port_precommit(self, context):

    def delete_port_postcommit(self, context):

    def bind_port(self, context):

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\drivers\test_arista_mechanism_driver.py

def setup_arista_wrapper_config(value=''):

def setup_valid_config():

class AristaProvisionedVlansStorageTestCase(base.BaseTestCase):

    def setUp(self):

    def test_tenant_is_remembered(self):

    def test_tenant_is_removed(self):

    def test_network_is_remembered(self):

    def test_network_is_removed(self):

    def test_vm_is_remembered(self):

    def test_vm_is_removed(self):

    def test_remembers_multiple_networks(self):

    def test_removes_all_networks(self):

    def test_remembers_multiple_tenants(self):

    def test_removes_multiple_tenants(self):

    def test_num_vm_is_valid(self):

    def test_get_network_list_returns_eos_compatible_data(self):

class PositiveRPCWrapperValidConfigTestCase(base.BaseTestCase):

    def setUp(self):

    def _get_exit_mode_cmds(self, modes):

    def test_no_exception_on_correct_configuration(self):

    def test_plug_host_into_network(self):

    def test_plug_dhcp_port_into_network(self):

    def test_unplug_host_from_network(self):

    def test_unplug_dhcp_port_from_network(self):

    def test_create_network(self):

    def test_create_network_bulk(self):

    def test_delete_network(self):

    def test_delete_network_bulk(self):

    def test_delete_vm(self):

    def test_delete_vm_bulk(self):

    def test_create_vm_port_bulk(self):

    def test_delete_tenant(self):

    def test_delete_tenant_bulk(self):

    def test_get_network_info_returns_none_when_no_such_net(self):

    def test_get_network_info_returns_info_for_available_net(self):

    def test_check_cli_commands(self):

class AristaRPCWrapperInvalidConfigTestCase(base.BaseTestCase):

    def setUp(self):

    def setup_invalid_config(self):

    def test_raises_exception_on_wrong_configuration(self):

class NegativeRPCWrapperTestCase(base.BaseTestCase):

    def setUp(self):

    def test_exception_is_raised_on_json_server_error(self):

class RealNetStorageAristaDriverTestCase(base.BaseTestCase):

    def setUp(self):

    def tearDown(self):

    def test_create_and_delete_network(self):

    def test_create_and_delete_multiple_networks(self):

    def test_create_and_delete_ports(self):

    def _get_network_context(self, tenant_id, net_id, seg_id):

    def _get_port_context(self, tenant_id, net_id, vm_id, network):

class fake_keystone_info_class(object):

class FakeNetworkContext(object):

    def __init__(self, network, segments=None, original_network=None):

    def current(self):

    def original(self):

    def network_segments(self):

class FakePortContext(object):

    def __init__(self, port, original_port, network):

    def current(self):

    def original(self):

    def network(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\drivers\test_bigswitch_mech.py

class TestBigSwitchMechDriverBase(trp.BigSwitchProxyPluginV2TestCase):

    def setUp(self):

class TestBigSwitchMechDriverNetworksV2(test_db_plugin.TestNetworksV2, TestBigSwitchMechDriverBase):

class TestBigSwitchMechDriverPortsV2(test_db_plugin.TestPortsV2, TestBigSwitchMechDriverBase):

    def setUp(self):

    def test_update_port_status_build(self):

    def _make_port(self, fmt, net_id, expected_res_status=None, arg_list=None, **kwargs):

    def test_create404_triggers_background_sync(self):

    def test_backend_request_contents(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\drivers\test_l2population.py

class TestL2PopulationRpcTestCase(test_plugin.NeutronDbPluginV2TestCase):

    def setUp(self):

    def tearDown(self):

    def _register_ml2_agents(self):

    def test_fdb_add_called(self):

    def test_fdb_add_not_called_type_local(self):

    def test_fdb_add_two_agents(self):

    def test_fdb_add_called_two_networks(self):

    def test_update_port_down(self):

    def test_update_port_down_last_port_up(self):

    def test_delete_port(self):

    def test_delete_port_last_port_up(self):

    def test_fixed_ips_changed(self):

    def test_no_fdb_updates_without_port_updates(self):

    def test_host_changed(self):

    def test_host_changed_twice(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\drivers\test_mech_mlnx.py

class MlnxMechanismBaseTestCase(base.AgentMechanismBaseTestCase):

    def setUp(self):

class MlnxMechanismGenericTestCase(MlnxMechanismBaseTestCase, base.AgentMechanismGenericTestCase):

class MlnxMechanismLocalTestCase(MlnxMechanismBaseTestCase, base.AgentMechanismLocalTestCase):

class MlnxMechanismFlatTestCase(MlnxMechanismBaseTestCase, base.AgentMechanismFlatTestCase):

class MlnxMechanismVlanTestCase(MlnxMechanismBaseTestCase, base.AgentMechanismVlanTestCase):

class MlnxMechanismVnicTypeTestCase(MlnxMechanismBaseTestCase, base.AgentMechanismVlanTestCase):

    def _check_vif_type_for_vnic_type(self, vnic_type, expected_vif_type):

    def test_vnic_type_direct(self):

    def test_vnic_type_macvtap(self):

    def test_vnic_type_normal(self):

class MlnxMechanismProfileTestCase(MlnxMechanismBaseTestCase):

    def setUp(self):

    def test_profile_contains_physical_net(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\drivers\test_ofagent_mech.py

class OfagentMechanismBaseTestCase(base.AgentMechanismBaseTestCase):

    def setUp(self):

class OfagentMechanismGenericTestCase(OfagentMechanismBaseTestCase, base.AgentMechanismGenericTestCase):

class OfagentMechanismLocalTestCase(OfagentMechanismBaseTestCase, base.AgentMechanismLocalTestCase):

class OfagentMechanismFlatTestCase(OfagentMechanismBaseTestCase, base.AgentMechanismFlatTestCase):

class OfagentMechanismVlanTestCase(OfagentMechanismBaseTestCase, base.AgentMechanismVlanTestCase):

class OfagentMechanismGreTestCase(OfagentMechanismBaseTestCase, base.AgentMechanismGreTestCase):

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\drivers\__init__.py

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\test_agent_scheduler.py

class Ml2AgentSchedulerTestCase( test_agent_scheduler.OvsAgentSchedulerTestCase):

class Ml2L3AgentNotifierTestCase( test_agent_scheduler.OvsL3AgentNotifierTestCase):

class Ml2DhcpAgentNotifierTestCase( test_agent_scheduler.OvsDhcpAgentNotifierTestCase):

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\test_mechanism_ncs.py

class NCSTestCase(test_plugin.NeutronDbPluginV2TestCase):

    def setUp(self):

    def check_sendjson(self, method, urlpath, obj):

class NCSMechanismTestBasicGet(test_plugin.TestBasicGet, NCSTestCase):

class NCSMechanismTestNetworksV2(test_plugin.TestNetworksV2, NCSTestCase):

class NCSMechanismTestPortsV2(test_plugin.TestPortsV2, NCSTestCase):

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\test_mechanism_odl.py

class OpenDaylightTestCase(test_plugin.NeutronDbPluginV2TestCase):

    def setUp(self):

    def check_sendjson(self, method, urlpath, obj, ignorecodes=[]):

    def test_check_segment(self):

class OpenDaylightMechanismTestBasicGet(test_plugin.TestBasicGet, OpenDaylightTestCase):

class OpenDaylightMechanismTestNetworksV2(test_plugin.TestNetworksV2, OpenDaylightTestCase):

class OpenDaylightMechanismTestSubnetsV2(test_plugin.TestSubnetsV2, OpenDaylightTestCase):

class OpenDaylightMechanismTestPortsV2(test_plugin.TestPortsV2, OpenDaylightTestCase):

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\test_mech_hyperv.py

class HypervMechanismBaseTestCase(base.AgentMechanismBaseTestCase):

    def setUp(self):

class HypervMechanismGenericTestCase(HypervMechanismBaseTestCase, base.AgentMechanismGenericTestCase):

class HypervMechanismLocalTestCase(HypervMechanismBaseTestCase, base.AgentMechanismLocalTestCase):

class HypervMechanismFlatTestCase(HypervMechanismBaseTestCase, base.AgentMechanismFlatTestCase):

class HypervMechanismVlanTestCase(HypervMechanismBaseTestCase, base.AgentMechanismVlanTestCase):

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\test_mech_linuxbridge.py

class LinuxbridgeMechanismBaseTestCase(base.AgentMechanismBaseTestCase):

    def setUp(self):

class LinuxbridgeMechanismGenericTestCase(LinuxbridgeMechanismBaseTestCase, base.AgentMechanismGenericTestCase):

class LinuxbridgeMechanismLocalTestCase(LinuxbridgeMechanismBaseTestCase, base.AgentMechanismLocalTestCase):

class LinuxbridgeMechanismFlatTestCase(LinuxbridgeMechanismBaseTestCase, base.AgentMechanismFlatTestCase):

class LinuxbridgeMechanismVlanTestCase(LinuxbridgeMechanismBaseTestCase, base.AgentMechanismVlanTestCase):

class LinuxbridgeMechanismGreTestCase(LinuxbridgeMechanismBaseTestCase, base.AgentMechanismGreTestCase):

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\test_mech_openvswitch.py

class OpenvswitchMechanismBaseTestCase(base.AgentMechanismBaseTestCase):

    def setUp(self):

class OpenvswitchMechanismGenericTestCase(OpenvswitchMechanismBaseTestCase, base.AgentMechanismGenericTestCase):

class OpenvswitchMechanismLocalTestCase(OpenvswitchMechanismBaseTestCase, base.AgentMechanismLocalTestCase):

class OpenvswitchMechanismFlatTestCase(OpenvswitchMechanismBaseTestCase, base.AgentMechanismFlatTestCase):

class OpenvswitchMechanismVlanTestCase(OpenvswitchMechanismBaseTestCase, base.AgentMechanismVlanTestCase):

class OpenvswitchMechanismGreTestCase(OpenvswitchMechanismBaseTestCase, base.AgentMechanismGreTestCase):

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\test_ml2_plugin.py

class Ml2PluginV2TestCase(test_plugin.NeutronDbPluginV2TestCase):

    def setUp(self):

class TestMl2BulkToggle(Ml2PluginV2TestCase):

    def test_bulk_disable_with_bulkless_driver(self):

    def test_bulk_enabled_with_bulk_drivers(self):

class TestMl2BasicGet(test_plugin.TestBasicGet, Ml2PluginV2TestCase):

class TestMl2V2HTTPResponse(test_plugin.TestV2HTTPResponse, Ml2PluginV2TestCase):

class TestMl2NetworksV2(test_plugin.TestNetworksV2, Ml2PluginV2TestCase):

class TestMl2PortsV2(test_plugin.TestPortsV2, Ml2PluginV2TestCase):

    def test_update_port_status_build(self):

    def test_update_non_existent_port(self):

    def test_delete_non_existent_port(self):

class TestMl2PortBinding(Ml2PluginV2TestCase, test_bindings.PortBindingsTestCase):

    def setUp(self, firewall_driver=None):

    def _check_port_binding_profile(self, port, profile=None):

    def test_create_port_binding_profile(self):

    def test_update_port_binding_profile(self):

    def test_create_port_binding_profile_too_big(self):

    def test_remove_port_binding_profile(self):

class TestMl2PortBindingNoSG(TestMl2PortBinding):

class TestMl2PortBindingHost(Ml2PluginV2TestCase, test_bindings.PortBindingsHostTestCaseMixin):

class TestMl2PortBindingVnicType(Ml2PluginV2TestCase, test_bindings.PortBindingsVnicTestCaseMixin):

class TestMultiSegmentNetworks(Ml2PluginV2TestCase):

    def setUp(self, plugin=None):

    def test_create_network_provider(self):

    def test_create_network_single_multiprovider(self):

    def test_create_network_multiprovider(self):

    def test_create_network_with_provider_and_multiprovider_fail(self):

    def test_create_network_duplicate_segments(self):

    def test_create_provider_fail(self):

    def test_create_network_plugin(self):

        def raise_mechanism_exc(*args, **kwargs):

    def test_extend_dictionary_no_segments(self):

class TestMl2AllowedAddressPairs(Ml2PluginV2TestCase, test_pair.TestAllowedAddressPairs):

    def setUp(self, plugin=None):

class DHCPOptsTestCase(test_dhcpopts.TestExtraDhcpOpt):

    def setUp(self, plugin=None):

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\test_port_binding.py

class PortBindingTestCase(test_plugin.NeutronDbPluginV2TestCase):

    def setUp(self):

    def _check_response(self, port, vif_type, has_port_filter, bound, status):

    def _test_port_binding(self, host, vif_type, has_port_filter, bound, status=None):

    def test_unbound(self):

    def test_binding_failed(self):

    def test_binding_no_filter(self):

    def test_binding_filter(self):

    def test_binding_status_active(self):

    def _test_update_port_binding(self, host, new_host=None):

    def test_update_with_new_host_binding_notifies_agent(self):

    def test_update_with_same_host_binding_does_not_notify(self):

    def test_update_without_binding_does_not_notify(self):

    def testt_update_from_empty_to_host_binding_notifies_agent(self):

    def test_update_from_host_to_empty_binding_notifies_agent(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\test_rpcapi.py

class RpcApiTestCase(base.BaseTestCase):

    def _test_rpc_api(self, rpcapi, topic, method, rpc_method, **kwargs):

    def test_delete_network(self):

    def test_port_update(self):

    def test_tunnel_update(self):

    def test_device_details(self):

    def test_update_device_down(self):

    def test_tunnel_sync(self):

    def test_update_device_up(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\test_security_group.py

class Ml2SecurityGroupsTestCase(test_sg.SecurityGroupDBTestCase):

    def setUp(self, plugin=None):

    def tearDown(self):

class TestMl2SecurityGroups(Ml2SecurityGroupsTestCase, test_sg.TestSecurityGroups, test_sg_rpc.SGNotificationTestMixin):

    def setUp(self):

    def test_security_group_get_port_from_device(self):

    def test_security_group_get_port_from_device_with_no_port(self):

class TestMl2SecurityGroupsXML(TestMl2SecurityGroups):

class TestMl2SGServerRpcCallBack( Ml2SecurityGroupsTestCase, test_sg_rpc.SGServerRpcCallBackMixinTestCase):

class TestMl2SGServerRpcCallBackXML( Ml2SecurityGroupsTestCase, test_sg_rpc.SGServerRpcCallBackMixinTestCaseXML):

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\test_type_gre.py

class GreTypeTest(base.BaseTestCase):

    def setUp(self):

    def test_validate_provider_segment(self):

    def test_sync_tunnel_allocations(self):

    def test_reserve_provider_segment(self):

    def test_allocate_tenant_segment(self):

    def test_gre_endpoints(self):

class GreTypeMultiRangeTest(base.BaseTestCase):

    def setUp(self):

    def test_release_segment(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\test_type_vxlan.py

class VxlanTypeTest(base.BaseTestCase):

    def setUp(self):

    def test_vxlan_tunnel_type(self):

    def test_validate_provider_segment(self):

    def test_sync_tunnel_allocations(self):

    def test_reserve_provider_segment(self):

    def test_allocate_tenant_segment(self):

    def test_vxlan_endpoints(self):

class VxlanTypeMultiRangeTest(base.BaseTestCase):

    def setUp(self):

    def test_release_segment(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\_test_mech_agent.py

class FakeNetworkContext(api.NetworkContext):

    def __init__(self, segments):

    def current(self):

    def original(self):

    def network_segments(self):

class FakePortContext(api.PortContext):

    def __init__(self, agent_type, agents, segments, vnic_type=portbindings.VNIC_NORMAL):

    def current(self):

    def original(self):

    def network(self):

    def bound_segment(self):

    def original_bound_segment(self):

    def bound_driver(self):

    def original_bound_driver(self):

    def host_agents(self, agent_type):

    def set_binding(self, segment_id, vif_type, vif_details):

class AgentMechanismBaseTestCase(base.BaseTestCase):

    def _check_unbound(self, context):

    def _check_bound(self, context, segment):

class AgentMechanismGenericTestCase(AgentMechanismBaseTestCase):

    def test_unknown_type(self):

class AgentMechanismLocalTestCase(AgentMechanismBaseTestCase):

    def test_type_local(self):

    def test_type_local_dead(self):

class AgentMechanismFlatTestCase(AgentMechanismBaseTestCase):

    def test_type_flat(self):

    def test_type_flat_bad(self):

class AgentMechanismVlanTestCase(AgentMechanismBaseTestCase):

    def test_type_vlan(self):

    def test_type_vlan_bad(self):

class AgentMechanismGreTestCase(AgentMechanismBaseTestCase):

    def test_type_gre(self):

    def test_type_gre_bad(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\ml2\__init__.py

\OpenStack\neutron-2014.1\neutron\tests\unit\mlnx\test_agent_scheduler.py

class MlnxAgentSchedulerTestCase( test_agent_scheduler.OvsAgentSchedulerTestCase):

class MlnxL3AgentNotifierTestCase( test_agent_scheduler.OvsL3AgentNotifierTestCase):

class MlnxDhcpAgentNotifierTestCase( test_agent_scheduler.OvsDhcpAgentNotifierTestCase):

\OpenStack\neutron-2014.1\neutron\tests\unit\mlnx\test_defaults.py

class ConfigurationTest(base.BaseTestCase):

    def test_defaults(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\mlnx\test_mlnx_comm_utils.py

class WrongException(Exception):

class TestRetryDecorator(base.BaseTestCase):

    def setUp(self):

    def test_no_retry_required(self):

        def succeeds():

    def test_retry_zero_times(self):

        def always_fails():

    def test_retries_once(self):

        def fails_once():

    def test_limit_is_reached(self):

        def always_fails():

    def test_limit_is_reached_with_conf(self):

        def always_fails():

    def test_wrong_exception_no_retry(self):

        def raise_unexpected_error():

\OpenStack\neutron-2014.1\neutron\tests\unit\mlnx\test_mlnx_db.py

class SegmentationIdAllocationTest(base.BaseTestCase):

    def setUp(self):

    def test_sync_segmentationIdAllocation(self):

    def test_segmentationId_pool(self):

    def test_specific_segmentationId_inside_pool(self):

    def test_specific_segmentationId_outside_pool(self):

class NetworkBindingsTest(test_plugin.NeutronDbPluginV2TestCase):

    def setUp(self):

    def test_add_network_binding(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\mlnx\test_mlnx_neutron_agent.py

class TestEswitchAgent(base.BaseTestCase):

    def setUp(self):

    def test_treat_devices_added_returns_true_for_missing_device(self):

    def _mock_treat_devices_added(self, details, func_name):

    def test_treat_devices_added_updates_known_port(self):

    def test_treat_devices_added_updates_known_port_admin_down(self):

    def test_treat_devices_removed_returns_true_for_missing_device(self):

    def test_treat_devices_removed_releases_port(self):

    def test_process_network_ports(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\mlnx\test_mlnx_plugin.py

class MlnxPluginV2TestCase(test_plugin.NeutronDbPluginV2TestCase):

    def setUp(self):

class TestMlnxBasicGet(test_plugin.TestBasicGet, MlnxPluginV2TestCase):

class TestMlnxV2HTTPResponse(test_plugin.TestV2HTTPResponse, MlnxPluginV2TestCase):

class TestMlnxPortsV2(test_plugin.TestPortsV2, MlnxPluginV2TestCase):

class TestMlnxNetworksV2(test_plugin.TestNetworksV2, MlnxPluginV2TestCase):

class TestMlnxPortBinding(MlnxPluginV2TestCase, test_bindings.PortBindingsTestCase):

    def setUp(self, firewall_driver=None):

    def _check_default_port_binding_profole(self, port, expected_vif_type=None):

    def test_create_port_no_binding_profile(self):

    def test_create_port_binding_profile_none(self):

    def test_create_port_binding_profile_vif_type(self):

    def test_create_port_binding_profile_with_empty_dict(self):

class TestMlnxPortBindingNoSG(TestMlnxPortBinding):

class TestMlnxPortBindingHost( MlnxPluginV2TestCase, test_bindings.PortBindingsHostTestCaseMixin):

\OpenStack\neutron-2014.1\neutron\tests\unit\mlnx\test_mlnx_plugin_config.py

class TestMlnxPluginConfig(base.BaseTestCase):

    def setUp(self):

    def _create_mlnx_plugin(self):

    def _assert_expected_config(self):

    def test_vlan_ranges_with_network_type(self):

    def test_vlan_ranges_partial_network_type(self):

    def test_vlan_ranges_no_network_type(self):

    def test_parse_physical_network_mappings_invalid_type(self):

    def test_invalid_network_type(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\mlnx\test_mlnx_security_group.py

class MlnxSecurityGroupsTestCase(test_sg.SecurityGroupDBTestCase):

    def setUp(self, plugin=None):

    def tearDown(self):

class TestMlnxSecurityGroups(MlnxSecurityGroupsTestCase, test_sg.TestSecurityGroups, test_sg_rpc.SGNotificationTestMixin):

class TestMlnxSecurityGroupsXML(TestMlnxSecurityGroups):

class TestMlnxSecurityGroupsDB(MlnxSecurityGroupsTestCase):

    def test_security_group_get_port_from_device(self):

    def test_security_group_get_port_from_device_with_no_port(self):

class TestMlnxSecurityGroupsDBXML(TestMlnxSecurityGroupsDB):

\OpenStack\neutron-2014.1\neutron\tests\unit\mlnx\test_rpcapi.py

class rpcApiTestCase(base.BaseTestCase):

    def _test_mlnx_api(self, rpcapi, topic, method, rpc_method, expected_msg=None, **kwargs):

        def _fake_rpc_method(*args, **kwargs):

    def test_delete_network(self):

    def test_port_update(self):

    def test_port_update_ib(self):

    def test_port_update_old_agent(self):

    def test_device_details(self):

    def test_update_device_down(self):

    def test_update_device_up(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\mlnx\__init__.py

\OpenStack\neutron-2014.1\neutron\tests\unit\nec\fake_ofc_manager.py

def patch_ofc_manager():

class FakeOFCManager(object):

    def __init__(self):

    def set_raise_exc(self, func, raise_exc):

    def _raise_exc(self, func):

    def create_ofc_tenant(self, context, tenant_id):

    def exists_ofc_tenant(self, context, tenant_id):

    def delete_ofc_tenant(self, context, tenant_id):

    def create_ofc_net(self, context, tenant_id, net_id, net_name=None):

    def exists_ofc_net(self, context, net_id):

    def delete_ofc_net(self, context, net_id, net):

    def create_ofc_port(self, context, port_id, port):

    def exists_ofc_port(self, context, port_id):

    def delete_ofc_port(self, context, port_id, port):

    def create_ofc_pf(self, context, pf_id, pf_dict):

    def exists_ofc_pf(self, context, pf_id):

    def delete_ofc_pf(self, context, pf_id):

\OpenStack\neutron-2014.1\neutron\tests\unit\nec\stub_ofc_driver.py

class StubOFCDriver(ofc_driver_base.OFCDriverBase):

    def __init__(self, conf):

    def reset_all(self):

    def enable_autocheck(self):

    def disable_autocheck(self):

    def create_tenant(self, description, tenant_id=None):

    def delete_tenant(self, ofc_tenant_id):

    def create_network(self, ofc_tenant_id, description, network_id=None):

    def update_network(self, ofc_network_id, description):

    def delete_network(self, ofc_network_id):

    def create_port(self, ofc_network_id, info, port_id=None, filters=None):

    def delete_port(self, ofc_port_id):

    def filter_supported(cls):

    def create_filter(self, ofc_network_id, filter_dict, portinfo=None, filter_id=None, apply_ports=None):

    def delete_filter(self, ofc_filter_id):

    def convert_ofc_tenant_id(self, context, ofc_tenant_id):

    def convert_ofc_network_id(self, context, ofc_network_id, tenant_id):

    def convert_ofc_port_id(self, context, ofc_port_id, tenant_id, network_id):

    def convert_ofc_filter_id(self, context, ofc_filter_id):

    def create_router(self, ofc_tenant_id, router_id, description):

    def delete_router(self, ofc_router_id):

    def add_router_interface(self, ofc_router_id, ofc_net_id, ip_address=None, mac_address=None):

    def update_router_interface(self, ofc_router_inf_id, ip_address=None, mac_address=None):

    def delete_router_interface(self, ofc_router_inf_id):

    def add_router_route(self, ofc_router_id, destination, nexthop):

    def delete_router_route(self, ofc_router_route_id):

    def list_router_routes(self, ofc_router_id):

\OpenStack\neutron-2014.1\neutron\tests\unit\nec\test_agent_scheduler.py

class NecAgentSchedulerTestCase( test_agent_scheduler.OvsAgentSchedulerTestCase, test_nec_plugin.NecPluginV2TestCaseBase):

    def setUp(self):

class NecDhcpAgentNotifierTestCase( test_agent_scheduler.OvsDhcpAgentNotifierTestCase, test_nec_plugin.NecPluginV2TestCaseBase):

    def setUp(self):

class NecL3AgentNotifierTestCase( test_agent_scheduler.OvsL3AgentNotifierTestCase, test_nec_plugin.NecPluginV2TestCaseBase):

    def setUp(self):

class NecL3AgentSchedulerWithOpenFlowRouter( test_agent_scheduler.OvsAgentSchedulerTestCaseBase, test_nec_plugin.NecPluginV2TestCaseBase):

    def setUp(self):

    def test_router_auto_schedule_with_l3agent_and_openflow(self):

    def test_router_auto_schedule_only_with_openflow_router(self):

    def test_add_router_to_l3_agent_for_openflow_router(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\nec\test_config.py

class ConfigurationTest(base.BaseTestCase):

    def test_defaults(self):

    def test_shortcuts(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\nec\test_db.py

class NECPluginV2DBTestBase(test_nec_plugin.NecPluginV2TestCase):

    def setUp(self):

    def get_ofc_item_random_params(self):

    def portinfo_random_params(self):

class NECPluginV2DBOfcMappingTest(NECPluginV2DBTestBase):

    def test_add_ofc_item(self):

    def test_add_ofc_item_duplicate_entry(self):

    def test_get_ofc_item(self):

    def test_get_ofc_item_for_nonexisting_entry(self):

    def test_get_ofc_id(self):

    def test_get_ofc_id_for_nonexisting_entry(self):

    def test_exists_ofc_item(self):

    def test_find_ofc_item(self):

    def test_find_ofc_item_for_nonexisting_entry(self):

    def test_del_ofc_item(self):

    def test_del_ofc_item_for_nonexisting_entry(self):

class NECPluginV2DBPortInfoTest(NECPluginV2DBTestBase):

    def _compare_portinfo(self, portinfo, expected):

    def _add_portinfo(self, session, params):

    def testd_add_portinfo(self):

    def teste_get_portinfo(self):

    def testf_del_portinfo(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\nec\test_nec_agent.py

class TestNecAgentBase(base.BaseTestCase):

    def setUp(self):

class TestNecAgent(TestNecAgentBase):

    def _setup_mock(self):

    def _test_single_loop(self, with_exc=False, need_sync=False):

    def test_single_loop_normal(self):

    def test_single_loop_need_sync(self):

    def test_single_loop_with_sg_exception_remove(self):

    def test_single_loop_with_sg_exception_prepare(self):

    def test_single_loop_with_update_ports_exception(self):

    def test_daemon_loop(self):

        def state_check(index):

        def sleep_mock(*args, **kwargs):

    def test_report_state_installed(self):

    def _check_report_state(self, cur_ports, num_ports, fail_mode, first=False):

    def _test_report_state(self, fail_mode):

        def record_state(*args, **kwargs):

    def test_report_state(self):

    def test_report_state_fail(self):

class TestNecAgentCallback(TestNecAgentBase):

    def test_port_update(self):

class TestNecAgentPluginApi(TestNecAgentBase):

    def _test_plugin_api(self, expected_failure=False):

    def test_plugin_api(self):

class TestNecAgentMain(base.BaseTestCase):

    def test_main(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\nec\test_nec_plugin.py

class NecPluginV2TestCaseBase(object):

    def _set_nec_ini(self):

    def _clean_nec_ini(self):

    def patch_remote_calls(self):

    def setup_nec_plugin_base(self):

class NecPluginV2TestCase(NecPluginV2TestCaseBase, test_plugin.NeutronDbPluginV2TestCase):

    def rpcapi_update_ports(self, agent_id='nec-q-agent.fake', datapath_id="0xabc", added=[], removed=[]):

    def setUp(self, plugin=None, ext_mgr=None):

class TestNecBasicGet(test_plugin.TestBasicGet, NecPluginV2TestCase):

class TestNecV2HTTPResponse(test_plugin.TestV2HTTPResponse, NecPluginV2TestCase):

class TestNecNetworksV2(test_plugin.TestNetworksV2, NecPluginV2TestCase):

class TestNecPortsV2Callback(NecPluginV2TestCase):

    def _get_portinfo(self, port_id):

    def test_portinfo_create(self):

    def test_portinfo_delete_before_port_deletion(self):

    def test_portinfo_delete_after_port_deletion(self):

    def _test_portinfo_delete(self, portinfo_delete_first=True):

    def test_portinfo_added_unknown_port(self):

    def _test_portinfo_change(self, portinfo_change_first=True):

    def test_portinfo_change(self):

    def test_portinfo_change_for_nonexisting_port(self):

    def test_port_migration(self):

    def test_portinfo_readd(self):

class TestNecPluginDbTest(NecPluginV2TestCase):

    def test_update_resource(self):

class TestNecPluginOfcManager(NecPluginV2TestCase):

    def setUp(self):

    def _create_resource(self, resource, data):

    def _update_resource(self, resource, id, data):

    def _show_resource(self, resource, id):

    def _list_resource(self, resource):

    def _delete_resource(self, resource, id):

    def test_create_network(self):

    def test_create_network_with_admin_state_down(self):

    def test_create_two_network(self):

    def test_create_network_fail(self):

    def test_update_network(self):

    def test_create_port_no_ofc_creation(self):

    def test_create_port_with_ofc_creation(self):

OpenStack Index

Previous

Next