¡@

Home 

OpenStack Study: neutron

OpenStack Index

Previous

Next

    def test_delete_network_with_dhcp_port(self):

    def test_delete_network_with_error_status(self):

    def test_delete_network_with_ofc_deletion_failure(self):

    def test_delete_network_with_deactivating_auto_delete_port_failure(self):

    def test_update_port(self):

    def test_update_network_with_ofc_port(self):

    def _test_update_port_with_admin_state(self, resource='port'):

    def test_update_port_with_ofc_creation_failure(self):

    def test_update_port_with_ofc_deletion_failure(self):

    def test_delete_port_with_error_status(self):

    def test_delete_port_with_ofc_deletion_failure(self):

    def _test_delete_port_for_disappeared_ofc_port(self, raised_exc):

    def test_delete_port_for_nonexist_ofc_port(self):

    def test_delete_port_for_noofcmap_ofc_port(self):

class TestNecAllowedAddressPairs(NecPluginV2TestCase, test_pair.TestAllowedAddressPairs):

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

class FakeResponse(requests.Response):

    def __init__(self, status_code=None, text=None, headers=None):

    def text(self):

class OFCClientTest(base.BaseTestCase):

    def _test_do_request(self, status, resbody, expected_data, exctype=None, exc_checks=None, path_prefix=None):

    def test_do_request_200_json_value(self):

    def test_do_request_200_string(self):

    def test_do_request_200_no_body(self):

    def test_do_request_other_success_codes(self):

    def test_do_request_with_path_prefix(self):

    def test_do_request_returns_404(self):

    def test_do_request_error_no_body(self):

    def test_do_request_error_string_body(self):

    def test_do_request_error_json_body(self):

    def test_do_request_socket_error(self):

    def test_do_request_retry_fail_after_one_attempts(self):

    def test_do_request_retry_fail_with_max_attempts(self):

    def test_do_request_retry_succeed_with_2nd_attempt(self):

    def test_do_request_retry_succeed_with_1st_attempt(self):

    def _test_do_request_retry_after(self, exp_request_count, api_max_attempts=None, succeed_final=False):

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

