¡@

Home 

OpenStack Study: neutron

OpenStack Index

Previous

Next

    def test_router_update_gateway_with_existed_floatingip(self):

    def test_router_remove_interface_wrong_subnet_returns_400(self):

    def test_router_remove_interface_wrong_port_returns_404(self):

    def test_send_data(self):

    def test_router_rules_update(self):

    def test_router_rules_separation(self):

    def test_router_rules_validation(self):

    def test_router_rules_config_change(self):

    def test_rule_exhaustion(self):

    def test_rollback_on_router_create(self):

    def test_rollback_on_router_update(self):

    def test_rollback_on_router_delete(self):

    def _get_routers(self, tenant_id):

def _strip_rule_ids(rules):

\OpenStack\neutron-2014.1\neutron\tests\unit\bigswitch\test_security_groups.py

class RestProxySecurityGroupsTestCase(test_sg.SecurityGroupDBTestCase, test_base.BigSwitchTestBase):

    def setUp(self, plugin=None):

class TestSecServerRpcCallBack(test_sg_rpc.SGServerRpcCallBackMixinTestCase, RestProxySecurityGroupsTestCase):

class TestSecurityGroupsMixin(test_sg.TestSecurityGroups, test_sg_rpc.SGNotificationTestMixin, RestProxySecurityGroupsTestCase):

\OpenStack\neutron-2014.1\neutron\tests\unit\bigswitch\test_servermanager.py

