¡@

Home 

OpenStack Study:

OpenStack Index

Previous

Next

    def test_lsn_port_dhcp_setup_with_not_found(self):

    def test_lsn_port_dhcp_setup_with_conflict(self):

    def _test_lsn_port_dhcp_configure_with_subnet( self, expected, dns=None, gw=None, routes=None):

    def test_lsn_port_dhcp_configure(self):

    def test_lsn_port_dhcp_configure_gatewayless(self):

    def test_lsn_port_dhcp_configure_with_extra_dns_servers(self):

    def test_lsn_port_dhcp_configure_with_host_routes(self):

    def _test_lsn_metadata_configure(self, is_enabled):

    def test_lsn_metadata_configure_enabled(self):

    def test_lsn_metadata_configure_disabled(self):

    def test_lsn_metadata_configure_not_found(self):

    def test_lsn_port_metadata_setup(self):

    def test_lsn_port_metadata_setup_raise_not_found(self):

    def test_lsn_port_metadata_setup_raise_conflict(self):

    def _test_lsn_port_dispose_with_values(self, lsn_id, lsn_port_id, count):

    def test_lsn_port_dispose(self):

    def test_lsn_port_dispose_meta_mac(self):

    def test_lsn_port_dispose_lsn_not_found(self):

    def test_lsn_port_dispose_lsn_port_not_found(self):

    def test_lsn_port_dispose_api_error(self):

    def test_lsn_port_host_conf(self):

    def test_lsn_port_host_conf_lsn_port_not_found(self):

    def _test_lsn_port_update(self, dhcp=None, meta=None):

    def test_lsn_port_update(self):

    def test_lsn_port_update_dhcp_meta(self):

    def test_lsn_port_update_dhcp_and_nometa(self):

    def test_lsn_port_update_nodhcp_and_nmeta(self):

    def test_lsn_port_update_raise_error(self):

class PersistentLsnManagerTestCase(base.BaseTestCase):

    def setUp(self):

    def test_lsn_get(self):

    def test_lsn_get_raise_not_found(self):

    def test_lsn_get_silent_not_found(self):

    def test_lsn_get_sync_on_missing(self):

    def test_lsn_save(self):

    def test_lsn_create(self):

    def test_lsn_create_failure(self):

    def test_lsn_delete(self):

    def test_lsn_delete_not_existent(self):

    def test_lsn_port_get(self):

    def test_lsn_port_get_raise_not_found(self):

    def test_lsn_port_get_silent_not_found(self):

    def test_lsn_port_get_sync_on_missing(self):

    def test_lsn_port_get_by_mac(self):

    def test_lsn_port_get_by_mac_raise_not_found(self):

    def test_lsn_port_get_by_mac_silent_not_found(self):

    def test_lsn_port_create(self):

    def test_lsn_port_create_failure(self):

    def test_lsn_port_delete(self):

    def test_lsn_port_delete_not_existent(self):

    def test_lsn_port_save(self):

class DhcpAgentNotifyAPITestCase(base.BaseTestCase):

    def setUp(self):

    def _test_notify_port_update( self, ports, expected_count, expected_args=None):

    def test_notify_ports_update_no_ports(self):

    def test_notify_ports_update_one_port(self):

    def test_notify_ports_update_ports_with_empty_device_id(self):

    def test_notify_ports_update_ports_with_no_fixed_ips(self):

    def test_notify_ports_update_ports_with_no_fixed_ips_and_no_device(self):

    def test_notify_ports_update_with_special_ports(self):

    def test_notify_ports_update_many_ports(self):

    def _test_notify_subnet_action(self, action):

    def test_notify_subnet_create(self):

    def test_notify_subnet_update(self):

    def test_notify_subnet_delete(self):

    def _test_subnet_create(self, enable_dhcp, exc=None, exc_obj=None, call_notify=True):

    def test_subnet_create_enabled_dhcp(self):

    def test_subnet_create_disabled_dhcp(self):

    def test_subnet_create_raise_port_config_error(self):

    def test_subnet_update(self):

    def test_subnet_update_raise_lsn_not_found(self):

    def _test_subnet_update_lsn_port_not_found(self, dhcp_port):

    def test_subnet_update_lsn_port_not_found_without_dhcp_port(self):

    def test_subnet_update_lsn_port_not_found_with_dhcp_port(self):

    def _test_subnet_delete(self, ports=None):

    def test_subnet_delete_enabled_dhcp_no_ports(self):

    def test_subnet_delete_enabled_dhcp_with_dhcp_port(self):