class FakePortInfo(object):

    def __init__(self, id, datapath_id, port_no=0, vlan_id=65535, mac='00:

    def __getattr__(self, name):

class OFCManagerTestBase(base.BaseTestCase):

    def setUp(self):

    def get_random_params(self):

class OFCManagerTest(OFCManagerTestBase):

    def testa_create_ofc_tenant(self):

    def testb_exists_ofc_tenant(self):

    def testc_delete_ofc_tenant(self):

    def testd_create_ofc_network(self):

    def teste_exists_ofc_network(self):

    def testf_delete_ofc_network(self):

    def _mock_get_portinfo(self, port_id, datapath_id='0xabc', port_no=1):

    def _test_create_ofc_port(self, with_filter=False):

    def testg_create_ofc_port(self):

    def testg_create_ofc_port_with_filters(self):

    def testh_exists_ofc_port(self):

    def testi_delete_ofc_port(self):

class OFCManagerFilterTest(OFCManagerTestBase):

    def testj_create_ofc_packet_filter(self):

    def testk_exists_ofc_packet_filter(self):

    def testl_delete_ofc_packet_filter(self):

class OFCManagerRouterTest(OFCManagerTestBase):

    def get_random_params(self):

    def test_create_ofc_router(self):

    def test_exists_ofc_router(self):

    def test_delete_ofc_router(self):

    def test_router_interface(self):

    def test_router_route(self):

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

class PacketfilterExtensionManager(ext_pf.Packetfilter):

    def get_resources(cls):

class TestNecPluginPacketFilterBase(test_nec_plugin.NecPluginV2TestCase):

    def setUp(self):

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

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

    def packet_filter_on_network(self, network=None, fmt=None, do_delete=True, **kwargs):

    def packet_filter_on_port(self, port=None, fmt=None, do_delete=True, set_portinfo=True, **kwargs):

class TestNecPluginPacketFilter(TestNecPluginPacketFilterBase):

    def setUp(self):

    def test_list_packet_filters(self):

    def test_create_pf_on_network_no_ofc_creation(self):

    def test_create_pf_on_port_no_ofc_creation(self):

    def test_create_pf_on_network_with_ofc_creation(self):

    def test_create_pf_on_port_with_ofc_creation(self):

    def _test_create_pf_with_protocol(self, protocol, expected_eth_type):

    def test_create_pf_with_protocol_tcp(self):

    def test_create_pf_with_protocol_udp(self):

    def test_create_pf_with_protocol_icmp(self):

    def test_create_pf_with_protocol_arp(self):

    def test_create_pf_with_inconsistent_protocol_and_eth_type(self):

    def test_create_pf_with_invalid_priority(self):

    def test_create_pf_with_ofc_creation_failure(self):

    def test_show_pf_on_network(self):

    def test_show_pf_on_network_with_wildcards(self):

    def test_show_pf_on_port(self):

    def test_show_pf_not_found(self):

    def test_update_pf_on_network(self):

    def test_update_pf_on_port(self):

    def test_delete_pf_with_error_status(self):

    def test_activate_pf_on_port_triggered_by_update_port(self):

    def test_activate_pf_while_exists_on_ofc(self):

    def test_deactivate_pf_with_ofc_deletion_failure(self):

    def test_delete_pf_with_ofc_deletion_failure(self):

    def test_auto_delete_pf_in_network_deletion(self):

    def test_auto_delete_pf_in_port_deletion(self):

    def test_no_pf_activation_while_port_operations(self):

class TestNecPluginPacketFilterWithValidate(TestNecPluginPacketFilterBase):

    def setUp(self):

    def test_create_pf_on_network(self):

    def test_update_pf_on_network(self):

    def test_create_pf_on_network_with_validation_error(self):

    def test_update_pf_on_network_with_validation_error(self):

class TestNecPluginPacketFilterWithFilterUpdate(TestNecPluginPacketFilterBase):

    def setUp(self):

    def test_update_pf_toggle_admin_state(self):

    def test_update_pf_change_field(self):

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

class TestConfig(object):

def _ofc(id):

class PFCDriverTestBase(base.BaseTestCase):

    def setUp(self):

    def get_ofc_item_random_params(self):

    def _generate_ofc_tenant_id(self, tenant_id):

    def get_ofc_description(self, desc):

    def _create_tenant(self, t, ofc_t, post_id=False, post_desc=False):

    def testa_create_tenant(self):

    def testc_delete_tenant(self):

    def testd_create_network(self):

    def testf_delete_network(self):

    def _test_create_port(self, call_filters_arg=None, send_filters_arg=None):

    def testg_create_port(self):

    def test_create_port_with_filters_argument(self):

    def testh_delete_port(self):

    def test_filter_supported(self):

class PFCDriverBaseTest(PFCDriverTestBase):

    def test_extract_ofc_network_id(self):

    def test_extract_ofc_network_id_failure(self):

    def test_extract_ofc_port_id(self):

    def test_extract_ofc_port_id_failure(self):

class PFCV3DriverTest(PFCDriverTestBase):

    def testa_create_tenant(self):

    def testc_delete_tenant(self):

class PFCV4DriverTest(PFCDriverTestBase):

class PFCV5DriverTest(PFCDriverTestBase):

    def test_create_router(self):

    def test_delete_router(self):

    def test_add_router_interface(self):

    def test_update_router_interface(self):

    def test_delete_router_interface(self):

    def _get_route_id(self, dest, nexthop):

    def test_add_router_route(self):

    def test_delete_router_route(self):

    def test_list_router_routes(self):

class PFCFilterDriverTestMixin:

    def _test_create_filter(self, filter_dict=None, filter_post=None, apply_ports=None):

    def test_create_filter_accept(self):

    def test_create_filter_allow(self):

    def test_create_filter_deny(self):

    def test_create_filter_drop(self):

    def test_create_filter_empty_field_not_post(self):

    def test_create_filter_none_field_not_post(self):

    def test_create_filter_all_fields(self):

    def test_create_filter_cidr_ip_addr_32(self):

    def test_create_filter_proto_tcp(self):

    def test_create_filter_proto_udp(self):

    def test_create_filter_proto_icmp(self):

    def test_create_filter_proto_arp_not_proto_post(self):

    def test_create_filter_apply_ports(self):

    def _test_update_filter(self, filter_dict=None, filter_post=None):

    def test_update_filter_empty_fields(self):

    def test_update_filter_none_fields(self):

    def test_update_filter_all_fields(self):

    def test_update_filter_cidr_ip_addr_32(self):

    def test_update_filter_proto_tcp(self):

    def test_update_filter_proto_udp(self):

    def test_update_filter_proto_icmp(self):

    def test_update_filter_proto_arp_post_empty(self):

    def test_delete_filter(self):

    def _test_validate_filter_duplicate_priority(self, method, found_dup):

    def test_validate_filter_create_no_duplicate_priority(self):

    def test_validate_filter_create_duplicate_priority(self):

    def test_validate_filter_update_action_raises_error(self):

    def test_validate_filter_update_priority_raises_error(self):

    def _test_validate_filter_ipv6_not_supported(self, field, create=True):

    def test_validate_filter_create_ipv6_not_supported(self):

    def test_validate_filter_update_ipv6_not_supported(self):

    def _test_validate_filter_priority_range_one(self, method, priority, ok):

    def test_validate_filter_create_priority_range(self):

class PFCV51DriverTest(PFCFilterDriverTestMixin, PFCV5DriverTest):

    def test_create_port_with_filters_argument(self):

class PFCDriverStringTest(base.BaseTestCase):

    def setUp(self):

    def test_generate_pfc_id_uuid(self):

    def test_generate_pfc_id_uuid_no_hyphen(self):

    def test_generate_pfc_id_string(self):

    def test_generate_pfc_desc(self):

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

class TestNecPortBinding(test_bindings.PortBindingsTestCase, test_nec_plugin.NecPluginV2TestCase):

    def setUp(self):

class TestNecPortBindingNoSG(TestNecPortBinding):

class TestNecPortBindingHost( test_bindings.PortBindingsHostTestCaseMixin, test_nec_plugin.NecPluginV2TestCase):

class TestNecPortBindingPortInfo(test_nec_plugin.NecPluginV2TestCase):

    def _get_portinfo(self, datapath_id=None, port_no=None):

    def _check_response_portbinding_profile(self, port, datapath_id=None, port_no=None):

    def _check_response_portbinding_no_profile(self, port):

    def _get_non_admin_context(self):

    def test_port_create_portinfo(self):

    def test_port_update_portinfo(self):

    def test_port_update_portinfo_detail(self):

    def test_port_update_portinfo_detail_clear_with_none(self):

    def test_port_create_portinfo_with_empty_dict(self):

    def test_port_create_portinfo_with_none(self):

    def test_port_update_for_existing_port_with_different_padding_dpid(self):

    def test_port_create_portinfo_non_admin(self):

    def test_port_update_portinfo_non_admin(self):

    def test_port_create_portinfo_validation_called(self):

class TestNecPortBindingValidatePortInfo(test_nec_plugin.NecPluginV2TestCase):

    def test_validate_portinfo_ok(self):

    def test_validate_portinfo_ok_without_0x(self):

    def _test_validate_exception(self, profile, expected_msg):

    def test_validate_portinfo_dict_validation(self):

    def test_validate_portinfo_negative_port_number(self):

    def test_validate_portinfo_invalid_datapath_id(self):

    def test_validate_portinfo_too_big_port_number(self):

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

class NecRouterL3AgentTestCase(test_ext_route.ExtraRouteDBIntTestCase):

    def setUp(self):

    def test_floatingip_with_invalid_create_port(self):

class NecRouterOpenFlowTestCase(NecRouterL3AgentTestCase):

    def setUp(self):

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

class NecSecurityGroupsTestCase(test_sg.SecurityGroupDBTestCase):

    def setUp(self, plugin=None):

    def tearDown(self):

class TestNecSGServerRpcCallBack( test_sg_rpc.SGServerRpcCallBackMixinTestCase, NecSecurityGroupsTestCase):

class TestNecSGServerRpcCallBackXML( test_sg_rpc.SGServerRpcCallBackMixinTestCaseXML, NecSecurityGroupsTestCase):

class TestNecSecurityGroups(NecSecurityGroupsTestCase, test_sg.TestSecurityGroups, test_sg_rpc.SGNotificationTestMixin):

    def test_security_group_get_port_from_device(self):

class TestNecSecurityGroupsXML(TestNecSecurityGroups):

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

class TestConfig(object):

class TremaDriverTestBase(base.BaseTestCase):

    def setUp(self):

    def get_ofc_item_random_params(self):

class TremaDriverNetworkTestBase(TremaDriverTestBase):

    def test_create_tenant(self):

    def test_update_tenant(self):

    def testc_delete_tenant(self):

    def testa_create_network(self):

    def testc_delete_network(self):

class TremaPortBaseDriverTest(TremaDriverNetworkTestBase):

    def test_filter_supported(self):

    def testd_create_port(self):

    def testd_delete_port(self):

class TremaPortMACBaseDriverTest(TremaDriverNetworkTestBase):

    def test_filter_supported(self):

    def testd_create_port(self):

    def testd_delete_port(self):

class TremaMACBaseDriverTest(TremaDriverNetworkTestBase):

    def test_filter_supported(self):

    def testd_create_port(self):

    def testd_delete_port(self):

class TremaFilterDriverTest(TremaDriverTestBase):

    def _test_create_filter(self, filter_dict=None, filter_post=None, filter_wildcards=None, no_portinfo=False):

    def test_create_filter_accept(self):

    def test_create_filter_allow(self):

    def test_create_filter_deny(self):

    def test_create_filter_drop(self):

    def test_create_filter_no_port(self):

    def test_create_filter_src_mac_wildcard(self):

    def test_create_filter_dst_mac(self):

    def test_create_filter_src_cidr(self):

    def test_create_filter_dst_cidr(self):

    def test_create_filter_proto_icmp(self):

    def test_create_filter_proto_tcp(self):

    def test_create_filter_proto_udp(self):

    def test_create_filter_proto_arp(self):

    def test_create_filter_proto_misc(self):

    def test_create_filter_proto_misc_dl_type_wildcard(self):

    def test_create_filter_proto_wildcard(self):

    def test_create_filter_src_dst_port(self):

    def testb_delete_filter(self):

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

class NecUtilsTest(base.BaseTestCase):

    def test_cmp_dpid(self):

    def test_cmp_dpid_with_exception(self):

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

\OpenStack\neutron-2014.1\neutron\tests\unit\notifiers\test_notifiers_nova.py

class TestNovaNotify(base.BaseTestCase):

    def setUp(self, plugin=None):

    def test_notify_port_status_all_values(self):

    def test_port_without_uuid_device_id_no_notify(self):

    def test_port_without_device_owner_no_notify(self):

    def test_port_without_device_id_no_notify(self):

    def test_port_without_id_no_notify(self):

    def test_non_compute_instances_no_notify(self):

    def _record_port_status_changed_helper(self, current_port_status, previous_port_status, port):

    def test_update_fixed_ip_changed(self):

    def test_create_floatingip_notify(self):

    def test_create_floatingip_no_port_id_no_notify(self):

    def test_delete_floatingip_notify(self):

    def test_delete_floatingip_no_port_id_no_notify(self):

    def test_associate_floatingip_notify(self):

    def test_disassociate_floatingip_notify(self):

    def test_no_notification_notify_nova_on_port_data_changes_false(self):

    def test_nova_send_events_returns_bad_list(self):

    def test_nova_send_events_raises(self):

    def test_nova_send_events_returns_non_200(self):

    def test_nova_send_events_return_200(self):

    def test_nova_send_events_multiple(self):

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

\OpenStack\neutron-2014.1\neutron\tests\unit\nuage\fake_nuageclient.py

class FakeNuageClient(object):

    def __init__(self, server, base_uri, serverssl, serverauth, auth_resource, organization):

    def rest_call(self, action, resource, data, extra_headers=None):

    def vms_on_l2domain(self, l2dom_id):

    def create_subnet(self, neutron_subnet, params):

    def delete_subnet(self, id, template_id):

    def create_router(self, neutron_router, router, params):

    def delete_router(self, id):

    def delete_user(self, id):

    def delete_group(self, id):

    def create_domain_subnet(self, neutron_subnet, params):

    def delete_domain_subnet(self, id):

    def create_net_partition(self, params):

    def delete_net_partition(self, id, l3dom_id=None, l2dom_id=None):

    def check_del_def_net_partition(self, ent_name):

    def create_vms(self, params):

    def delete_vms(self, params):

\OpenStack\neutron-2014.1\neutron\tests\unit\nuage\test_netpartition.py

class NetPartitionTestExtensionManager(object):

    def get_resources(self):

    def get_actions(self):

    def get_request_extensions(self):

class NetPartitionTestCase(test_nuage_plugin.NuagePluginV2TestCase):

    def setUp(self):

    def _make_netpartition(self, fmt, name):

    def _del_netpartition(self, id):

    def netpartition(self, name='netpartition1', do_delete=True, fmt=None, **kwargs):

    def test_create_netpartition(self):

    def test_delete_netpartition(self):

    def test_show_netpartition(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\nuage\test_nuage_plugin.py

class NuagePluginV2TestCase(test_db_plugin.NeutronDbPluginV2TestCase):

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

        def mock_nuageClient_init(self):

class TestNuageBasicGet(NuagePluginV2TestCase, test_db_plugin.TestBasicGet):

class TestNuageV2HTTPResponse(NuagePluginV2TestCase, test_db_plugin.TestV2HTTPResponse):

class TestNuageNetworksV2(NuagePluginV2TestCase, test_db_plugin.TestNetworksV2):

class TestNuageSubnetsV2(NuagePluginV2TestCase, test_db_plugin.TestSubnetsV2):

    def test_create_subnet_bad_hostroutes(self):

    def test_create_subnet_inconsistent_ipv4_hostroute_dst_v6(self):

    def test_create_subnet_inconsistent_ipv4_hostroute_np_v6(self):

    def test_update_subnet_adding_additional_host_routes_and_dns(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_with_one_host_route(self):

    def test_create_subnet_with_two_host_routes(self):

    def test_create_subnet_with_too_many_routes(self):

    def test_update_subnet_route(self):

    def test_update_subnet_route_to_None(self):

    def test_update_subnet_route_with_too_many_entries(self):

    def test_delete_subnet_with_route(self):

    def test_delete_subnet_with_dns_and_route(self):

    def test_validate_subnet_host_routes_exhausted(self):

    def test_validate_subnet_dns_nameservers_exhausted(self):

    def test_create_subnet_with_none_gateway(self):

    def test_create_subnet_with_none_gateway_fully_allocated(self):

    def test_create_subnet_with_none_gateway_allocation_pool(self):

class TestNuagePluginPortBinding(NuagePluginV2TestCase, test_bindings.PortBindingsTestCase):

    def setUp(self):

class TestNuagePortsV2(NuagePluginV2TestCase, test_db_plugin.TestPortsV2):

class TestNuageL3NatTestCase(NuagePluginV2TestCase, test_l3_plugin.L3NatDBIntTestCase):

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

\OpenStack\neutron-2014.1\neutron\tests\unit\ofagent\fake_oflib.py

def patch_fake_oflib_of():

\OpenStack\neutron-2014.1\neutron\tests\unit\ofagent\test_ofa_defaults.py

class ConfigurationTest(base.BaseTestCase):

    def test_ml2_defaults(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\ofagent\test_ofa_neutron_agent.py

class OFAAgentTestCase(base.BaseTestCase):

    def setUp(self):

class CreateAgentConfigMap(OFAAgentTestCase):

    def test_create_agent_config_map_succeeds(self):

    def test_create_agent_config_map_fails_for_invalid_tunnel_config(self):

    def test_create_agent_config_map_enable_tunneling(self):

    def test_create_agent_config_map_fails_no_local_ip(self):

    def test_create_agent_config_map_fails_for_invalid_tunnel_type(self):

    def test_create_agent_config_map_multiple_tunnel_types(self):

class TestOFANeutronAgentOVSBridge(OFAAgentTestCase):

    def setUp(self):

    def test_find_datapath_id(self):

    def _fake_get_datapath(self, app, datapath_id):

    def test_get_datapath_normal(self):

    def test_get_datapath_retry_out_by_default_time(self):

    def test_get_datapath_retry_out_by_specified_time(self):

    def test_setup_ofp_default_par(self):

    def test_setup_ofp_specify_par(self):

    def test_setup_ofp_with_except(self):

class TestOFANeutronAgent(OFAAgentTestCase):

    def setUp(self):

    def _mock_port_bound(self, ofport=None):

    def test_port_bound_deletes_flows_for_valid_ofport(self):

    def test_port_bound_ignores_flows_for_invalid_ofport(self):

    def test_port_dead(self):

    def mock_update_ports(self, vif_port_set=None, registered_ports=None):

    def test_update_ports_returns_none_for_unchanged_ports(self):

    def test_update_ports_returns_port_changes(self):

    def test_treat_devices_added_returns_true_for_missing_device(self):

    def _mock_treat_devices_added(self, details, port, func_name):

    def test_treat_devices_added_ignores_invalid_ofport(self):

    def test_treat_devices_added_marks_unknown_port_as_dead(self):

    def test_treat_devices_added_updates_known_port(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_process_network_ports(self):

    def test_report_state(self):

    def test_network_delete(self):

    def test_port_update(self):

    def test_port_update_plugin_rpc_failed(self):

    def test_setup_physical_bridges(self):

    def test_port_unbound(self):

    def _check_ovs_vxlan_version(self, installed_usr_version, installed_klm_version, installed_kernel_version, expecting_ok):

    def test_check_minimum_version(self):

    def test_check_future_version(self):

    def test_check_fail_version(self):

    def test_check_fail_no_version(self):

    def test_check_fail_klm_version(self):

    def test_daemon_loop_uses_polling_manager(self):

    def test_setup_tunnel_port_error_negative(self):

    def test_setup_tunnel_port_error_not_int(self):

class AncillaryBridgesTest(OFAAgentTestCase):

    def setUp(self):

    def _test_ancillary_bridges(self, bridges, ancillary):

        def pullup_side_effect(self, *args):

    def test_ancillary_bridges_single(self):

    def test_ancillary_bridges_none(self):

    def test_ancillary_bridges_multiple(self):

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

\OpenStack\neutron-2014.1\neutron\tests\unit\oneconvergence\test_nvsdlib.py

class TestNVSDApi(base.BaseTestCase):

    def setUp(self):

    def test_create_network(self):

    def test_update_network(self):

    def test_delete_network(self):

    def test_create_port(self):

    def test_update_port(self):

    def test_delete_port(self):

    def test_create_subnet(self):

    def test_update_subnet(self):

    def test_delete_subnet(self):

    def test_create_floatingip(self):

    def test_update_floatingip(self):

    def test_delete_floatingip(self):

    def test_create_router(self):

    def test_update_router(self):

    def test_delete_router(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\oneconvergence\test_nvsd_agent.py

class TestOneConvergenceAgentBase(base.BaseTestCase):

    def setUp(self):

class TestOneConvergenceAgentCallback(TestOneConvergenceAgentBase):

    def test_port_update(self):

class TestNVSDAgent(TestOneConvergenceAgentBase):

    def _setup_mock(self):

    def test_daemon_loop(self):

        def state_check(index):

        def sleep_mock(*args, **kwargs):

class TestOneConvergenceAgentMain(base.BaseTestCase):

    def test_main(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\oneconvergence\test_nvsd_plugin.py

class OneConvergencePluginV2TestCase(test_plugin.NeutronDbPluginV2TestCase):

    def setUp(self):

        def mocked_oneconvergence_init(self):

class TestOneConvergencePluginNetworksV2(test_plugin.TestNetworksV2, OneConvergencePluginV2TestCase):

class TestOneConvergencePluginSubnetsV2(test_plugin.TestSubnetsV2, OneConvergencePluginV2TestCase):

    def test_update_subnet_inconsistent_ipv6_gatewayv4(self):

    def test_create_subnet_with_v6_allocation_pool(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_ipv6_attributes(self):

    def test_create_subnet_ipv6_single_attribute_set(self):

    def test_update_subnet_ipv6_attributes(self):

    def test_update_subnet_ipv6_inconsistent_enable_dhcp(self):

    def test_update_subnet_ipv6_inconsistent_ra_attribute(self):

    def test_update_subnet_ipv6_inconsistent_address_attribute(self):

class TestOneConvergencePluginPortsV2(test_plugin.TestPortsV2, test_bindings.PortBindingsTestCase, OneConvergencePluginV2TestCase):

    def test_requested_subnet_id_v4_and_v6(self):

    def test_port_vif_details(self):

    def test_ports_vif_details(self):

class TestOneConvergenceBasicGet(test_plugin.TestBasicGet, OneConvergencePluginV2TestCase):

class TestOneConvergenceV2HTTPResponse(test_plugin.TestV2HTTPResponse, OneConvergencePluginV2TestCase):

class TestOneConvergenceL3NatTestCase(test_l3_plugin.L3NatDBIntTestCase):

    def setUp(self):

        def mocked_oneconvergence_init(self):

    def test_floatingip_with_invalid_create_port(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\oneconvergence\test_plugin_helper.py

class TestPluginHelper(base.BaseTestCase):

    def setUp(self):

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

    def test_login(self):

    def test_request(self):

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

class OneConvergenceSecurityGroupsTestCase(test_sg.SecurityGroupDBTestCase):

    def setUp(self):

        def mocked_oneconvergence_init(self):

    def tearDown(self):

class TestOneConvergenceSGServerRpcCallBack( OneConvergenceSecurityGroupsTestCase, test_sg_rpc.SGServerRpcCallBackMixinTestCase):

    def test_security_group_rules_for_devices_ipv6_egress(self):

    def test_security_group_rules_for_devices_ipv6_ingress(self):

    def test_security_group_rules_for_devices_ipv6_source_group(self):

class TestOneConvergenceSGServerRpcCallBackXML( OneConvergenceSecurityGroupsTestCase, test_sg_rpc.SGServerRpcCallBackMixinTestCaseXML):

    def test_security_group_rules_for_devices_ipv6_egress(self):

    def test_security_group_rules_for_devices_ipv6_ingress(self):

    def test_security_group_rules_for_devices_ipv6_source_group(self):

class TestOneConvergenceSecurityGroups(OneConvergenceSecurityGroupsTestCase, test_sg.TestSecurityGroups, test_sg_rpc.SGNotificationTestMixin):

    def test_security_group_get_port_from_device(self):

    def test_security_group_get_port_from_device_with_no_port(self):

class TestOneConvergenceSecurityGroupsXML(TestOneConvergenceSecurityGroups):

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

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

class AgentSchedulerTestMixIn(object):

    def _request_list(self, path, admin_context=True, expected_code=exc.HTTPOk.code):

    def _path_req(self, path, method='GET', data=None, query_string=None, admin_context=True):

    def _path_create_request(self, path, data, admin_context=True):

    def _path_show_request(self, path, admin_context=True):

    def _path_delete_request(self, path, admin_context=True):

    def _path_update_request(self, path, data, admin_context=True):

    def _list_routers_hosted_by_l3_agent(self, agent_id, expected_code=exc.HTTPOk.code, admin_context=True):

    def _list_networks_hosted_by_dhcp_agent(self, agent_id, expected_code=exc.HTTPOk.code, admin_context=True):

    def _list_l3_agents_hosting_router(self, router_id, expected_code=exc.HTTPOk.code, admin_context=True):

    def _list_dhcp_agents_hosting_network(self, network_id, expected_code=exc.HTTPOk.code, admin_context=True):

    def _add_router_to_l3_agent(self, id, router_id, expected_code=exc.HTTPCreated.code, admin_context=True):

    def _add_network_to_dhcp_agent(self, id, network_id, expected_code=exc.HTTPCreated.code, admin_context=True):

    def _remove_network_from_dhcp_agent(self, id, network_id, expected_code=exc.HTTPNoContent.code, admin_context=True):

    def _remove_router_from_l3_agent(self, id, router_id, expected_code=exc.HTTPNoContent.code, admin_context=True):

    def _register_one_agent_state(self, agent_state):

    def _disable_agent(self, agent_id, admin_state_up=False):

    def _get_agent_id(self, agent_type, host):

class OvsAgentSchedulerTestCaseBase(test_l3_plugin.L3NatTestCaseMixin, test_agent_ext_plugin.AgentDBTestMixIn, AgentSchedulerTestMixIn, test_plugin.NeutronDbPluginV2TestCase):

    def setUp(self):

    def restore_attribute_map(self):

class OvsAgentSchedulerTestCase(OvsAgentSchedulerTestCaseBase):

    def test_report_states(self):

    def test_network_scheduling_on_network_creation(self):

    def test_network_auto_schedule_with_disabled(self):

    def test_network_auto_schedule_with_no_dhcp(self):

    def test_network_auto_schedule_with_multiple_agents(self):

    def test_network_auto_schedule_restart_dhcp_agent(self):

    def test_network_auto_schedule_with_hosted(self):

    def test_network_auto_schedule_with_hosted_2(self):

    def test_network_scheduling_on_port_creation(self):

    def test_network_ha_scheduling_on_port_creation(self):

    def test_network_ha_scheduling_on_port_creation_with_new_agent(self):

    def test_network_scheduler_with_disabled_agent(self):

    def test_network_scheduler_with_down_agent(self):

    def test_network_scheduler_with_hosted_network(self):

    def test_network_policy(self):

    def test_network_add_to_dhcp_agent(self):

    def test_network_remove_from_dhcp_agent(self):

    def test_router_auto_schedule_with_invalid_router(self):

    def test_router_auto_schedule_with_hosted(self):

    def test_router_auto_schedule_restart_l3_agent(self):

    def test_router_auto_schedule_with_hosted_2(self):

    def test_router_auto_schedule_with_disabled(self):

    def test_router_auto_schedule_with_candidates(self):

    def test_rpc_sync_routers(self):

    def test_router_auto_schedule_for_specified_routers(self):

        def _sync_router_with_ids(router_ids, exp_synced, exp_hosted, host_id):

    def test_router_schedule_with_candidates(self):

    def test_router_without_l3_agents(self):

    def test_router_sync_data(self):

    def test_router_add_to_l3_agent(self):

    def test_router_add_to_l3_agent_two_times(self):

    def test_router_add_to_two_l3_agents(self):

    def test_router_policy(self):

class OvsDhcpAgentNotifierTestCase(test_l3_plugin.L3NatTestCaseMixin, test_agent_ext_plugin.AgentDBTestMixIn, AgentSchedulerTestMixIn, test_plugin.NeutronDbPluginV2TestCase):

    def setUp(self):

    def restore_attribute_map(self):

    def test_network_add_to_dhcp_agent_notification(self):

    def test_network_remove_from_dhcp_agent_notification(self):

    def test_agent_updated_dhcp_agent_notification(self):

    def _network_port_create( self, hosts, gateway=attributes.ATTR_NOT_SPECIFIED, owner=None):

    def _notification_mocks(self, hosts, mock_dhcp, net, subnet, port):

    def test_network_port_create_notification(self):

    def test_network_ha_port_create_notification(self):

class OvsL3AgentNotifierTestCase(test_l3_plugin.L3NatTestCaseMixin, test_agent_ext_plugin.AgentDBTestMixIn, AgentSchedulerTestMixIn, test_plugin.NeutronDbPluginV2TestCase):

    def setUp(self):

    def restore_attribute_map(self):

    def test_router_add_to_l3_agent_notification(self):

    def test_router_remove_from_l3_agent_notification(self):

    def test_agent_updated_l3_agent_notification(self):

class OvsAgentSchedulerTestCaseXML(OvsAgentSchedulerTestCase):

\OpenStack\neutron-2014.1\neutron\tests\unit\openvswitch\test_openvswitch_plugin.py

class OpenvswitchPluginV2TestCase(test_plugin.NeutronDbPluginV2TestCase):

    def setUp(self):

class TestOpenvswitchBasicGet(test_plugin.TestBasicGet, OpenvswitchPluginV2TestCase):

class TestOpenvswitchV2HTTPResponse(test_plugin.TestV2HTTPResponse, OpenvswitchPluginV2TestCase):

class TestOpenvswitchPortsV2(test_plugin.TestPortsV2, OpenvswitchPluginV2TestCase):

    def test_update_port_status_build(self):

class TestOpenvswitchNetworksV2(test_plugin.TestNetworksV2, OpenvswitchPluginV2TestCase):

class TestOpenvswitchPortBinding(OpenvswitchPluginV2TestCase, test_bindings.PortBindingsTestCase):

    def setUp(self, firewall_driver=None):

class TestOpenvswitchPortBindingNoSG(TestOpenvswitchPortBinding):

class TestOpenvswitchPortBindingHost( OpenvswitchPluginV2TestCase, test_bindings.PortBindingsHostTestCaseMixin):

class TestOpenvswitchAllowedAddressPairs(OpenvswitchPluginV2TestCase, test_pair.TestAllowedAddressPairs):

\OpenStack\neutron-2014.1\neutron\tests\unit\openvswitch\test_ovs_db.py

class VlanAllocationsTest(base.BaseTestCase):

    def setUp(self):

    def test_sync_vlan_allocations(self):

    def test_vlan_pool(self):

    def test_specific_vlan_inside_pool(self):

    def test_specific_vlan_outside_pool(self):

    def test_sync_with_allocated_false(self):

class TunnelAllocationsTest(base.BaseTestCase):

    def setUp(self):

    def test_sync_tunnel_allocations(self):

    def test_tunnel_pool(self):

    def test_add_tunnel_endpoints(self):

    def test_specific_tunnel_inside_pool(self):

    def test_specific_tunnel_outside_pool(self):

    def test_add_tunnel_endpoint_create_new_endpoint(self):

    def test_add_tunnel_endpoint_retrieve_an_existing_endpoint(self):

    def test_add_tunnel_endpoint_handle_duplicate_error(self):

class NetworkBindingsTest(test_plugin.NeutronDbPluginV2TestCase):

    def setUp(self):

    def test_add_network_binding(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\openvswitch\test_ovs_defaults.py

class ConfigurationTest(base.BaseTestCase):

    def test_defaults(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\openvswitch\test_ovs_lib.py

class TestBaseOVS(base.BaseTestCase):

    def setUp(self):

    def test_add_bridge(self):

    def test_delete_bridge(self):

    def test_bridge_exists_returns_true(self):

    def test_bridge_exists_returns_false_for_exit_code_2(self):

    def test_bridge_exists_raises_unknown_exception(self):

    def test_get_bridge_name_for_port_name_returns_bridge_for_valid_port(self):

    def test_get_bridge_name_for_port_name_returns_none_for_exit_code_1(self):

    def test_get_bridge_name_for_port_name_raises_unknown_exception(self):

    def _test_port_exists(self, br_name, result):

    def test_port_exists_returns_true_for_bridge_name(self):

    def test_port_exists_returns_false_for_none(self):

class OVS_Lib_Test(base.BaseTestCase):

    def setUp(self):

    def test_vifport(self):

    def test_set_controller(self):

    def test_del_controller(self):

    def test_get_controller(self):

    def test_set_protocols(self):

    def test_create(self):

    def test_destroy(self):

    def test_reset_bridge(self):

    def _build_timeout_opt(self, exp_timeout):

    def _test_delete_port(self, exp_timeout=None):

    def test_delete_port(self):

    def test_call_command_non_default_timeput(self):

    def test_add_flow(self):

    def test_add_flow_timeout_set(self):

    def test_add_flow_default_priority(self):

    def test_get_port_ofport(self):

    def test_get_datapath_id(self):

    def test_count_flows(self):

    def test_delete_flow(self):

    def test_delete_flow_with_priority_set(self):

    def test_mod_flow_with_priority_set(self):

    def test_mod_flow_no_actions_set(self):

    def test_defer_apply_flows(self):

    def test_add_tunnel_port(self):

    def test_add_patch_port(self):

    def _test_get_vif_ports(self, is_xen=False):

    def _encode_ovs_json(self, headings, data):

    def _test_get_vif_port_set(self, is_xen):

    def test_get_vif_ports_nonxen(self):

    def test_get_vif_ports_xen(self):

    def test_get_vif_port_set_nonxen(self):

    def test_get_vif_port_set_xen(self):

    def test_get_vif_ports_list_ports_error(self):

    def test_get_vif_port_set_list_ports_error(self):

    def test_get_vif_port_set_list_interface_error(self):

    def test_get_port_tag_dict(self):

    def test_clear_db_attribute(self):

    def _test_iface_to_br(self, exp_timeout=None):

    def test_iface_to_br(self):

    def test_iface_to_br_non_default_timeout(self):

    def test_iface_to_br_handles_ovs_vsctl_exception(self):

    def test_delete_all_ports(self):

    def test_delete_neutron_ports(self):

    def test_delete_neutron_ports_list_error(self):

    def _test_get_bridges(self, exp_timeout=None):

    def test_get_bridges(self):

    def test_get_bridges_not_default_timeout(self):

    def test_get_local_port_mac_succeeds(self):

    def test_get_local_port_mac_raises_exception_for_missing_mac(self):

    def _test_get_vif_port_by_id(self, iface_id, data, br_name=None):

    def _test_get_vif_port_by_id_with_data(self, ofport=None, mac=None):

    def test_get_vif_by_port_id_with_ofport(self):

    def test_get_vif_by_port_id_without_ofport(self):

    def test_get_vif_by_port_id_with_invalid_ofport(self):

    def test_get_vif_by_port_id_without_mac(self):

    def test_get_vif_by_port_id_with_no_data(self):

    def test_get_vif_by_port_id_different_bridge(self):

    def _check_ovs_vxlan_version(self, installed_usr_version, installed_klm_version, installed_kernel_version, expecting_ok):

    def test_check_minimum_version(self):

    def test_check_future_version(self):

    def test_check_fail_version(self):

    def test_check_fail_no_version(self):

    def test_check_fail_klm_version(self):

    def test_check_pass_kernel_version(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\openvswitch\test_ovs_neutron_agent.py

class CreateAgentConfigMap(base.BaseTestCase):

    def test_create_agent_config_map_succeeds(self):

    def test_create_agent_config_map_fails_for_invalid_tunnel_config(self):

    def test_create_agent_config_map_enable_tunneling(self):

    def test_create_agent_config_map_fails_no_local_ip(self):

    def test_create_agent_config_map_fails_for_invalid_tunnel_type(self):

    def test_create_agent_config_map_multiple_tunnel_types(self):

class TestOvsNeutronAgent(base.BaseTestCase):

    def setUp(self):

    def _mock_port_bound(self, ofport=None, new_local_vlan=None, old_local_vlan=None):

    def test_port_bound_deletes_flows_for_valid_ofport(self):

    def test_port_bound_ignores_flows_for_invalid_ofport(self):

    def test_port_bound_does_not_rewire_if_already_bound(self):

    def _test_port_dead(self, cur_tag=None):

    def test_port_dead(self):

    def test_port_dead_with_port_already_dead(self):

    def mock_scan_ports(self, vif_port_set=None, registered_ports=None, updated_ports=None, port_tags_dict=None):

    def test_scan_ports_returns_current_only_for_unchanged_ports(self):

    def test_scan_ports_returns_port_changes(self):

    def _test_scan_ports_with_updated_ports(self, updated_ports):

    def test_scan_ports_finds_known_updated_ports(self):

    def test_scan_ports_ignores_unknown_updated_ports(self):

    def test_scan_ports_ignores_updated_port_if_removed(self):

    def test_scan_ports_no_vif_changes_returns_updated_port_only(self):

    def test_update_ports_returns_changed_vlan(self):

    def test_treat_devices_added_returns_true_for_missing_device(self):

    def _mock_treat_devices_added_updated(self, details, port, func_name):

    def test_treat_devices_added_updated_ignores_invalid_ofport(self):

    def test_treat_devices_added_updated_marks_unknown_port_as_dead(self):

    def test_treat_devices_added_does_not_process_missing_port(self):

    def test_treat_devices_added__updated_updates_known_port(self):

    def test_treat_devices_added_updated_put_port_down(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_process_network_ports(self, port_info):

    def test_process_network_ports(self):

    def test_process_network_port_with_updated_ports(self):

    def test_report_state(self):

    def test_network_delete(self):

    def test_port_update(self):

    def test_setup_physical_bridges(self):

    def test_port_unbound(self):

    def _check_ovs_vxlan_version(self, installed_usr_version, installed_klm_version, installed_kernel_version, expecting_ok):

    def test_check_minimum_version(self):

    def test_check_future_version(self):

    def test_check_fail_version(self):

    def test_check_fail_no_version(self):

    def test_check_fail_klm_version(self):

    def _prepare_l2_pop_ofports(self):

    def test_fdb_ignore_network(self):

    def test_fdb_ignore_self(self):

    def test_fdb_add_flows(self):

    def test_fdb_del_flows(self):

    def test_fdb_add_port(self):

    def test_fdb_del_port(self):

    def test_recl_lv_port_to_preserve(self):

    def test_recl_lv_port_to_remove(self):

    def test_daemon_loop_uses_polling_manager(self):

    def test_setup_tunnel_port_error_negative(self):

    def test_setup_tunnel_port_error_not_int(self):

    def test_tunnel_sync_with_ovs_plugin(self):

    def test_tunnel_sync_with_ml2_plugin(self):

    def test_tunnel_sync_invalid_ip_address(self):

    def test_tunnel_update(self):

class AncillaryBridgesTest(base.BaseTestCase):

    def setUp(self):

    def _test_ancillary_bridges(self, bridges, ancillary):

        def pullup_side_effect(self, *args):

    def test_ancillary_bridges_single(self):

    def test_ancillary_bridges_none(self):

    def test_ancillary_bridges_multiple(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\openvswitch\test_ovs_rpcapi.py

class rpcApiTestCase(base.BaseTestCase):

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

        def _fake_rpc_method(*args, **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\openvswitch\test_ovs_security_group.py

class OpenvswitchSecurityGroupsTestCase(test_sg.SecurityGroupDBTestCase):

    def setUp(self, plugin=None):

    def tearDown(self):

class TestOpenvswitchSGServerRpcCallBack( OpenvswitchSecurityGroupsTestCase, test_sg_rpc.SGServerRpcCallBackMixinTestCase):

class TestOpenvswitchSGServerRpcCallBackXML( OpenvswitchSecurityGroupsTestCase, test_sg_rpc.SGServerRpcCallBackMixinTestCaseXML):

class TestOpenvswitchSecurityGroups(OpenvswitchSecurityGroupsTestCase, test_sg.TestSecurityGroups, test_sg_rpc.SGNotificationTestMixin):

    def test_security_group_get_port_from_device(self):

    def test_security_group_get_port_from_device_with_no_port(self):

class TestOpenvswitchSecurityGroupsXML(TestOpenvswitchSecurityGroups):

\OpenStack\neutron-2014.1\neutron\tests\unit\openvswitch\test_ovs_tunnel.py

class DummyPort:

    def __init__(self, interface_id):

class DummyVlanBinding:

    def __init__(self, network_id, vlan_id):

class TunnelTest(base.BaseTestCase):

    def setUp(self):

    def _verify_mock_call(self, mock_obj, expected):

    def _verify_mock_calls(self):

    def test_construct(self):

    def test_construct_vxlan(self):

    def test_provision_local_vlan(self):

    def test_provision_local_vlan_flat(self):

    def test_provision_local_vlan_flat_fail(self):

    def test_provision_local_vlan_vlan(self):

    def test_provision_local_vlan_vlan_fail(self):

    def test_reclaim_local_vlan(self):

    def test_reclaim_local_vlan_flat(self):

    def test_reclaim_local_vlan_vlan(self):

    def test_port_bound(self):

    def test_port_unbound(self):

    def test_port_dead(self):

    def test_tunnel_update(self):

    def test_tunnel_update_self(self):

    def test_daemon_loop(self):

class TunnelTestWithMTU(TunnelTest):

    def setUp(self):

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

\OpenStack\neutron-2014.1\neutron\tests\unit\plumgrid\test_plumgrid_plugin.py

class PLUMgridPluginV2TestCase(test_plugin.NeutronDbPluginV2TestCase):

    def setUp(self):

        def mocked_plumlib_init(self):

    def tearDown(self):

class TestPlumgridPluginNetworksV2(test_plugin.TestNetworksV2, PLUMgridPluginV2TestCase):

class TestPlumgridV2HTTPResponse(test_plugin.TestV2HTTPResponse, PLUMgridPluginV2TestCase):

class TestPlumgridPluginPortsV2(test_plugin.TestPortsV2, PLUMgridPluginV2TestCase):

    def test_range_allocation(self):

class TestPlumgridPluginSubnetsV2(test_plugin.TestSubnetsV2, PLUMgridPluginV2TestCase):

    def test_create_subnet_default_gw_conflict_allocation_pool_returns_409( self):

    def test_create_subnet_defaults(self):

    def test_create_subnet_gw_values(self):

    def test_update_subnet_gateway_in_allocation_pool_returns_409(self):

class TestPlumgridPluginPortBinding(PLUMgridPluginV2TestCase, test_bindings.PortBindingsTestCase):

    def setUp(self):

class TestPlumgridNetworkAdminState(PLUMgridPluginV2TestCase):

    def test_network_admin_state(self):

class TestPlumgridAllocationPool(PLUMgridPluginV2TestCase):

    def test_allocate_pools_for_subnet(self):

class TestPlumgridProvidernet(PLUMgridPluginV2TestCase):

    def test_create_provider_network(self):

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

\OpenStack\neutron-2014.1\neutron\tests\unit\ryu\fake_ryu.py

def patch_fake_ryu_client():

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

class ConfigurationTest(base.BaseTestCase):

    def test_defaults(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\ryu\test_ryu_agent.py

class RyuAgentTestCase(base.BaseTestCase):

    def setUp(self):

class TestOVSNeutronOFPRyuAgent(RyuAgentTestCase):

    def setUp(self):

    def mock_rest_addr(self, rest_addr):

    def test_valid_rest_addr(self):

    def test_invalid_rest_addr(self):

    def mock_port_update(self, **kwargs):

    def test_port_update(self, **kwargs):

    def test_port_update_not_vifport(self, **kwargs):

    def test_port_update_without_secgroup(self, **kwargs):

    def mock_update_ports(self, vif_port_set=None, registered_ports=None):

    def test_update_ports_unchanged(self):

    def test_update_ports_changed(self):

    def mock_process_devices_filter(self, port_info):

    def test_process_devices_filter_add(self):

    def test_process_devices_filter_remove(self):

    def test_process_devices_filter_both(self):

    def test_process_devices_filter_none(self):

class TestRyuPluginApi(RyuAgentTestCase):

    def test_get_ofp_rest_api_addr(self):

class TestVifPortSet(RyuAgentTestCase):

    def test_setup(self):

    def test_setup_empty(self):

class TestOVSBridge(RyuAgentTestCase):

    def setUp(self):

    def test_find_datapath_id(self):

    def test_set_manager(self):

    def test_get_ofport(self):

    def test_get_ports(self):

    def test_get_ports_empty(self):

    def test_get_ports_invalid_ofport(self):

    def test_get_ports_invalid_port(self):

    def test_get_external_port(self):

    def test_get_external_port_vmport(self):

    def test_get_external_port_tunnel(self):

    def test_get_external_ports(self):

class TestRyuNeutronAgent(RyuAgentTestCase):

    def test_get_my_ip(self):

    def test_get_ip_from_nic(self):

    def test_get_ip_from_nic_empty(self):

    def test_get_ip_ip(self):

    def test_get_ip_nic(self):

    def test_get_ip_myip(self):

    def test_get_ip_nic_myip(self):

    def test_get_tunnel_ip(self):

    def test_get_ovsdb_ip(self):

    def mock_main(self):

    def test_main(self):

    def test_main_raise(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\ryu\test_ryu_db.py

class RyuDBTest(test_plugin.NeutronDbPluginV2TestCase):

    def _tunnel_key_sort(key_list):

    def test_key_allocation(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\ryu\test_ryu_plugin.py

class RyuPluginV2TestCase(test_plugin.NeutronDbPluginV2TestCase):

    def setUp(self):

class TestRyuBasicGet(test_plugin.TestBasicGet, RyuPluginV2TestCase):

class TestRyuV2HTTPResponse(test_plugin.TestV2HTTPResponse, RyuPluginV2TestCase):

class TestRyuPortsV2(test_plugin.TestPortsV2, RyuPluginV2TestCase):

class TestRyuNetworksV2(test_plugin.TestNetworksV2, RyuPluginV2TestCase):

OpenStack Index

Previous

Next