class ServerManagerTests(test_rp.BigSwitchProxyPluginV2TestCase):

    def test_no_servers(self):

    def test_malformed_servers(self):

    def test_sticky_cert_fetch_fail(self):

    def test_consistency_watchdog(self):

    def test_file_put_contents(self):

    def test_combine_certs_to_file(self):

    def test_reconnect_cached_connection(self):

    def test_no_reconnect_recurse_to_infinity(self):

    def test_socket_error(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\bigswitch\test_ssl.py

class test_ssl_certificate_base(test_plugin.NeutronDbPluginV2TestCase, test_base.BigSwitchTestBase):

    def _setUp(self):

    def setUp(self):

class TestSslSticky(test_ssl_certificate_base):

    def setUp(self):

    def test_sticky_cert(self):

class TestSslHostCert(test_ssl_certificate_base):

    def setUp(self):

    def test_host_cert(self):

class TestSslCaCert(test_ssl_certificate_base):

    def setUp(self):

    def test_ca_cert(self):

class TestSslWrongHostCert(test_ssl_certificate_base):

    def setUp(self):

    def test_error_no_cert(self):

class TestSslNoValidation(test_ssl_certificate_base):

    def setUp(self):

    def test_validation_disabled(self):

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

\OpenStack\neutron-2014.1\neutron\tests\unit\brocade\test_brocade_db.py

class TestBrocadeDb(test_plugin.NeutronDbPluginV2TestCase):

    def test_create_network(self):

    def test_create_port(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\brocade\test_brocade_plugin.py

class BrocadePluginV2TestCase(test_plugin.NeutronDbPluginV2TestCase):

    def setUp(self):

        def mocked_brocade_init(self):

class TestBrocadeBasicGet(test_plugin.TestBasicGet, BrocadePluginV2TestCase):

class TestBrocadeV2HTTPResponse(test_plugin.TestV2HTTPResponse, BrocadePluginV2TestCase):

class TestBrocadePortsV2(test_plugin.TestPortsV2, BrocadePluginV2TestCase, test_bindings.PortBindingsTestCase):

class TestBrocadeNetworksV2(test_plugin.TestNetworksV2, BrocadePluginV2TestCase):

\OpenStack\neutron-2014.1\neutron\tests\unit\brocade\test_brocade_vlan.py

class TestVlanBitmap(base.BaseTestCase):

    def setUp(self):

    def test_vlan(self):

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

\OpenStack\neutron-2014.1\neutron\tests\unit\cisco\n1kv\fake_client.py

class TestClient(n1kv_client):

    def __init__(self, **kwargs):

    def _do_request(self, method, action, body=None, headers=None):

class TestClientInvalidRequest(TestClient):

    def __init__(self, **kwargs):

def _validate_resource(action, body=None):

\OpenStack\neutron-2014.1\neutron\tests\unit\cisco\n1kv\test_n1kv_db.py

def _create_test_network_profile_if_not_there(session, profile=TEST_NETWORK_PROFILE):

def _create_test_policy_profile_if_not_there(session, profile=TEST_POLICY_PROFILE):

class VlanAllocationsTest(base.BaseTestCase):

    def setUp(self):

    def test_sync_vlan_allocations_outside_segment_range(self):

    def test_sync_vlan_allocations_unallocated_vlans(self):

    def test_vlan_pool(self):

    def test_specific_vlan_inside_pool(self):

    def test_specific_vlan_outside_pool(self):

class VxlanAllocationsTest(base.BaseTestCase, n1kv_db_v2.NetworkProfile_db_mixin):

    def setUp(self):

    def test_sync_vxlan_allocations_outside_segment_range(self):

    def test_sync_vxlan_allocations_unallocated_vxlans(self):

    def test_vxlan_pool(self):

    def test_specific_vxlan_inside_pool(self):

    def test_specific_vxlan_outside_pool(self):

class NetworkBindingsTest(test_plugin.NeutronDbPluginV2TestCase):

    def setUp(self):

    def test_add_network_binding(self):

    def test_create_multi_segment_network(self):

    def test_add_multi_segment_binding(self):

    def test_create_vlan_trunk_network(self):

    def test_create_vxlan_trunk_network(self):

    def test_add_vlan_trunk_binding(self):

    def test_add_vxlan_trunk_binding(self):

class NetworkProfileTests(base.BaseTestCase, n1kv_db_v2.NetworkProfile_db_mixin):

    def setUp(self):

    def test_create_network_profile(self):

    def test_create_multi_segment_network_profile(self):

    def test_create_vlan_trunk_network_profile(self):

    def test_create_vxlan_trunk_network_profile(self):

    def test_create_network_profile_overlap(self):

    def test_delete_network_profile(self):

    def test_update_network_profile(self):

    def test_get_network_profile(self):

    def test_get_network_profiles(self):

class PolicyProfileTests(base.BaseTestCase):

    def setUp(self):

    def test_create_policy_profile(self):

    def test_delete_policy_profile(self):

    def test_update_policy_profile(self):

    def test_get_policy_profile(self):

class ProfileBindingTests(base.BaseTestCase, n1kv_db_v2.NetworkProfile_db_mixin, db_base_plugin_v2.CommonDbMixin):

    def setUp(self):

    def _create_test_binding_if_not_there(self, tenant_id, profile_id, profile_type):

    def test_create_profile_binding(self):

    def test_get_profile_binding(self):

    def test_delete_profile_binding(self):

    def test_default_tenant_replace(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\cisco\n1kv\test_n1kv_plugin.py

class FakeResponse(object):

    def __init__(self, status, response_text, content_type):

    def __getitem__(cls, val):

    def read(self, *args, **kwargs):

def _fake_setup_vsm(self):

class NetworkProfileTestExtensionManager(object):

    def get_resources(self):

    def get_actions(self):

    def get_request_extensions(self):

class N1kvPluginTestCase(test_plugin.NeutronDbPluginV2TestCase):

    def _make_test_policy_profile(self, name='service_profile'):

    def _make_test_profile(self, name='default_network_profile', segment_range='386-400'):

    def setUp(self):

    def restore_resource_attribute_map(self):

    def test_plugin(self):

class TestN1kvNetworkProfiles(N1kvPluginTestCase):

    def _prepare_net_profile_data(self, segment_type):

    def test_create_network_profile_vlan(self):

    def test_create_network_profile_overlay(self):

    def test_create_network_profile_overlay_unreasonable_seg_range(self):

    def test_update_network_profile_plugin(self):

    def test_update_network_profile_physical_network_fail(self):

    def test_update_network_profile_segment_type_fail(self):

    def test_update_network_profile_sub_type_fail(self):

    def test_create_overlay_network_profile_invalid_multicast_fail(self):

    def test_create_overlay_network_profile_no_multicast_fail(self):

    def test_create_overlay_network_profile_wrong_split_multicast_fail(self):

    def test_create_overlay_network_profile_invalid_minip_multicast_fail(self):

    def test_create_overlay_network_profile_invalid_maxip_multicast_fail(self):

    def test_create_overlay_network_profile_correct_multicast_pass(self):

    def test_create_network_profile_populate_vlan_segment_pool(self):

    def test_delete_network_profile_deallocate_vlan_segment_pool(self):

class TestN1kvBasicGet(test_plugin.TestBasicGet, N1kvPluginTestCase):

class TestN1kvHTTPResponse(test_plugin.TestV2HTTPResponse, N1kvPluginTestCase):

class TestN1kvPorts(test_plugin.TestPortsV2, N1kvPluginTestCase, test_bindings.PortBindingsTestCase):

    def test_create_port_with_default_n1kv_policy_profile_id(self):

    def test_create_port_with_n1kv_policy_profile_id(self):

    def test_update_port_with_n1kv_policy_profile_id(self):

    def test_create_first_port_invalid_parameters_fail(self):

    def test_create_next_port_invalid_parameters_fail(self):

class TestN1kvNetworks(test_plugin.TestNetworksV2, N1kvPluginTestCase):

    def _prepare_net_data(self, net_profile_id):

    def test_create_network_with_default_n1kv_network_profile_id(self):

    def test_create_network_with_n1kv_network_profile_id(self):

    def test_update_network_with_n1kv_network_profile_id(self):

class TestN1kvSubnets(test_plugin.TestSubnetsV2, N1kvPluginTestCase):

\OpenStack\neutron-2014.1\neutron\tests\unit\cisco\n1kv\__init__.py

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

class TestCiscoNexusPluginConfig(base.BaseTestCase):

    def setUp(self):

    def test_config_parse_error(self):

    def test_create_device_dictionary(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\cisco\test_network_db.py

class CiscoNetworkDbTest(base.BaseTestCase):

    def setUp(self):

        def new_network_plugin_init(instance):

class CiscoNetworkQosDbTest(CiscoNetworkDbTest):

    def _qos_test_obj(self, tnum, qnum, desc=None):

    def _assert_equal(self, qos, qos_obj):

    def test_qos_add_remove(self):

    def test_qos_add_dup(self):

    def test_qos_get(self):

    def test_qos_update(self):

class CiscoNetworkCredentialDbTest(CiscoNetworkDbTest):

    def _cred_test_obj(self, tnum, cnum):

    def _assert_equal(self, credential, cred_obj):

    def test_credential_add_remove(self):

    def test_credential_add_dup(self):

    def test_credential_get_id(self):

    def test_credential_get_name(self):

    def test_credential_update(self):

    def test_get_credential_not_found_exception(self):

class CiscoCredentialStoreTest(base.BaseTestCase):

    def setUp(self):

    def test_cred_store_init_duplicate_creds_ignored(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\cisco\test_network_plugin.py

class CiscoNetworkPluginV2TestCase(test_db_plugin.NeutronDbPluginV2TestCase):

    def setUp(self):

    def _get_plugin_ref(self):

    def _patch_ncclient(self, attr, value):

    def _config_dependent_side_effect(match_config, exc):

        def _side_effect_function(target, config):

    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, vlan_untrunk_expected=True):

    def _assertExpectedHTTP(self, status, exc):

class TestCiscoGetAttribute(CiscoNetworkPluginV2TestCase):

    def test_get_unsupported_attr_in_lazy_gettext_mode(self):

        def _lazy_gettext(msg):

class TestCiscoBasicGet(CiscoNetworkPluginV2TestCase, test_db_plugin.TestBasicGet):

class TestCiscoV2HTTPResponse(CiscoNetworkPluginV2TestCase, test_db_plugin.TestV2HTTPResponse):

class TestCiscoPortsV2(CiscoNetworkPluginV2TestCase, test_db_plugin.TestPortsV2, test_bindings.PortBindingsHostTestCaseMixin):

    def _create_port_res(self, name=NETWORK_NAME, cidr=CIDR_1, do_delete=True, host_id=COMP_HOST_NAME):

    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_vlan_config_two_hosts(self):

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

    def test_nexus_connect_fail(self):

    def test_nexus_config_fail(self):

    def test_nexus_extended_vlan_range_failure(self):

    def test_nexus_vlan_config_rollback(self):

    def test_get_seg_id_fail(self):

        def _return_none_if_nexus_caller(self, *args, **kwargs):

    def test_nexus_host_non_configured(self):

    def _check_rollback_on_bind_failure(self, vlan_deletion_expected, vlan_untrunk_expected):

    def test_nexus_rollback_on_bind_failure_non_provider_vlan(self):

    def test_nexus_rollback_on_bind_failure_prov_vlan_no_auto_create(self):

    def test_nexus_rollback_on_bind_failure_prov_vlan_no_auto_trunk(self):

    def test_model_update_port_rollback(self):

    def test_model_delete_port_rollback(self):

    def test_nexus_delete_port_rollback(self):

    def test_model_update_port_attach(self):

    def test_model_update_port_migrate(self):

    def test_model_update_port_net_create_not_needed(self):

    def verify_portbinding(self, host_id1, host_id2, vlan, device_id, binding_port):

    def test_db_update_port_attach(self):

    def test_db_update_port_migrate(self):

    def test_delete_ports_by_device_id_second_call_failure(self):

    def test_delete_ports_ignores_port_not_found(self):

class TestCiscoNetworksV2(CiscoNetworkPluginV2TestCase, 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):

    def _provider_vlan_network(self, phys_net, segment_id, net_name):

    def test_create_provider_vlan_network(self):

    def test_delete_provider_vlan_network(self):

class TestCiscoSubnetsV2(CiscoNetworkPluginV2TestCase, 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 TestCiscoRouterInterfacesV2(CiscoNetworkPluginV2TestCase):

    def setUp(self):

        def _count_exception_logs(*args, **kwargs):

    def _network_subnet_router(self):

    def _router_interface(self, router, subnet, **kwargs):

    def _network_subnet_router_interface(self, **kwargs):

    def test_port_list_filtered_by_router_id(self):

    def test_add_remove_router_intf_with_nexus_l3_enabled(self):

    def test_add_remove_router_intf_with_nexus_l3_disabled(self):

    def test_create_svi_but_subnet_not_specified_exception(self):

    def test_create_svi_but_port_id_included_exception(self):

class TestCiscoPortsV2XML(TestCiscoPortsV2):

class TestCiscoNetworksV2XML(TestCiscoNetworksV2):

class TestCiscoSubnetsV2XML(TestCiscoSubnetsV2):

class TestCiscoRouterInterfacesV2XML(TestCiscoRouterInterfacesV2):

\OpenStack\neutron-2014.1\neutron\tests\unit\cisco\test_nexus_db.py

class CiscoNexusDbTest(base.BaseTestCase):

    def setUp(self):

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

    def _assert_equal(self, npb, npb_obj):

    def _add_to_db(self, npbs):

    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_nexussviswitch_find(self):

    def test_nexusbinding_update(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\cisco\test_nexus_plugin.py

class TestCiscoNexusPlugin(base.BaseTestCase):

    def setUp(self):

        def new_nexus_init(self):

    def test_create_delete_networks(self):

    def _create_delete_providernet(self, auto_create, auto_trunk):

    def test_create_delete_providernet(self):

    def test_create_delete_provider_vlan_network_cfg_auto_man(self):

    def test_create_delete_provider_vlan_network_cfg_man_auto(self):

    def test_create_delete_provider_vlan_network_cfg_man_man(self):

    def test_create_delete_network_portchannel(self):

    def _add_router_interface(self):

    def _remove_router_interface(self):

    def test_nexus_add_remove_router_interface(self):

    def test_nexus_dup_add_router_interface(self):

    def test_nexus_no_svi_switch_exception(self):

    def test_nexus_add_port_after_router_interface(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\cisco\test_plugin_model.py

class TestCiscoPluginModel(base.BaseTestCase):

    def setUp(self):

    def test_non_nexus_device_driver(self):

    def test_nexus_plugin_calls_ignored_if_plugin_not_loaded(self):

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

\OpenStack\neutron-2014.1\neutron\tests\unit\database_stubs.py

class NeutronDB(object):

    def get_all_networks(self, tenant_id):

    def get_network(self, network_id):

    def create_network(self, tenant_id, net_name):

    def delete_network(self, net_id):

    def update_network(self, tenant_id, net_id, param_data):

    def get_all_ports(self, net_id):

    def get_port(self, net_id, port_id):

    def create_port(self, net_id):

    def delete_port(self, net_id, port_id):

    def update_port(self, net_id, port_id, **kwargs):

    def plug_interface(self, net_id, port_id, int_id):

    def unplug_interface(self, net_id, port_id):

\OpenStack\neutron-2014.1\neutron\tests\unit\db\firewall\test_db_firewall.py

class FakeAgentApi(fwaas_plugin.FirewallCallbacks):

    def __init__(self):

    def delete_firewall(self, context, firewall, **kwargs):

class FirewallPluginDbTestCase(test_db_plugin.NeutronDbPluginV2TestCase):

    def setUp(self, core_plugin=None, fw_plugin=None, ext_mgr=None):

    def _test_list_resources(self, resource, items, neutron_context=None, query_params=None):

    def _get_test_firewall_rule_attrs(self, name='firewall_rule1'):

    def _get_test_firewall_policy_attrs(self, name='firewall_policy1'):

    def _get_test_firewall_attrs(self, name='firewall_1'):

    def _create_firewall_policy(self, fmt, name, description, shared, firewall_rules, audited, expected_res_status=None, **kwargs):

    def _replace_firewall_status(self, attrs, old_status, new_status):

    def firewall_policy(self, fmt=None, name='firewall_policy1', description=DESCRIPTION, shared=True, firewall_rules=None, audited=True, no_delete=False, **kwargs):

    def _create_firewall_rule(self, fmt, name, shared, protocol, ip_version, source_ip_address, destination_ip_address, source_port, destination_port, action, enabled, expected_res_status=None, **kwargs):

    def firewall_rule(self, fmt=None, name='firewall_rule1', shared=SHARED, protocol=PROTOCOL, ip_version=IP_VERSION, source_ip_address=SOURCE_IP_ADDRESS_RAW, destination_ip_address=DESTINATION_IP_ADDRESS_RAW, source_port=SOURCE_PORT, destination_port=DESTINATION_PORT, action=ACTION, enabled=ENABLED, no_delete=False, **kwargs):

    def _create_firewall(self, fmt, name, description, firewall_policy_id, admin_state_up=True, expected_res_status=None, **kwargs):

    def firewall(self, fmt=None, name='firewall_1', description=DESCRIPTION, firewall_policy_id=None, admin_state_up=True, no_delete=False, **kwargs):

    def _rule_action(self, action, id, firewall_rule_id, insert_before=None, insert_after=None, expected_code=webob.exc.HTTPOk.code, expected_body=None, body_data=None):

    def _compare_firewall_rule_lists(self, firewall_policy_id, list1, list2):

class TestFirewallDBPlugin(FirewallPluginDbTestCase):

    def test_create_firewall_policy(self):

    def test_create_firewall_policy_with_rules(self):

    def test_create_firewall_policy_with_previously_associated_rule(self):

    def test_show_firewall_policy(self):

    def test_list_firewall_policies(self):

    def test_update_firewall_policy(self):

    def test_update_firewall_policy_with_rules(self):

    def test_update_firewall_policy_replace_rules(self):

    def test_update_firewall_policy_reorder_rules(self):

    def test_update_firewall_policy_with_non_existing_rule(self):

    def test_delete_firewall_policy(self):

    def test_delete_firewall_policy_with_rule(self):

    def test_delete_firewall_policy_with_firewall_association(self):

    def test_create_firewall_rule(self):

    def test_show_firewall_rule_with_fw_policy_not_associated(self):

    def test_show_firewall_rule_with_fw_policy_associated(self):

    def test_list_firewall_rules(self):

    def test_update_firewall_rule(self):

    def test_update_firewall_rule_with_policy_associated(self):

    def test_delete_firewall_rule(self):

    def test_delete_firewall_rule_with_policy_associated(self):

    def test_create_firewall(self):

    def test_show_firewall(self):

    def test_list_firewalls(self):

    def test_update_firewall(self):

    def test_delete_firewall(self):

    def test_insert_rule_in_policy_with_prior_rules_added_via_update(self):

    def test_insert_rule_in_policy_failures(self):

    def test_insert_rule_for_previously_associated_rule(self):

    def test_insert_rule_in_policy(self):

    def test_remove_rule_from_policy(self):

    def test_remove_rule_from_policy_failures(self):

class TestFirewallDBPluginXML(TestFirewallDBPlugin):

\OpenStack\neutron-2014.1\neutron\tests\unit\db\firewall\__init__.py

\OpenStack\neutron-2014.1\neutron\tests\unit\db\loadbalancer\test_db_loadbalancer.py

def etcdir(*p):

class NoopLbaaSDriver(abstract_driver.LoadBalancerAbstractDriver):

    def __init__(self, plugin):

    def create_vip(self, context, vip):

    def update_vip(self, context, old_vip, vip):

    def delete_vip(self, context, vip):

    def create_pool(self, context, pool):

    def update_pool(self, context, old_pool, pool):

    def delete_pool(self, context, pool):

    def stats(self, context, pool_id):

    def create_member(self, context, member):

    def update_member(self, context, old_member, member):

    def delete_member(self, context, member):

    def update_pool_health_monitor(self, context, old_health_monitor, health_monitor, pool_association):

    def create_pool_health_monitor(self, context, health_monitor, pool_id):

    def delete_pool_health_monitor(self, context, health_monitor, pool_id):

class LoadBalancerTestMixin(object):

    def _get_vip_optional_args(self):

    def _create_vip(self, fmt, name, pool_id, protocol, protocol_port, admin_state_up, expected_res_status=None, **kwargs):

    def _create_pool(self, fmt, name, lb_method, protocol, admin_state_up, expected_res_status=None, **kwargs):

    def _create_member(self, fmt, address, protocol_port, admin_state_up, expected_res_status=None, **kwargs):

    def _create_health_monitor(self, fmt, type, delay, timeout, max_retries, admin_state_up, expected_res_status=None, **kwargs):

    def vip(self, fmt=None, name='vip1', pool=None, subnet=None, protocol='HTTP', protocol_port=80, admin_state_up=True, no_delete=False, **kwargs):

    def pool(self, fmt=None, name='pool1', lb_method='ROUND_ROBIN', protocol='HTTP', admin_state_up=True, no_delete=False, **kwargs):

    def member(self, fmt=None, address='192.168.1.100', protocol_port=80, admin_state_up=True, no_delete=False, **kwargs):

    def health_monitor(self, fmt=None, type='TCP', delay=30, timeout=10, max_retries=3, admin_state_up=True, no_delete=False, **kwargs):

class LoadBalancerPluginDbTestCase(LoadBalancerTestMixin, test_db_plugin.NeutronDbPluginV2TestCase):

    def setUp(self, core_plugin=None, lb_plugin=None, lbaas_provider=None, ext_mgr=None):

class TestLoadBalancer(LoadBalancerPluginDbTestCase):

    def test_create_vip(self, **extras):

    def test_create_vip_twice_for_same_pool(self):

    def test_update_vip_raises_vip_exists(self):

    def test_update_vip_change_pool(self):

    def test_create_vip_with_invalid_values(self):

    def test_create_vip_with_address(self):

    def test_create_vip_with_address_outside_subnet(self):

    def test_create_vip_with_session_persistence(self):

    def test_create_vip_with_session_persistence_with_app_cookie(self):

    def test_create_vip_with_session_persistence_unsupported_type(self):

    def test_create_vip_with_unnecessary_cookie_name(self):

    def test_create_vip_with_session_persistence_without_cookie_name(self):

    def test_create_vip_with_protocol_mismatch(self):

    def test_update_vip_with_protocol_mismatch(self):

    def test_reset_session_persistence(self):

    def test_update_vip(self):

    def test_delete_vip(self):

    def test_show_vip(self):

    def test_list_vips(self):

    def test_list_vips_with_sort_emulated(self):

    def test_list_vips_with_pagination_emulated(self):

    def test_list_vips_with_pagination_reverse_emulated(self):

    def test_create_pool_with_invalid_values(self):

    def _create_pool_directly_via_plugin(self, provider_name):

    def test_create_pool_another_provider(self):

    def test_create_pool_unnormalized_provider_name(self):

    def test_create_pool_unexisting_provider(self):

    def test_create_pool(self):

    def test_create_pool_with_members(self):

    def test_delete_pool(self):

    def test_delete_pool_preserve_state(self):

    def test_show_pool(self):

    def test_list_pools_with_sort_emulated(self):

    def test_list_pools_with_pagination_emulated(self):

    def test_list_pools_with_pagination_reverse_emulated(self):

    def test_create_member(self):

    def test_create_same_member_in_same_pool_raises_member_exists(self):

    def test_update_member(self):

    def test_delete_member(self):

    def test_show_member(self):

    def test_list_members_with_sort_emulated(self):

    def test_list_members_with_pagination_emulated(self):

    def test_list_members_with_pagination_reverse_emulated(self):

    def test_create_healthmonitor(self):

    def test_update_healthmonitor(self):

    def test_delete_healthmonitor(self):

    def test_delete_healthmonitor_with_associations_raises(self):

    def test_show_healthmonitor(self):

    def test_list_healthmonitors_with_sort_emulated(self):

    def test_list_healthmonitors_with_pagination_emulated(self):

    def test_list_healthmonitors_with_pagination_reverse_emulated(self):

    def test_update_pool_stats_with_no_stats(self):

    def test_update_pool_stats_with_negative_values(self):

    def _test_update_pool_stats_with_negative_value(self, k, v):

    def test_update_pool_stats(self):

    def test_update_pool_stats_members_statuses(self):

    def test_get_pool_stats(self):

    def test_create_healthmonitor_of_pool(self):

    def test_delete_healthmonitor_of_pool(self):

    def test_create_loadbalancer(self):

    def test_create_pool_health_monitor(self):

    def test_driver_call_create_pool_health_monitor(self):

    def test_pool_monitor_list_of_pools(self):

    def test_create_pool_health_monitor_already_associated(self):

    def test_create_pool_healthmon_invalid_pool_id(self):

    def test_update_status(self):

    def test_update_pool_health_monitor(self):

    def test_check_orphan_pool_associations(self):

class TestLoadBalancerXML(TestLoadBalancer):

\OpenStack\neutron-2014.1\neutron\tests\unit\db\loadbalancer\__init__.py

\OpenStack\neutron-2014.1\neutron\tests\unit\db\metering\test_db_metering.py

class MeteringPluginDbTestCaseMixin(object):

    def _create_metering_label(self, fmt, name, description, **kwargs):

    def _make_metering_label(self, fmt, name, description, **kwargs):

    def _create_metering_label_rule(self, fmt, metering_label_id, direction, remote_ip_prefix, excluded, **kwargs):

    def _make_metering_label_rule(self, fmt, metering_label_id, direction, remote_ip_prefix, excluded, **kwargs):

    def metering_label(self, name='label', description='desc', fmt=None, no_delete=False, **kwargs):

    def metering_label_rule(self, metering_label_id=None, direction='ingress', remote_ip_prefix='10.0.0.0/24', excluded='false', fmt=None, no_delete=False):

class MeteringPluginDbTestCase(test_db_plugin.NeutronDbPluginV2TestCase, MeteringPluginDbTestCaseMixin):

    def setUp(self, plugin=None):

    def test_create_metering_label(self):

    def test_delete_metering_label(self):

    def test_list_metering_label(self):

    def test_create_metering_label_rule(self):

    def test_delete_metering_label_rule(self):

    def test_list_metering_label_rule(self):

    def test_create_metering_label_rules(self):

    def test_create_metering_label_rule_two_labels(self):

class TestMeteringDbXML(MeteringPluginDbTestCase):

\OpenStack\neutron-2014.1\neutron\tests\unit\db\metering\__init__.py

\OpenStack\neutron-2014.1\neutron\tests\unit\db\test_agent_db.py

class FakePlugin(base_plugin.NeutronDbPluginV2, agents_db.AgentDbMixin):

class TestAgentsDbMixin(base.BaseTestCase):

    def setUp(self):

    def _assert_ref_fields_are_equal(self, reference, result):

    def test_create_or_update_agent_new_entry(self):

    def test_create_or_update_agent_existing_entry(self):

    def test_create_or_update_agent_concurrent_insert(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\db\vpn\test_db_vpnaas.py

class TestVpnCorePlugin(test_l3_plugin.TestL3NatIntPlugin, l3_agentschedulers_db.L3AgentSchedulerDbMixin, agentschedulers_db.DhcpAgentSchedulerDbMixin):

    def __init__(self, configfile=None):

class VPNTestMixin(object):

    def _create_ikepolicy(self, fmt, name='ikepolicy1', auth_algorithm='sha1', encryption_algorithm='aes-128', phase1_negotiation_mode='main', lifetime_units='seconds', lifetime_value=3600, ike_version='v1', pfs='group5', expected_res_status=None, **kwargs):

    def ikepolicy(self, fmt=None, name='ikepolicy1', auth_algorithm='sha1', encryption_algorithm='aes-128', phase1_negotiation_mode='main', lifetime_units='seconds', lifetime_value=3600, ike_version='v1', pfs='group5', no_delete=False, **kwargs):

    def _create_ipsecpolicy(self, fmt, name='ipsecpolicy1', auth_algorithm='sha1', encryption_algorithm='aes-128', encapsulation_mode='tunnel', transform_protocol='esp', lifetime_units='seconds', lifetime_value=3600, pfs='group5', expected_res_status=None, **kwargs):

    def ipsecpolicy(self, fmt=None, name='ipsecpolicy1', auth_algorithm='sha1', encryption_algorithm='aes-128', encapsulation_mode='tunnel', transform_protocol='esp', lifetime_units='seconds', lifetime_value=3600, pfs='group5', no_delete=False, **kwargs):

    def _create_vpnservice(self, fmt, name, admin_state_up, router_id, subnet_id, expected_res_status=None, **kwargs):

    def vpnservice(self, fmt=None, name='vpnservice1', subnet=None, router=None, admin_state_up=True, no_delete=False, plug_subnet=True, external_subnet_cidr='192.168.100.0/24', external_router=True, **kwargs):

    def _create_ipsec_site_connection(self, fmt, name='test', peer_address='192.168.1.10', peer_id='192.168.1.10', peer_cidrs=None, mtu=1500, psk='abcdefg', initiator='bi-directional', dpd_action='hold', dpd_interval=30, dpd_timeout=120, vpnservice_id='fake_id', ikepolicy_id='fake_id', ipsecpolicy_id='fake_id', admin_state_up=True, expected_res_status=None, **kwargs):

    def ipsec_site_connection(self, fmt=None, name='ipsec_site_connection1', peer_address='192.168.1.10', peer_id='192.168.1.10', peer_cidrs=None, mtu=1500, psk='abcdefg', initiator='bi-directional', dpd_action='hold', dpd_interval=30, dpd_timeout=120, vpnservice=None, ikepolicy=None, ipsecpolicy=None, admin_state_up=True, no_delete=False, **kwargs):

    def _check_ipsec_site_connection(self, ipsec_site_connection, keys, dpd):

    def _set_active(self, model, resource_id):

class VPNPluginDbTestCase(VPNTestMixin, test_l3_plugin.L3NatTestCaseMixin, test_db_plugin.NeutronDbPluginV2TestCase):

    def setUp(self, core_plugin=None, vpnaas_plugin=DB_VPN_PLUGIN_KLASS, vpnaas_provider=None):

class TestVpnaas(VPNPluginDbTestCase):

    def _check_policy(self, policy, keys, lifetime):

    def test_create_ikepolicy(self):

    def test_delete_ikepolicy(self):

    def test_show_ikepolicy(self):

    def test_list_ikepolicies(self):

    def test_list_ikepolicies_with_sort_emulated(self):

    def test_list_ikepolicies_with_pagination_emulated(self):

    def test_list_ikepolicies_with_pagination_reverse_emulated(self):

    def test_update_ikepolicy(self):

    def test_create_ikepolicy_with_invalid_values(self):

    def test_create_ipsecpolicy(self):

    def test_delete_ipsecpolicy(self):

    def test_show_ipsecpolicy(self):

    def test_list_ipsecpolicies(self):

    def test_list_ipsecpolicies_with_sort_emulated(self):

    def test_list_ipsecpolicies_with_pagination_emulated(self):

    def test_list_ipsecpolicies_with_pagination_reverse_emulated(self):

    def test_update_ipsecpolicy(self):

    def test_update_ipsecpolicy_lifetime(self):

    def test_create_ipsecpolicy_with_invalid_values(self):

    def test_create_vpnservice(self, **extras):

    def test_create_vpnservice_with_invalid_router(self):

    def test_create_vpnservice_with_router_no_external_gateway(self):

    def test_create_vpnservice_with_nonconnected_subnet(self):

    def test_delete_router_in_use_by_vpnservice(self):

    def test_update_vpnservice(self):

    def test_update_vpnservice_with_invalid_state(self):

    def test_delete_vpnservice(self):

    def test_show_vpnservice(self):

    def test_list_vpnservices(self):

    def test_list_vpnservices_with_sort_emulated(self):

    def test_list_vpnservice_with_pagination_emulated(self):

    def test_list_vpnservice_with_pagination_reverse_emulated(self):

    def test_create_ipsec_site_connection_with_invalid_values(self):

    def _test_create_ipsec_site_connection(self, key_overrides=None, setup_overrides=None, expected_status_int=200):

    def test_create_ipsec_site_connection(self, **extras):

    def test_create_ipsec_site_connection_invalid_mtu(self):

    def test_delete_ipsec_site_connection(self):

    def test_update_ipsec_site_connection(self):

    def test_update_ipsec_site_connection_with_invalid_dpd(self):

    def test_update_ipsec_site_connection_with_invalid_mtu(self):

    def test_update_ipsec_site_connection_with_invalid_state(self):

    def test_update_ipsec_site_connection_peer_cidrs(self):

    def _test_update_ipsec_site_connection(self, update={'name':

    def test_show_ipsec_site_connection(self):

    def test_list_ipsec_site_connections_with_sort_emulated(self):

    def test_list_ipsec_site_connections_with_pagination_emulated(self):

    def test_list_ipsec_site_conns_with_pagination_reverse_emulated(self):

    def test_create_vpn(self):

    def test_delete_ikepolicy_inuse(self):

    def test_delete_ipsecpolicy_inuse(self):

class TestVpnaasXML(TestVpnaas):

\OpenStack\neutron-2014.1\neutron\tests\unit\db\vpn\__init__.py

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

\OpenStack\neutron-2014.1\neutron\tests\unit\dummy_plugin.py

class Dummy(object):

    def get_name(cls):

    def get_alias(cls):

    def get_description(cls):

    def get_namespace(cls):

    def get_updated(cls):

    def get_resources(cls):

class DummyServicePlugin(ServicePluginBase):

    def __init__(self):

    def get_plugin_type(self):

    def get_plugin_name(self):

    def get_plugin_description(self):

    def get_dummys(self, context, filters, fields):

    def get_dummy(self, context, id, fields):

    def create_dummy(self, context, dummy):

    def update_dummy(self, context, id, dummy):

    def delete_dummy(self, context, id):

\OpenStack\neutron-2014.1\neutron\tests\unit\embrane\test_embrane_defaults.py

class ConfigurationTest(base.BaseTestCase):

    def test_defaults(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\embrane\test_embrane_l3_plugin.py

class TestEmbraneL3NatDBTestCase(router_test.L3NatDBIntTestCase):

    def setUp(self):

class ExtraRouteDBTestCase(extraroute_test.ExtraRouteDBIntTestCase):

\OpenStack\neutron-2014.1\neutron\tests\unit\embrane\test_embrane_neutron_plugin.py

class EmbranePluginV2TestCase(test_plugin.NeutronDbPluginV2TestCase):

    def setUp(self):

class TestEmbraneBasicGet(test_plugin.TestBasicGet, EmbranePluginV2TestCase):

class TestEmbraneV2HTTPResponse(test_plugin.TestV2HTTPResponse, EmbranePluginV2TestCase):

class TestEmbranePortsV2(test_plugin.TestPortsV2, EmbranePluginV2TestCase):

    def test_create_ports_bulk_emulated_plugin_failure(self):

    def test_recycle_expired_previously_run_within_context(self):

    def test_recycle_held_ip_address(self):

class TestEmbraneNetworksV2(test_plugin.TestNetworksV2, EmbranePluginV2TestCase):

    def test_create_networks_bulk_emulated_plugin_failure(self):

class TestEmbraneSubnetsV2(test_plugin.TestSubnetsV2, EmbranePluginV2TestCase):

    def test_create_subnets_bulk_emulated_plugin_failure(self):

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

\OpenStack\neutron-2014.1\neutron\tests\unit\extensions\extendedattribute.py

class Extendedattribute(extensions.ExtensionDescriptor):

    def get_name(cls):

    def get_alias(cls):

    def get_description(cls):

    def get_namespace(cls):

    def get_updated(cls):

    def get_extended_resources(self, version):

\OpenStack\neutron-2014.1\neutron\tests\unit\extensions\extensionattribute.py

class Extensionattribute(extensions.ExtensionDescriptor):

    def get_name(cls):

    def get_alias(cls):

    def get_description(cls):

    def get_namespace(cls):

    def get_updated(cls):

    def update_attributes_map(self, attributes):

    def get_resources(cls):

    def get_extended_resources(self, version):

class ExtensionObjectTestPluginBase(object):

    def create_ext_test_resource(self, context, router):

    def get_ext_test_resource(self, context, id, fields=None):

\OpenStack\neutron-2014.1\neutron\tests\unit\extensions\foxinsocks.py

class FoxInSocksController(wsgi.Controller):

    def index(self, request):

class FoxInSocksPluginInterface(extensions.PluginInterface):

    def method_to_support_foxnsox_extension(self):

class Foxinsocks(object):

    def __init__(self):

    def get_plugin_interface(self):

    def get_name(self):

    def get_alias(self):

    def get_description(self):

    def get_namespace(self):

    def get_updated(self):

    def get_resources(self):

    def get_actions(self):

    def get_request_extensions(self):

        def _goose_handler(req, res):

        def _bands_handler(req, res):

    def _add_tweedle_handler(self, input_dict, req, id):

    def _delete_tweedle_handler(self, input_dict, req, id):

\OpenStack\neutron-2014.1\neutron\tests\unit\extensions\v2attributes.py

class V2attributes(object):

    def get_name(self):

    def get_alias(self):

    def get_description(self):

    def get_namespace(self):

    def get_updated(self):

    def get_extended_resources(self, version):

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

\OpenStack\neutron-2014.1\neutron\tests\unit\extension_stubs.py

class StubExtension(object):

    def __init__(self, alias="stub_extension"):

    def get_name(self):

    def get_alias(self):

    def get_description(self):

    def get_namespace(self):

    def get_updated(self):

class StubPlugin(object):

    def __init__(self, supported_extensions=[]):

class ExtensionExpectingPluginInterface(StubExtension):

    def get_plugin_interface(self):

class StubPluginInterface(extensions.PluginInterface):

    def get_foo(self, bar=None):

class StubBaseAppController(wsgi.Controller):

    def index(self, request):

    def show(self, request, id):

    def update(self, request, id):

\OpenStack\neutron-2014.1\neutron\tests\unit\hyperv\test_hyperv_neutron_agent.py

class TestHyperVNeutronAgent(base.BaseTestCase):

    def setUp(self):

    def test_port_bound_enable_metrics(self):

    def test_port_bound_no_metrics(self):

    def _test_port_bound(self, enable_metrics):

    def test_port_unbound(self):

    def test_port_enable_control_metrics_ok(self):

    def test_port_enable_control_metrics_maxed(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_missing_port_id(self):

    def test_treat_devices_removed_returns_true_for_missing_device(self):

    def mock_treat_devices_removed(self, port_exists):

    def test_treat_devices_removed_unbinds_port(self):

    def test_treat_devices_removed_ignores_missing_port(self):

    def test_report_state(self):

    def test_main(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\hyperv\test_hyperv_neutron_plugin.py

class HyperVNeutronPluginTestCase(test_plugin.NeutronDbPluginV2TestCase):

    def setUp(self):

class TestHyperVVirtualSwitchBasicGet( test_plugin.TestBasicGet, HyperVNeutronPluginTestCase):

class TestHyperVVirtualSwitchV2HTTPResponse( test_plugin.TestV2HTTPResponse, HyperVNeutronPluginTestCase):

class TestHyperVVirtualSwitchPortsV2( test_plugin.TestPortsV2, HyperVNeutronPluginTestCase):

    def test_port_vif_details(self):

    def test_ports_vif_details(self):

class TestHyperVVirtualSwitchNetworksV2( test_plugin.TestNetworksV2, HyperVNeutronPluginTestCase):

\OpenStack\neutron-2014.1\neutron\tests\unit\hyperv\test_hyperv_rpcapi.py

class rpcHyperVApiTestCase(base.BaseTestCase):

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

    def test_delete_network(self):

    def test_port_update(self):

    def test_port_delete(self):

    def test_tunnel_update(self):

    def test_device_details(self):

    def test_update_device_down(self):

    def test_tunnel_sync(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\hyperv\test_hyperv_security_groups_driver.py

class TestHyperVSecurityGroupsDriver(base.BaseTestCase):

    def setUp(self):

    def test_prepare_port_filter(self, mock_create_rules):

    def test_update_port_filter(self):

    def test_update_port_filter_new_port(self, mock_method):

    def test_remove_port_filter(self):

    def test_create_port_rules_exception(self):

    def test_create_param_map(self):

    def test_create_port_rules(self, mock_method):

    def test_convert_any_address_to_same_ingress(self):

    def test_convert_any_address_to_same_egress(self):

    def test_convert_any_address_to_ipv4(self):

    def test_convert_any_address_to_ipv6(self):

    def _get_port(self):

    def _create_security_rule(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\hyperv\test_hyperv_utilsfactory.py

class TestHyperVUtilsFactory(base.BaseTestCase):

    def test_get_hypervutils_v2_r2(self):

    def test_get_hypervutils_v2(self):

    def test_get_hypervutils_v1_old_version(self):

    def test_get_hypervutils_v1_forced(self):

    def _test_returned_class(self, expected_class, force_v1, os_version):

\OpenStack\neutron-2014.1\neutron\tests\unit\hyperv\test_hyperv_utilsv2.py

class TestHyperVUtilsV2(base.BaseTestCase):

    def setUp(self):

    def test_connect_vnic_to_vswitch_found(self):

    def test_connect_vnic_to_vswitch_not_found(self):

    def _test_connect_vnic_to_vswitch(self, found):

    def test_add_virt_resource(self):

    def test_add_virt_feature(self):

    def test_modify_virt_resource(self):

    def test_remove_virt_resource(self):

    def test_remove_virt_feature(self):

    def _test_virt_method(self, vsms_method_name, return_count, utils_method_name, with_mock_vm, *args, **kwargs):

    def _mock_vsms_method(self, vsms_method, return_count):

    def test_disconnect_switch_port_delete_port(self):

    def test_disconnect_switch_port_modify_port(self):

    def _test_disconnect_switch_port(self, delete_port):

    def test_get_vswitch(self):

    def test_get_vswitch_not_found(self):

    def test_get_vswitch_external_port(self):

    def test_set_vswitch_port_vlan_id(self):

    def test_get_setting_data(self):

    def test_enable_port_metrics_collection(self):

    def test_enable_control_metrics_ok(self, mock_get_port_allocation):

    def test_enable_control_metrics_no_port(self, mock_get_port_allocation):

    def test_enable_control_metrics_no_def(self, mock_get_port_allocation):

    def test_can_enable_control_metrics_true(self, mock_get, mock_is_started):

    def test_can_enable_control_metrics_false(self, mock_get, mock_is_started):

    def _test_can_enable_control_metrics(self, mock_get_port, mock_vm_started, acls, expected_result):

    def test_is_port_vm_started_true(self):

    def test_is_port_vm_started_false(self):

    def _test_is_port_vm_started(self, vm_state, expected_result):

    def test_create_default_reject_all_rules(self, mock_bind, mock_remove):

    def test_bind_security_rule(self, mock_create_acl, mock_add, mock_remove):

    def test_remove_security_rule(self, mock_remove_feature):

    def _setup_security_rule_test(self):

    def test_filter_acls(self):

class TestHyperVUtilsV2R2(base.BaseTestCase):

    def setUp(self):

    def test_filter_security_acls(self):

    def test_filter_security_acls_default(self):

    def _test_filter_security_acls(self, local_port, protocol, remote_addr):

    def test_get_new_weight(self):

    def test_get_new_weight_no_acls(self):

    def test_get_new_weight_default_acls(self):

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

\OpenStack\neutron-2014.1\neutron\tests\unit\ibm\test_sdnve_agent.py

class CreateAgentConfigMap(base.BaseTestCase):

    def test_create_agent_config_map_succeeds(self):

    def test_create_agent_config_using_controller_ips(self):

    def test_create_agent_config_using_interface_mappings(self):

class TestSdnveNeutronAgent(base.BaseTestCase):

    def setUp(self):

    def test_setup_physical_interfaces(self):

    def test_setup_physical_interfaces_none(self):

    def test_get_info_set_controller(self):

    def test_get_info(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\ibm\test_sdnve_api.py

class TestSdnveApi(base.BaseTestCase):

    def setUp(self):

    def mock_do_request(self, method, url, body=None, headers=None, params=None, connection_type=None):

    def mock_do_request_tenant(self, method, url, body=None, headers=None, params=None, connection_type=None):

    def mock_do_request_no_tenant(self, method, url, body=None, headers=None, params=None, connection_type=None):

    def mock_process_request(self, body):

    def test_sdnve_api_list(self):

    def test_sdnve_api_show(self):

    def test_sdnve_api_create(self):

    def test_sdnve_api_update(self):

    def test_sdnve_api_delete(self):

    def test_sdnve_get_tenant_by_id(self):

    def test_sdnve_check_and_create_tenant(self):

    def test_sdnve_check_and_create_tenant_fail(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\ibm\test_sdnve_plugin.py

class MockClient(object):

    def sdnve_list(self, resource, **params):

    def sdnve_show(self, resource, specific, **params):

    def sdnve_create(self, resource, body):

    def sdnve_update(self, resource, specific, body=None):

    def sdnve_delete(self, resource, specific):

    def sdnve_get_tenant_byid(self, os_tenant_id):

    def sdnve_check_and_create_tenant( self, os_tenant_id, network_type=None):

    def sdnve_get_controller(self):

class MockKeystoneClient(object):

    def __init__(self, **kwargs):

    def get_tenant_type(self, id):

    def get_tenant_name(self, id):

class IBMPluginV2TestCase(test_plugin.NeutronDbPluginV2TestCase):

    def setUp(self):

class TestIBMBasicGet(test_plugin.TestBasicGet, IBMPluginV2TestCase):

class TestIBMV2HTTPResponse(test_plugin.TestV2HTTPResponse, IBMPluginV2TestCase):

class TestIBMNetworksV2(test_plugin.TestNetworksV2, IBMPluginV2TestCase):

class TestIBMPortsV2(test_plugin.TestPortsV2, IBMPluginV2TestCase):

class TestIBMSubnetsV2(test_plugin.TestSubnetsV2, IBMPluginV2TestCase):

class TestIBMPortBinding(IBMPluginV2TestCase, test_bindings.PortBindingsTestCase):

class IBMPluginRouterTestCase(test_l3_plugin.L3NatDBIntTestCase):

    def setUp(self):

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

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

class LbAgentSchedulerTestCase( test_agent_scheduler.OvsAgentSchedulerTestCase):

class LbL3AgentNotifierTestCase( test_agent_scheduler.OvsL3AgentNotifierTestCase):

class LbDhcpAgentNotifierTestCase( test_agent_scheduler.OvsDhcpAgentNotifierTestCase):

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

class ConfigurationTest(base.BaseTestCase):

    def test_defaults(self):

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

class NetworkStatesTest(base.BaseTestCase):

    def setUp(self):

    def test_sync_network_states(self):

    def test_network_pool(self):

    def test_specific_network_inside_pool(self):

    def test_specific_network_outside_pool(self):

class NetworkBindingsTest(test_plugin.NeutronDbPluginV2TestCase):

    def setUp(self):

    def test_add_network_binding(self):

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

class FakeIpLinkCommand(object):

    def set_up(self):

class FakeIpDevice(object):

    def __init__(self):

class TestLinuxBridge(base.BaseTestCase):

    def setUp(self):

    def test_ensure_physical_in_bridge_invalid(self):

    def test_ensure_physical_in_bridge_flat(self):

    def test_ensure_physical_in_bridge_vlan(self):

    def test_ensure_physical_in_bridge_vxlan(self):

class TestLinuxBridgeAgent(base.BaseTestCase):

    def setUp(self):

    def test_update_devices_failed(self):

        def info_mock(msg):

    def test_process_network_devices_failed(self):

        def info_mock(msg):

class TestLinuxBridgeManager(base.BaseTestCase):

    def setUp(self):

    def test_device_exists(self):

    def test_interface_exists_on_bridge(self):

    def test_get_bridge_name(self):

    def test_get_subinterface_name(self):

    def test_get_tap_device_name(self):

    def test_get_vxlan_device_name(self):

    def test_get_all_neutron_bridges(self):

    def test_get_interfaces_on_bridge(self):

    def test_get_tap_devices_count(self):

    def test_get_interface_by_ip(self):

    def test_get_bridge_for_tap_device(self):

    def test_is_device_on_bridge(self):

    def test_get_interface_details(self):

    def test_ensure_flat_bridge(self):

    def test_ensure_vlan_bridge(self):

    def test_ensure_local_bridge(self):

    def test_ensure_vlan(self):

    def test_ensure_vxlan(self):

    def test_update_interface_ip_details(self):

    def test_ensure_bridge(self):

    def test_ensure_physical_in_bridge(self):

OpenStack Index

Previous

Next