class DhcpTestCase(base.BaseTestCase):

    def setUp(self):

    def test_handle_create_network(self):

    def test_handle_delete_network(self):

    def _test_handle_create_dhcp_owner_port(self, exc=None):

    def test_handle_create_dhcp_owner_port(self):

    def test_handle_create_dhcp_owner_port_raise_port_config_error(self):

    def test_handle_delete_dhcp_owner_port(self):

    def _test_handle_user_port(self, action, handler):

    def test_handle_create_user_port(self):

    def test_handle_delete_user_port(self):

    def _test_handle_user_port_disabled_dhcp(self, action, handler):

    def test_handle_create_user_port_disabled_dhcp(self):

    def test_handle_delete_user_port_disabled_dhcp(self):

    def _test_handle_user_port_no_fixed_ips(self, action, handler):

    def test_handle_create_user_port_no_fixed_ips(self):

    def test_handle_delete_user_port_no_fixed_ips(self):

class MetadataTestCase(base.BaseTestCase):

    def setUp(self):

    def _test_handle_port_metadata_access_special_owners( self, owner, dev_id='foo_device_id', ips=None):

    def test_handle_port_metadata_access_external_network(self):

    def test_handle_port_metadata_access_dhcp_port(self):

    def test_handle_port_metadata_access_router_port(self):

    def test_handle_port_metadata_access_no_device_id(self):

    def test_handle_port_metadata_access_no_fixed_ips(self):

    def _test_handle_port_metadata_access(self, is_delete, raise_exc=False):

    def test_handle_port_metadata_access_on_delete_true(self):

    def test_handle_port_metadata_access_on_delete_false(self):

    def test_handle_port_metadata_access_on_delete_true_raise(self):

    def test_handle_port_metadata_access_on_delete_false_raise(self):

    def _test_handle_router_metadata_access( self, is_port_found, raise_exc=False):

    def test_handle_router_metadata_access_add_interface(self):

    def test_handle_router_metadata_access_delete_interface(self):

    def test_handle_router_metadata_access_raise_error_on_add(self):

    def test_handle_router_metadata_access_raise_error_on_delete(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\vmware\test_nsx_opts.py

class NSXClusterTest(base.BaseTestCase):

    def test_create_cluster(self):

    def test_create_cluster_default_port(self):

    def test_create_cluster_missing_required_attribute_raises(self):

class ConfigurationTest(base.BaseTestCase):

    def setUp(self):

    def _assert_required_options(self, cluster):

    def _assert_extra_options(self, cluster):

    def test_load_plugin_with_full_options(self):

    def test_load_plugin_with_required_options_only(self):

    def test_defaults(self):

    def test_load_api_extensions(self):

    def test_agentless_extensions(self):

    def test_agentless_extensions_version_fail(self):

    def test_agentless_extensions_unmet_deps_fail(self):

    def test_agent_extensions(self):

class OldNVPConfigurationTest(base.BaseTestCase):

    def setUp(self):

    def _assert_required_options(self, cluster):

    def test_load_plugin_with_deprecated_options(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\vmware\test_nsx_plugin.py

class NsxPluginV2TestCase(test_plugin.NeutronDbPluginV2TestCase):

    def _create_network(self, fmt, name, admin_state_up, arg_list=None, providernet_args=None, **kwargs):

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

class TestBasicGet(test_plugin.TestBasicGet, NsxPluginV2TestCase):

class TestV2HTTPResponse(test_plugin.TestV2HTTPResponse, NsxPluginV2TestCase):

class TestPortsV2(NsxPluginV2TestCase, test_plugin.TestPortsV2, test_bindings.PortBindingsTestCase, test_bindings.PortBindingsHostTestCaseMixin):

    def test_exhaust_ports_overlay_network(self):

    def test_exhaust_ports_bridged_network(self):

    def test_update_port_delete_ip(self):

    def test_create_port_name_exceeds_40_chars(self):

    def _verify_no_orphan_left(self, net_id):

    def test_create_port_nsx_error_no_orphan_left(self):

    def test_create_port_neutron_error_no_orphan_left(self):

    def test_create_port_db_error_no_orphan_left(self):

    def test_create_port_maintenance_returns_503(self):

class TestNetworksV2(test_plugin.TestNetworksV2, NsxPluginV2TestCase):

    def _test_create_bridge_network(self, vlan_id=None):

    def test_create_bridge_network(self):

    def test_create_bridge_vlan_network(self):

    def test_create_bridge_vlan_network_outofrange_returns_400(self):

    def test_list_networks_filter_by_id(self):

    def test_delete_network_after_removing_subet(self):

    def test_list_networks_with_shared(self):

    def test_create_network_name_exceeds_40_chars(self):

    def test_create_network_maintenance_returns_503(self):

    def test_update_network_with_admin_false(self):

class SecurityGroupsTestCase(ext_sg.SecurityGroupDBTestCase):

    def setUp(self):

class TestSecurityGroup(ext_sg.TestSecurityGroups, SecurityGroupsTestCase):

    def test_create_security_group_name_exceeds_40_chars(self):

    def test_create_security_group_rule_bad_input(self):

    def test_update_security_group_deal_with_exc(self):

class TestL3ExtensionManager(object):

    def get_resources(self):

    def get_actions(self):

    def get_request_extensions(self):

class TestL3SecGrpExtensionManager(TestL3ExtensionManager):

    def get_resources(self):

def backup_l3_attribute_map():

def restore_l3_attribute_map(map_to_restore):

class L3NatTest(test_l3_plugin.L3BaseForIntTests, NsxPluginV2TestCase):

    def _restore_l3_attribute_map(self):

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

    def _create_l3_ext_network(self, vlan_id=None):

class TestL3NatTestCase(L3NatTest, test_l3_plugin.L3NatDBIntTestCase, NsxPluginV2TestCase):

    def _test_create_l3_ext_network(self, vlan_id=None):

    def _nsx_validate_ext_gw(self, router_id, l3_gw_uuid, vlan_id):

    def test_create_l3_ext_network_without_vlan(self):

    def _test_router_create_with_gwinfo_and_l3_ext_net(self, vlan_id=None, validate_ext_gw=True):

    def test_router_create_with_gwinfo_and_l3_ext_net(self):

    def test_router_create_with_gwinfo_and_l3_ext_net_with_vlan(self):

    def _test_router_create_with_distributed(self, dist_input, dist_expected, version='3.1', return_code=201):

    def test_router_create_distributed_with_3_1(self):

    def test_router_create_distributed_with_new_nsx_versions(self):

    def test_router_create_not_distributed(self):

    def test_router_create_distributed_unspecified(self):

    def test_router_create_distributed_returns_400(self):

    def test_router_create_on_obsolete_platform(self):

        def obsolete_response(*args, **kwargs):

    def _create_router_with_gw_info_for_test(self, subnet):

    def test_router_create_nsx_error_returns_500(self, vlan_id=None):

    def test_router_add_gateway_invalid_network_returns_404(self):

    def _verify_router_rollback(self):

    def test_router_create_with_gw_info_neutron_fail_does_rollback(self):

    def test_router_create_with_gw_info_nsx_fail_does_rollback(self):

    def _test_router_update_gateway_on_l3_ext_net(self, vlan_id=None, validate_ext_gw=True):

    def test_router_update_gateway_on_l3_ext_net(self):

    def test_router_update_gateway_on_l3_ext_net_with_vlan(self):

    def test_router_list_by_tenant_id(self):

    def test_create_l3_ext_network_with_vlan(self):

    def test_floatingip_with_assoc_fails(self):

    def test_floatingip_with_invalid_create_port(self):

    def _metadata_setup(self):

    def _metadata_teardown(self):

    def test_create_router_name_exceeds_40_chars(self):

    def test_router_add_interface_subnet_with_metadata_access(self):

    def test_router_add_interface_port_with_metadata_access(self):

    def test_router_add_interface_dupsubnet_returns_400_with_metadata(self):

    def test_router_add_interface_overlapped_cidr_returns_400_with(self):

    def test_router_remove_interface_inuse_returns_409_with_metadata(self):

    def test_router_remove_iface_wrong_sub_returns_400_with_metadata(self):

    def test_router_delete_with_metadata_access(self):

    def test_router_delete_with_port_existed_returns_409_with_metadata(self):

    def test_metadatata_network_created_with_router_interface_add(self):

    def test_metadata_network_create_rollback_on_create_subnet_failure(self):

    def test_metadata_network_create_rollback_on_add_rtr_iface_failure(self):

    def test_metadata_network_removed_with_router_interface_remove(self):

    def test_metadata_network_remove_rollback_on_failure(self):

    def test_metadata_dhcp_host_route(self):

    def test_floatingip_disassociate(self):

    def test_create_router_maintenance_returns_503(self):

class ExtGwModeTestCase(NsxPluginV2TestCase, test_ext_gw_mode.ExtGwModeIntTestCase):

class NeutronNsxOutOfSync(NsxPluginV2TestCase, test_l3_plugin.L3NatTestCaseMixin, ext_sg.SecurityGroupsTestCase):

    def setUp(self):

    def test_delete_network_not_in_nsx(self):

    def test_show_network_not_in_nsx(self):

    def test_delete_port_not_in_nsx(self):

    def test_show_port_not_in_nsx(self):

    def test_create_port_on_network_not_in_nsx(self):

    def test_update_port_not_in_nsx(self):

    def test_delete_port_and_network_not_in_nsx(self):

    def test_delete_router_not_in_nsx(self):

    def test_show_router_not_in_nsx(self):

    def _create_network_and_subnet(self, cidr, external=False):

    def test_clear_gateway_nat_rule_not_in_nsx(self):

    def test_remove_router_interface_not_in_nsx(self):

    def test_update_router_not_in_nsx(self):

    def test_delete_security_group_not_in_nsx(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\vmware\test_nsx_sync.py

class CacheTestCase(base.BaseTestCase):

    def setUp(self):

    def test_get_lswitches(self):

    def test_get_lswitchports(self):

    def test_get_lrouters(self):

    def test_get_lswitches_changed_only(self):

    def test_get_lswitchports_changed_only(self):

    def test_get_lrouters_changed_only(self):

    def _verify_update(self, new_resource, changed=True, hit=True):

    def test_update_lswitch_new_item(self):

    def test_update_lswitch_existing_item(self):

    def test_update_lswitchport_new_item(self):

    def test_update_lswitchport_existing_item(self):

    def test_update_lrouter_new_item(self):

    def test_update_lrouter_existing_item(self):

    def test_process_updates_initial(self):

    def test_process_updates_no_change(self):

    def test_process_updates_with_changes(self):

    def _test_process_updates_with_removals(self):

    def test_process_updates_with_removals(self):

    def test_process_updates_cleanup_after_delete(self):

    def _verify_delete(self, resource, deleted=True, hit=True):

    def _set_hit(self, resources, uuid_to_delete=None):

    def test_process_deletes_no_change(self):

    def test_process_deletes_with_removals(self):

class SyncLoopingCallTestCase(base.BaseTestCase):

    def test_looping_calls(self):

class SyncTestCase(base.BaseTestCase):

    def setUp(self):

    def _populate_data(self, ctx, net_size=2, port_size=2, router_size=2):

        def network(idx):

        def subnet(idx, net_id):

        def port(idx, net_id):

        def router(idx):

    def _get_tag_dict(self, tags):

    def _test_sync(self, exp_net_status, exp_port_status, exp_router_status, action_callback=None, sp=None):

    def _action_callback_status_down(self, ls_uuid, lp_uuid, lr_uuid):

    def test_initial_sync(self):

    def test_initial_sync_with_resources_down(self):

    def test_resync_with_resources_down(self):

    def _action_callback_del_resource(self, ls_uuid, lp_uuid, lr_uuid):

    def test_initial_sync_with_resources_removed(self):

    def test_resync_with_resources_removed(self):

    def _test_sync_with_chunk_larger_maxpagesize( self, net_size, port_size, router_size, chunk_size, exp_calls):

    def test_sync_chunk_larger_maxpagesize_no_multiple_requests(self):

    def test_sync_chunk_larger_maxpagesize_triggers_multiple_requests(self):

    def test_sync_multi_chunk(self):

    def test_synchronize_network(self):

    def test_synchronize_network_on_get(self):

    def test_synchronize_port(self):

    def test_synchronize_port_on_get(self):

    def test_synchronize_router(self):

    def test_synchronize_router_nsx_mapping_not_found(self):

    def test_synchronize_router_on_get(self):

    def test_sync_nsx_failure_backoff(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\vmware\test_nsx_utils.py

class NsxUtilsTestCase(base.BaseTestCase):

    def _mock_port_mapping_db_calls(self, ret_value):

    def _mock_network_mapping_db_calls(self, ret_value):

    def _mock_router_mapping_db_calls(self, ret_value):

    def _verify_get_nsx_switch_and_port_id(self, exp_ls_uuid, exp_lp_uuid):

    def _verify_get_nsx_switch_ids(self, exp_ls_uuids):

    def _verify_get_nsx_router_id(self, exp_lr_uuid):

    def test_get_nsx_switch_and_port_id_from_db_mappings(self):

    def test_get_nsx_switch_and_port_id_only_port_db_mapping(self):

    def test_get_nsx_switch_and_port_id_no_db_mapping(self):

    def test_get_nsx_switch_and_port_id_no_mappings_returns_none(self):

    def test_get_nsx_switch_ids_from_db_mappings(self):

    def test_get_nsx_switch_ids_no_db_mapping(self):

    def test_get_nsx_switch_ids_no_mapping_returns_None(self):

    def test_get_nsx_router_id_from_db_mappings(self):

    def test_get_nsx_router_id_no_db_mapping(self):

    def test_get_nsx_router_id_no_mapping_returns_None(self):

    def test_check_and_truncate_name_with_none(self):

    def test_check_and_truncate_name_with_short_name(self):

    def test_check_and_truncate_name_long_name(self):

    def test_build_uri_path_plain(self):

    def test_build_uri_path_with_field(self):

    def test_build_uri_path_with_filters(self):

    def test_build_uri_path_with_resource_id(self):

    def test_build_uri_path_with_parent_and_resource_id(self):

    def test_build_uri_path_with_attachment(self):

    def test_build_uri_path_with_extra_action(self):

    def _mock_sec_group_mapping_db_calls(self, ret_value):

    def _verify_get_nsx_sec_profile_id(self, exp_sec_prof_uuid):

    def test_get_nsx_sec_profile_id_from_db_mappings(self):

    def test_get_nsx_sec_profile_id_no_db_mapping(self):

    def test_get_nsx_sec_profile_id_no_mapping_returns_None(self):

class ClusterManagementTestCase(nsx_base.NsxlibTestCase):

    def test_cluster_in_readonly_mode(self):

    def test_cluster_method_not_implemented(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\vmware\vshield\fake_vcns.py

class FakeVcns(object):

    def __init__(self, unique_router_name=True):

    def set_fake_nsx_api(self, fake_nsx_api):

    def _validate_edge_name(self, name):

    def deploy_edge(self, request):

    def get_edge_id(self, job_id):

    def get_edge_deploy_status(self, edge_id):

    def delete_edge(self, edge_id):

    def update_interface(self, edge_id, vnic):

    def get_nat_config(self, edge_id):

    def update_nat_config(self, edge_id, nat):

    def delete_nat_rule(self, edge_id, rule_id):

    def get_edge_status(self, edge_id):

    def get_edges(self):

    def update_routes(self, edge_id, routes):

    def create_lswitch(self, lsconfig):

    def delete_lswitch(self, id):

    def update_firewall(self, edge_id, fw_req):

    def delete_firewall(self, edge_id):

    def update_firewall_rule(self, edge_id, vcns_rule_id, fwr_req):

    def delete_firewall_rule(self, edge_id, vcns_rule_id):

    def add_firewall_rule_above(self, edge_id, ref_vcns_rule_id, fwr_req):

    def add_firewall_rule(self, edge_id, fwr_req):

    def get_firewall(self, edge_id):

    def get_firewall_rule(self, edge_id, vcns_rule_id):

    def is_name_unique(self, objs_dict, name):

    def create_vip(self, edge_id, vip_new):

    def get_vip(self, edge_id, vip_vseid):

    def update_vip(self, edge_id, vip_vseid, vip_new):

    def delete_vip(self, edge_id, vip_vseid):

    def create_pool(self, edge_id, pool_new):

    def get_pool(self, edge_id, pool_vseid):

    def update_pool(self, edge_id, pool_vseid, pool_new):

    def delete_pool(self, edge_id, pool_vseid):

    def create_health_monitor(self, edge_id, monitor_new):

    def get_health_monitor(self, edge_id, monitor_vseid):

    def update_health_monitor(self, edge_id, monitor_vseid, monitor_new):

    def delete_health_monitor(self, edge_id, monitor_vseid):

    def create_app_profile(self, edge_id, app_profile):

    def update_app_profile(self, edge_id, app_profileid, app_profile):

    def delete_app_profile(self, edge_id, app_profileid):

    def get_loadbalancer_config(self, edge_id):

    def update_ipsec_config(self, edge_id, ipsec_config):

    def delete_ipsec_config(self, edge_id):

    def get_ipsec_config(self, edge_id):

    def enable_service_loadbalancer(self, edge_id, config):

    def return_helper(self, header, response):

    def reset_all(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\vmware\vshield\test_edge_router.py

class ServiceRouterTestExtensionManager(object):

    def get_resources(self):

    def get_actions(self):

    def get_request_extensions(self):

class ServiceRouterTest(test_nsx_plugin.L3NatTest, test_l3_plugin.L3NatTestCaseMixin):

    def vcns_patch(self):

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

    def tearDown(self):

    def _create_router(self, fmt, tenant_id, name=None, admin_state_up=None, set_context=False, arg_list=None, **kwargs):

class ServiceRouterTestCase(ServiceRouterTest, test_nsx_plugin.TestL3NatTestCase):

    def test_router_create(self):

    def test_router_delete_after_plugin_restart(self):

    def test_router_show(self):

    def _test_router_create_with_gwinfo_and_l3_ext_net(self, vlan_id=None):

    def _test_router_update_gateway_on_l3_ext_net(self, vlan_id=None):

class TestProxyCreateLswitch(base.BaseTestCase):

    def setUp(self):

    def test_create_lswitch_with_basic_args(self):

    def test_create_lswitch_with_shared_as_kwarg(self):

    def test_create_lswitch_with_shared_as_arg(self):

    def test_create_lswitch_with_additional_tags(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\vmware\vshield\test_firewall_driver.py

class VcnsDriverTestCase(test_db_firewall.FirewallPluginDbTestCase, firewall_db.Firewall_db_mixin):

    def vcns_firewall_patch(self):

    def setUp(self):

class TestEdgeFwDriver(VcnsDriverTestCase):

    def _make_firewall_dict_with_rules(self, context, firewall_id):

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

    def test_create_and_get_firewall(self):

    def test_update_firewall_with_rules(self):

    def test_delete_firewall(self):

    def test_update_firewall_rule(self):

    def test_delete_firewall_rule(self):

    def test_insert_rule(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\vmware\vshield\test_fwaas_plugin.py

class FirewallTestExtensionManager( test_edge_router.ServiceRouterTestExtensionManager):

    def get_resources(self):

    def get_actions(self):

    def get_request_extensions(self):

class FirewallPluginTestCase(test_db_firewall.FirewallPluginDbTestCase, test_edge_router.ServiceRouterTest):

    def vcns_firewall_patch(self):

    def setUp(self):

    def tearDown(self):

    def _create_and_get_router(self):

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

    def test_create_firewall(self):

    def test_create_firewall_without_policy(self):

    def test_update_firewall(self):

    def test_delete_firewall(self):

    def test_show_firewall(self):

    def test_list_firewalls(self):

    def test_create_firewall_with_rules(self):

    def test_update_firewall_policy_with_no_firewall(self):

    def test_update_firewall_policy_with_firewall(self):

    def test_update_firewall_rule_with_no_firewall(self):

    def test_update_firewall_rule_with_firewall(self):

    def test_insert_rule_with_no_firewall(self):

    def test_insert_rule_with_firewall(self):

    def test_remove_rule_with_no_firewall(self):

    def test_remove_rule_with_firewall(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\vmware\vshield\test_lbaas_plugin.py

class LoadBalancerTestExtensionManager( test_edge_router.ServiceRouterTestExtensionManager):

    def get_resources(self):

class TestLoadbalancerPlugin( test_db_loadbalancer.LoadBalancerPluginDbTestCase, test_edge_router.ServiceRouterTest):

    def vcns_loadbalancer_patch(self):

    def setUp(self):

    def tearDown(self):

    def _create_and_get_router(self):

    def _get_vip_optional_args(self):

    def test_update_healthmonitor(self):

    def test_create_vip(self, **extras):

    def test_create_vip_with_session_persistence(self):

    def test_create_vip_with_invalid_persistence_method(self):

    def test_create_vips_with_same_names(self):

    def test_update_vip(self):

    def test_delete_vip(self):

    def test_show_vip(self):

    def test_list_vips(self):

    def test_update_pool(self):

    def test_create_member(self):

    def _show_pool(self, pool_id):

    def test_update_member(self):

    def test_delete_member(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\vmware\vshield\test_loadbalancer_driver.py

class VcnsDriverTestCase(test_db_loadbalancer.LoadBalancerPluginDbTestCase):

    def vcns_loadbalancer_patch(self):

    def setUp(self):

    def tearDown(self):

class TestEdgeLbDriver(VcnsDriverTestCase):

    def test_create_and_get_vip(self):

    def test_create_two_vips_with_same_name(self):

    def test_convert_app_profile(self):

    def test_update_vip(self):

    def test_delete_vip(self):

    def test_create_and_get_pool(self):

    def test_create_two_pools_with_same_name(self):

    def test_update_pool(self):

    def test_delete_pool(self):

    def test_create_and_get_monitor(self):

    def test_update_health_monitor(self):

    def test_delete_health_monitor(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\vmware\vshield\test_vcns_driver.py

class VcnsDriverTaskManagerTestCase(base.BaseTestCase):

    def setUp(self):

    def tearDown(self):

    def _test_task_manager_task_process_state(self, sync_exec=False):

        def _task_failed(task, reason):

        def _check_state(task, exp_state):

        def _exec(task):

        def _status(task):

        def _result(task):

        def _start_monitor(task):

        def _executed_monitor(task):

        def _result_monitor(task):

    def test_task_manager_task_sync_exec_process_state(self):

    def test_task_manager_task_async_exec_process_state(self):

    def test_task_manager_task_ordered_process(self):

        def _task_failed(task, reason):

        def _exec(task):

        def _status(task):

        def _result(task):

    def test_task_manager_task_parallel_process(self):

        def _exec(task):

        def _status(task):

        def _result(task):

    def _test_task_manager_stop(self, exec_wait=False, result_wait=False, stop_wait=0):

        def _exec(task):

        def _status(task):

        def _result(task):

    def test_task_manager_stop_1(self):

    def test_task_manager_stop_2(self):

    def test_task_manager_stop_3(self):

    def test_task_manager_stop_4(self):

    def test_task_pending_task(self):

        def _exec(task):

class VcnsDriverTestCase(base.BaseTestCase):

    def vcns_patch(self):

    def setUp(self):

    def tearDown(self):

    def _deploy_edge(self):

    def edge_deploy_started(self, task):

    def edge_deploy_result(self, task):

    def edge_delete_result(self, task):

    def snat_create_result(self, task):

    def snat_delete_result(self, task):

    def dnat_create_result(self, task):

    def dnat_delete_result(self, task):

    def nat_update_result(self, task):

    def routes_update_result(self, task):

    def interface_update_result(self, task):

    def test_deploy_edge(self):

    def test_deploy_edge_fail(self):

    def test_get_edge_status(self):

    def test_get_edges(self):

    def _create_nat_rule(self, edge_id, action, org, translated):

    def _delete_nat_rule(self, edge_id, action, addr):

    def _test_create_nat_rule(self, action):

    def _test_delete_nat_rule(self, action):

    def test_create_snat_rule(self):

    def test_delete_snat_rule(self):

    def test_create_dnat_rule(self):

    def test_delete_dnat_rule(self):

    def test_update_nat_rules(self):

    def snat_for_dnat(self, dnat):

    def natEquals(self, rule, exp):

    def test_update_routes(self):

    def test_update_interface(self):

    def test_delete_edge(self):

    def test_create_lswitch(self):

    def test_delete_lswitch(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\vmware\vshield\test_vpnaas_plugin.py

class VPNTestExtensionManager( test_edge_router.ServiceRouterTestExtensionManager):

    def get_resources(self):

class TestVpnPlugin(test_db_vpnaas.VPNTestMixin, test_edge_router.ServiceRouterTest):

    def vcns_vpn_patch(self):

    def setUp(self):

    def tearDown(self):

    def router(self, vlan_id=None):

    def test_create_vpnservice(self, **extras):

    def test_create_vpnservices_with_same_router(self, **extras):

    def test_update_vpnservice(self):

    def _test_create_ipsec_site_connection(self, key_overrides=None, ike_key_overrides=None, ipsec_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_ikepolicy(self):

    def test_create_ipsec_site_connection_invalid_ipsecpolicy(self):

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

    def test_update_ipsec_site_connection(self):

    def test_delete_ipsec_site_connection(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\vmware\vshield\__init__.py

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

def get_fake_conf(filename):

def nsx_method(method_name, module_name='nsxlib'):

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

class PortBindingsTestCase(test_db_plugin.NeutronDbPluginV2TestCase):

    def _check_response_portbindings(self, port):

    def _check_response_no_portbindings(self, port):

    def _get_non_admin_context(self):

    def test_port_vif_details(self):

    def test_ports_vif_details(self):

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

    def _test_create_port_binding_profile(self, profile):

    def test_create_port_binding_profile_none(self):

    def test_create_port_binding_profile_with_empty_dict(self):

    def _test_update_port_binding_profile(self, profile):

    def test_update_port_binding_profile_none(self):

    def test_update_port_binding_profile_with_empty_dict(self):

    def test_port_create_portinfo_non_admin(self):

    def test_port_update_portinfo_non_admin(self):

class PortBindingsHostTestCaseMixin(object):

    def _check_response_portbindings_host(self, port):

    def _check_response_no_portbindings_host(self, port):

    def test_port_vif_non_admin(self):

    def test_port_vif_host(self):

    def test_ports_vif_host(self):

    def test_ports_vif_host_update(self):

    def test_ports_vif_non_host_update(self):

    def test_ports_vif_non_host_update_when_host_null(self):

    def test_ports_vif_host_list(self):

class PortBindingsVnicTestCaseMixin(object):

    def _check_response_portbindings_vnic_type(self, port):

    def test_port_vnic_type_non_admin(self):

    def test_port_vnic_type(self):

    def test_ports_vnic_type(self):

    def test_ports_vnic_type_list(self):

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

class RootwrapTestExec(base.BaseTestCase):

    def setUp(self):

    def runTest(self):

    def tearDown(self):

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

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

\OpenStack\neutron-2014.1\neutron\version.py

\OpenStack\neutron-2014.1\neutron\wsgi.py

class WorkerService(object):

    def __init__(self, service, application):

    def start(self):

    def wait(self):

    def stop(self):

class Server(object):

    def __init__(self, name, threads=1000):

    def _get_socket(self, host, port, backlog):

        def wrap_ssl(sock):

    def start(self, application, port, host='0.0.0.0', workers=0):

    def host(self):

    def port(self):

    def stop(self):

    def wait(self):

    def _run(self, application, socket):

class Middleware(object):

    def factory(cls, global_config, **local_config):

        def _factory(app):

    def __init__(self, application):

    def process_request(self, req):

    def process_response(self, response):

    def __call__(self, req):

class Request(webob.Request):

    def best_match_content_type(self):

    def get_content_type(self):

    def best_match_language(self):

    def context(self):

class ActionDispatcher(object):

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

    def default(self, data):

class DictSerializer(ActionDispatcher):

    def serialize(self, data, action='default'):

    def default(self, data):

class JSONDictSerializer(DictSerializer):

    def default(self, data):

        def sanitizer(obj):

class XMLDictSerializer(DictSerializer):

    def __init__(self, metadata=None, xmlns=None):

    def default(self, data):

    def __call__(self, data):

    def to_xml_string(self, node, used_prefixes, has_atom=False):

    def _add_xmlns(self, node, used_prefixes, has_atom=False):

    def _to_xml_node(self, parent, metadata, nodename, data, used_prefixes):

    def _create_link_nodes(self, xml_doc, links):

class ResponseHeaderSerializer(ActionDispatcher):

    def serialize(self, response, data, action):

    def default(self, response, data):

class ResponseSerializer(object):

    def __init__(self, body_serializers=None, headers_serializer=None):

    def serialize(self, response_data, content_type, action='default'):

    def serialize_headers(self, response, data, action):

    def serialize_body(self, response, data, content_type, action):

    def get_body_serializer(self, content_type):

class TextDeserializer(ActionDispatcher):

    def deserialize(self, datastring, action='default'):

    def default(self, datastring):

class JSONDeserializer(TextDeserializer):

    def _from_json(self, datastring):

    def default(self, datastring):

class ProtectedXMLParser(etree.XMLParser):

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

    def start_doctype_decl(self, name, sysid, pubid, internal):

    def doctype(self, name, pubid, system):

class XMLDeserializer(TextDeserializer):

    def __init__(self, metadata=None):

    def _get_key(self, tag):

    def _get_links(self, root_tag, node):

    def _parseXML(self, text):

    def _from_xml(self, datastring):

    def _from_xml_node(self, node, listnames):

    def default(self, datastring):

    def __call__(self, datastring):

class RequestHeadersDeserializer(ActionDispatcher):

    def deserialize(self, request, action):

    def default(self, request):

class RequestDeserializer(object):

    def __init__(self, body_deserializers=None, headers_deserializer=None):

    def deserialize(self, request):

    def deserialize_headers(self, request, action):

    def deserialize_body(self, request, action):

    def get_body_deserializer(self, content_type):

    def get_expected_content_type(self, request):

    def get_action_args(self, request_environment):

class Application(object):

    def factory(cls, global_config, **local_config):

    def __call__(self, environ, start_response):

        def __call__(self, req):

class Debug(Middleware):

    def __call__(self, req):

    def print_generator(app_iter):

class Router(object):

    def factory(cls, global_config, **local_config):

    def __init__(self, mapper):

    def __call__(self, req):

    def _dispatch(req):

class Resource(Application):

    def __init__(self, controller, fault_body_function, deserializer=None, serializer=None):

    def __call__(self, request):

    def dispatch(self, request, action, action_args):

def _default_body_function(wrapped_exc):

class Fault(webob.exc.HTTPException):

    def __init__(self, exception, xmlns=None, body_function=None):

    def __call__(self, req):

class Controller(object):

    def __call__(self, req):

    def _serialize(self, data, content_type, default_xmlns):

    def _deserialize(self, data, content_type):

    def get_default_xmlns(self, req):

class Serializer(object):

    def __init__(self, metadata=None, default_xmlns=None):

    def _get_serialize_handler(self, content_type):

    def serialize(self, data, content_type):

    def deserialize(self, datastring, content_type):

    def get_deserialize_handler(self, content_type):

\OpenStack\neutron-2014.1\neutron\__init__.py