¡@

Home 

OpenStack Study: neutron

OpenStack Index

Previous

Next

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

class RyuSecurityGroupsTestCase(test_sg.SecurityGroupDBTestCase):

    def setUp(self, plugin=None):

    def tearDown(self):

class TestRyuSecurityGroups(RyuSecurityGroupsTestCase, 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 TestRyuSecurityGroupsXML(TestRyuSecurityGroups):

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

\OpenStack\neutron-2014.1\neutron\tests\unit\services\firewall\agents\l3reference\test_firewall_l3_agent.py

class FWaasHelper(object):

    def __init__(self, host):

class FWaasAgent(firewall_l3_agent.FWaaSL3AgentRpcCallback, FWaasHelper):

    def __init__(self, conf=None):

class TestFwaasL3AgentRpcCallback(base.BaseTestCase):

    def setUp(self):

    def test_create_firewall(self):

    def test_update_firewall(self):

    def test_delete_firewall(self):

    def test_invoke_driver_for_plugin_api(self):

    def test_invoke_driver_for_plugin_api_admin_state_down(self):

    def test_invoke_driver_for_plugin_api_delete(self):

    def test_delete_firewall_no_router(self):

    def test_process_router_add_fw_update(self):

    def test_process_router_add_fw_delete(self):

    def _prepare_router_data(self, use_namespaces):

    def _get_router_info_list_with_namespace_helper(self, router_use_namespaces):

    def _get_router_info_list_without_namespace_helper(self, router_use_namespaces):

    def test_get_router_info_list_for_tenant_for_namespaces_enabled(self):

    def test_get_router_info_list_for_tenant_for_namespaces_disabled(self):

    def test_get_router_info_list_tenant_with_namespace_router_without(self):

    def test_get_router_info_list_tenant_without_namespace_router_with(self):

    def _get_router_info_list_router_without_router_info_helper(self, rtr_with_ri):

    def test_get_router_info_list_router_without_router_info(self):

    def test_get_router_info_list_two_routers_one_without_router_info(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\services\firewall\agents\l3reference\__init__.py

\OpenStack\neutron-2014.1\neutron\tests\unit\services\firewall\agents\test_firewall_agent_api.py

class NoopFwaasDriver(base_driver.FwaasDriverBase):

    def create_firewall(self, apply_list, firewall):

    def delete_firewall(self, apply_list, firewall):

    def update_firewall(self, apply_list, firewall):

    def apply_default_policy(self, apply_list, firewall):

class TestFWaaSAgentApi(base.BaseTestCase):

    def setUp(self):

    def test_init(self):

    def test_set_firewall_status(self):

    def test_firewall_deleted(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\services\firewall\agents\varmour\test_varmour_router.py

class TestVarmourRouter(base.BaseTestCase):

    def setUp(self):

    def _create_router(self):

    def _del_all_internal_ports(self, router):

    def _del_internal_ports(self, router, port_idx):

    def _add_internal_ports(self, router, port_count=1):

    def _del_all_floating_ips(self, router):

    def _del_floating_ips(self, router, port_idx):

    def _add_floating_ips(self, router, port_count=1):

    def _prepare_router_data(self, enable_snat=None):

    def test_agent_add_internal_network(self):

    def test_agent_remove_internal_network(self):

    def test_agent_add_floating_ips(self):

    def test_agent_remove_floating_ips(self):

    def test_agent_external_gateway(self):

    def test_agent_snat_enable(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\services\firewall\agents\varmour\__init__.py

\OpenStack\neutron-2014.1\neutron\tests\unit\services\firewall\agents\__init__.py

\OpenStack\neutron-2014.1\neutron\tests\unit\services\firewall\drivers\linux\test_iptables_fwaas.py

class IptablesFwaasTestCase(base.BaseTestCase):

    def setUp(self):

    def _fake_rules_v4(self, fwid, apply_list):

    def _fake_firewall_no_rule(self):

    def _fake_firewall(self, rule_list):

    def _fake_firewall_with_admin_down(self, rule_list):

    def _fake_apply_list(self, router_count=1):

    def _setup_firewall_with_rules(self, func, router_count=1):

    def test_create_firewall_no_rules(self):

    def test_create_firewall_with_rules(self):

    def test_create_firewall_with_rules_two_routers(self):

    def test_update_firewall_with_rules(self):

    def test_delete_firewall(self):

    def test_create_firewall_with_admin_down(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\services\firewall\drivers\linux\__init__.py

\OpenStack\neutron-2014.1\neutron\tests\unit\services\firewall\drivers\varmour\test_varmour_fwaas.py

class TestBasicRouterOperations(base.BaseTestCase):

    def setUp(self):

    def _create_router(self):

    def _create_fwaas(self):

    def _del_all_internal_ports(self, router):

    def _del_internal_ports(self, router, port_idx):

    def _add_internal_ports(self, router, port_count=1):

    def _del_all_floating_ips(self, router):

    def _del_floating_ips(self, router, port_idx):

    def _add_floating_ips(self, router, port_count=1):

    def _prepare_router_data(self, enable_snat=None):

    def _add_firewall_rules(self, fw, rule_count=1):

    def _prepare_firewall_data(self):

    def test_firewall_without_rule(self):

    def test_firewall_with_rules(self):

    def test_firewall_add_remove_rules(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\services\firewall\drivers\varmour\__init__.py

\OpenStack\neutron-2014.1\neutron\tests\unit\services\firewall\drivers\__init__.py

\OpenStack\neutron-2014.1\neutron\tests\unit\services\firewall\test_fwaas_plugin.py

class TestFirewallCallbacks(test_db_firewall.FirewallPluginDbTestCase):

    def setUp(self):

    def test_set_firewall_status(self):

    def test_firewall_deleted(self):

    def test_firewall_deleted_error(self):

    def test_get_firewall_for_tenant(self):

    def test_get_firewall_for_tenant_without_rules(self):

class TestFirewallAgentApi(base.BaseTestCase):

    def setUp(self):

    def test_init(self):

    def _call_test_helper(self, method_name):

    def test_create_firewall(self):

    def test_update_firewall(self):

    def test_delete_firewall(self):

class TestFirewallPluginBase(test_db_firewall.TestFirewallDBPlugin):

    def setUp(self):

    def test_create_second_firewall_not_permitted(self):

    def test_create_firewall_admin_not_affected_by_other_tenant(self):

    def test_update_firewall(self):

    def test_update_firewall_fails_when_firewall_pending(self):

    def test_update_firewall_policy_fails_when_firewall_pending(self):

    def test_update_firewall_rule_fails_when_firewall_pending(self):

    def test_delete_firewall(self):

    def test_delete_firewall_after_agent_delete(self):

    def test_make_firewall_dict_with_in_place_rules(self):

    def test_make_firewall_dict_with_in_place_rules_no_policy(self):

    def test_list_firewalls(self):

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

\OpenStack\neutron-2014.1\neutron\tests\unit\services\loadbalancer\agent\test_agent.py

class TestLbaasService(base.BaseTestCase):

    def test_start(self):

    def test_main(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\services\loadbalancer\agent\test_agent_manager.py

class TestManager(base.BaseTestCase):

    def setUp(self):

    def test_initialize_service_hook(self):

    def test_periodic_resync_needs_sync(self):

    def test_periodic_resync_no_sync(self):

    def test_collect_stats(self):

    def test_collect_stats_exception(self):

    def _sync_state_helper(self, ready, reloaded, destroyed):

    def test_sync_state_all_known(self):

    def test_sync_state_all_unknown(self):

    def test_sync_state_destroy_all(self):

    def test_sync_state_both(self):

    def test_sync_state_exception(self):

    def test_reload_pool(self):

    def test_reload_pool_driver_not_found(self):

    def test_reload_pool_exception_on_driver(self):

    def test_destroy_pool(self):

    def test_destroy_pool_exception_on_driver(self):

    def test_get_driver_unknown_device(self):

    def test_remove_orphans(self):

    def test_create_vip(self):

    def test_create_vip_failed(self):

    def test_update_vip(self):

    def test_update_vip_failed(self):

    def test_delete_vip(self):

    def test_create_pool(self):

    def test_create_pool_failed(self):

    def test_update_pool(self):

    def test_update_pool_failed(self):

    def test_delete_pool(self):

    def test_create_member(self):

    def test_create_member_failed(self):

    def test_update_member(self):

    def test_update_member_failed(self):

    def test_delete_member(self):

    def test_create_monitor(self):

    def test_create_monitor_failed(self):

    def test_update_monitor(self):

    def test_update_monitor_failed(self):

    def test_delete_monitor(self):

    def test_agent_disabled(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\services\loadbalancer\agent\test_api.py

class TestApiCache(base.BaseTestCase):

    def setUp(self):

    def test_init(self):

    def test_get_ready_devices(self):

    def test_get_logical_device(self):

    def test_pool_destroyed(self):

    def test_pool_deployed(self):

    def test_update_status(self):

    def test_plug_vip_port(self):

    def test_unplug_vip_port(self):

    def test_update_pool_stats(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\services\loadbalancer\agent\__init__.py

\OpenStack\neutron-2014.1\neutron\tests\unit\services\loadbalancer\drivers\embrane\test_embrane_defaults.py

class ConfigurationTest(base.BaseTestCase):

    def test_defaults(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\services\loadbalancer\drivers\embrane\test_plugin_driver.py

class TestLoadBalancerPluginBase( test_db_loadbalancer.LoadBalancerPluginDbTestCase):

    def setUp(self):

class TestLoadBalancerPlugin(test_db_loadbalancer.TestLoadBalancer, TestLoadBalancerPluginBase):

    def test_create_vip_with_session_persistence_with_app_cookie(self):

    def test_pool_port(self):

    def test_create_pool_port_no_port(self):

    def test_lb_operations_handlers(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\services\loadbalancer\drivers\embrane\__init__.py

\OpenStack\neutron-2014.1\neutron\tests\unit\services\loadbalancer\drivers\haproxy\test_cfg.py

class TestHaproxyCfg(base.BaseTestCase):

    def test_save_config(self):

    def test_build_global(self):

    def test_build_defaults(self):

    def test_build_frontend(self):

    def test_build_backend(self):

    def test_get_server_health_option(self):

    def test_has_http_cookie_persistence(self):

    def test_get_session_persistence(self):

    def test_expand_expected_codes(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\services\loadbalancer\drivers\haproxy\test_namespace_driver.py

class TestHaproxyNSDriver(base.BaseTestCase):

    def setUp(self):

    def test_get_name(self):

    def test_create(self):

    def test_update(self):

    def test_spawn(self):

    def test_undeploy_instance(self):

    def test_exists(self):

    def test_get_stats(self):

    def test_plug(self):

    def test_plug_no_gw(self):

    def test_unplug(self):

    def test_kill_pids_in_file(self):

    def test_get_state_file_path(self):

    def test_deploy_instance(self):

    def test_deploy_instance_non_existing(self):

    def test_deploy_instance_vip_status_non_active(self):

    def test_deploy_instance_vip_admin_state_down(self):

    def test_deploy_instance_no_vip(self):

    def test_deploy_instance_pool_status_non_active(self):

    def test_deploy_instance_pool_admin_state_down(self):

    def test_refresh_device(self):

    def test_create_vip(self):

    def test_update_vip(self):

    def test_delete_vip(self):

    def test_create_pool(self):

    def test_update_pool(self):

    def test_delete_pool_existing(self):

    def test_delete_pool_non_existing(self):

    def test_create_member(self):

    def test_update_member(self):

    def test_delete_member(self):

    def test_create_pool_health_monitor(self):

    def test_update_pool_health_monitor(self):

    def test_delete_pool_health_monitor(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\services\loadbalancer\drivers\haproxy\__init__.py

\OpenStack\neutron-2014.1\neutron\tests\unit\services\loadbalancer\drivers\netscaler\test_ncc_client.py

class TestNSClient(testlib_api.WebTestCase):

    def setUp(self):

    def test_instantiate_nsclient_with_empty_uri(self):

    def test_create_resource_with_no_connection(self):

    def test_create_resource_with_error(self):

    def test_create_resource(self):

    def test_update_resource_with_error(self):

    def test_update_resource(self):

    def test_delete_resource_with_error(self):

    def test_delete_resource(self):

    def _get_nsclient(self):

    def _get_testvip_httpbody_for_create(self):

    def _get_testvip_httpbody_for_update(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\services\loadbalancer\drivers\netscaler\test_netscaler_driver.py

class TestLoadBalancerPluginBase(test_db_loadbalancer .LoadBalancerPluginDbTestCase):

    def setUp(self):

class TestNetScalerPluginDriver(TestLoadBalancerPluginBase):

    def setUp(self):

    def test_create_vip(self):

    def test_create_vip_without_connection(self):

    def test_update_vip(self):

    def test_delete_vip(self):

    def test_create_pool(self):

    def test_create_pool_with_error(self):

    def test_create_pool_with_snatportcreate_failure(self):

    def test_update_pool(self):

    def test_delete_pool(self):

    def test_create_member(self):

    def test_update_member(self):

    def test_delete_member(self):

    def test_create_pool_health_monitor(self):

    def test_update_pool_health_monitor(self):

    def test_delete_pool_health_monitor(self):

    def _build_testvip_contents(self, subnet, pool):

    def _build_expectedvip_contents(self, testvip, subnet):

    def _build_updated_testvip_contents(self, testvip, subnet, pool):

    def _build_updated_expectedvip_contents(self, testvip, subnet, pool):

    def _build_testpool_contents(self, subnet):

    def _build_expectedpool_contents(self, testpool, subnet):

    def _build_updated_testpool_contents(self, testpool, subnet):

    def _build_updated_expectedpool_contents(self, testpool, subnet):

    def _build_testmember_contents(self, pool):

    def _build_expectedmember_contents(self, testmember):

    def _build_updated_testmember_contents(self, testmember):

    def _build_updated_expectedmember_contents(self, testmember):

    def _build_testhealthmonitor_contents(self, pool):

    def _build_expectedhealthmonitor_contents(self, testhealthmonitor):

    def _build_updated_testhealthmonitor_contents(self, testmonitor):

    def _build_updated_expectedhealthmonitor_contents(self, testmonitor):

    def _mock_update_status(self):

def mock_create_resource_func(*args, **kwargs):

def mock_update_resource_func(*args, **kwargs):

def mock_retrieve_resource_func(*args, **kwargs):

def mock_remove_resource_func(*args, **kwargs):

\OpenStack\neutron-2014.1\neutron\tests\unit\services\loadbalancer\drivers\netscaler\__init__.py

\OpenStack\neutron-2014.1\neutron\tests\unit\services\loadbalancer\drivers\radware\test_plugin_driver.py

class QueueMock(Queue.Queue):

    def __init__(self, completion_handler):

    def put_nowait(self, oper):

def rest_call_function_mock(action, resource, data, headers, binary=False):

def _get_handler(resource):

def _delete_handler(resource):

def _post_handler(resource, binary):

class TestLoadBalancerPluginBase( test_db_loadbalancer.LoadBalancerPluginDbTestCase):

    def setUp(self):

class TestLoadBalancerPlugin(TestLoadBalancerPluginBase):

    def setUp(self):

    def test_verify_workflow_templates(self):

    def test_create_vip_failure(self):

    def test_create_vip(self):

    def test_update_vip(self):

    def test_delete_vip_failure(self):

    def test_delete_vip(self):

    def test_update_pool(self):

    def test_delete_pool_with_vip(self):

    def test_create_member_with_vip(self):

    def test_update_member_with_vip(self):

    def test_update_member_without_vip(self):

    def test_delete_member_with_vip(self):

    def test_delete_member_without_vip(self):

    def test_create_hm_with_vip(self):

    def test_delete_pool_hm_with_vip(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\services\loadbalancer\drivers\radware\__init__.py

\OpenStack\neutron-2014.1\neutron\tests\unit\services\loadbalancer\drivers\test_agent_driver_base.py

class TestLoadBalancerPluginBase( test_db_loadbalancer.LoadBalancerPluginDbTestCase):

    def setUp(self):

        def reset_device_driver():

class TestLoadBalancerCallbacks(TestLoadBalancerPluginBase):

    def setUp(self):

    def test_get_ready_devices(self):

    def test_get_ready_devices_multiple_vips_and_pools(self):

    def test_get_ready_devices_inactive_vip(self):

    def test_get_ready_devices_inactive_pool(self):

    def test_get_logical_device_non_active(self):

    def test_get_logical_device_active(self):

    def test_get_logical_device_inactive_member(self):

    def test_get_logical_device_pending_create_member(self):

    def test_get_logical_device_pending_create_health_monitor(self):

    def _update_port_test_helper(self, expected, func, **kwargs):

    def test_plug_vip_port(self):

    def test_plug_vip_port_mock_with_host(self):

    def test_unplug_vip_port(self):

    def test_pool_deployed(self):

    def test_update_status_pool(self):

    def test_update_status_pool_deleted_already(self):

    def test_update_status_health_monitor(self):

class TestLoadBalancerAgentApi(base.BaseTestCase):

    def setUp(self):

    def test_init(self):

    def _call_test_helper(self, method_name, method_args):

    def test_agent_updated(self):

    def test_create_pool(self):

    def test_update_pool(self):

    def test_delete_pool(self):

    def test_create_vip(self):

    def test_update_vip(self):

    def test_delete_vip(self):

    def test_create_member(self):

    def test_update_member(self):

    def test_delete_member(self):

    def test_create_monitor(self):

    def test_update_monitor(self):

    def test_delete_monitor(self):

class TestLoadBalancerPluginNotificationWrapper(TestLoadBalancerPluginBase):

    def setUp(self):

    def test_create_vip(self):

    def test_update_vip(self):

    def test_delete_vip(self):

    def test_create_pool(self):

    def test_update_pool_non_active(self):

    def test_update_pool_no_vip_id(self):

    def test_update_pool_with_vip_id(self):

    def test_delete_pool(self):

    def test_create_member(self):

    def test_update_member(self):

    def test_update_member_new_pool(self):

    def test_delete_member(self):

    def test_create_pool_health_monitor(self):

    def test_delete_pool_health_monitor(self):

    def test_update_health_monitor_associated_with_pool(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\services\loadbalancer\drivers\__init__.py

\OpenStack\neutron-2014.1\neutron\tests\unit\services\loadbalancer\test_agent_scheduler.py

class AgentSchedulerTestMixIn(test_agent_scheduler.AgentSchedulerTestMixIn):

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

    def _get_lbaas_agent_hosting_pool(self, pool_id, expected_code=exc.HTTPOk.code, admin_context=True):

class LBaaSAgentSchedulerTestCase(test_agent_ext_plugin.AgentDBTestMixIn, AgentSchedulerTestMixIn, test_db_loadbalancer.LoadBalancerTestMixin, test_plugin.NeutronDbPluginV2TestCase):

    def setUp(self):

    def restore_attribute_map(self):

    def test_report_states(self):

    def test_pool_scheduling_on_pool_creation(self):

    def test_schedule_pool_with_disabled_agent(self):

    def test_schedule_pool_with_down_agent(self):

    def test_pool_unscheduling_on_pool_deletion(self):

    def test_pool_scheduling_non_admin_access(self):

class LBaaSAgentSchedulerTestCaseXML(LBaaSAgentSchedulerTestCase):

\OpenStack\neutron-2014.1\neutron\tests\unit\services\loadbalancer\test_loadbalancer_plugin.py

class LoadBalancerExtensionTestCase(test_api_v2_extension.ExtensionTestCase):

    def setUp(self):

    def test_vip_create(self):

    def test_vip_list(self):

    def test_vip_update(self):

    def test_vip_get(self):

    def test_vip_delete(self):

    def test_pool_create(self):

    def test_pool_list(self):

    def test_pool_update(self):

    def test_pool_get(self):

    def test_pool_delete(self):

    def test_pool_stats(self):

    def test_member_create(self):

    def test_member_list(self):

    def test_member_update(self):

    def test_member_get(self):

    def test_member_delete(self):

    def test_health_monitor_create(self):

    def test_health_monitor_list(self):

    def test_health_monitor_update(self):

    def test_health_monitor_get(self):

    def test_health_monitor_delete(self):

    def test_create_pool_health_monitor(self):

    def test_delete_pool_health_monitor(self):

class LoadBalancerExtensionTestCaseXML(LoadBalancerExtensionTestCase):

\OpenStack\neutron-2014.1\neutron\tests\unit\services\loadbalancer\test_loadbalancer_quota_ext.py

class LBaaSQuotaExtensionTestCase( test_quota_ext.QuotaExtensionTestCase):

    def setUp(self):

class LBaaSQuotaExtensionDbTestCase(LBaaSQuotaExtensionTestCase):

    def setUp(self):

    def test_quotas_loaded_right(self):

    def test_quotas_default_values(self):

    def test_show_quotas_with_admin(self):

    def test_show_quotas_with_owner_tenant(self):

    def test_update_quotas_to_unlimited(self):

    def test_update_quotas_exceeding_current_limit(self):

    def test_update_quotas_with_admin(self):

class LBaaSQuotaExtensionDbTestCaseXML(LBaaSQuotaExtensionDbTestCase):

class LBaaSQuotaExtensionCfgTestCase( LBaaSQuotaExtensionTestCase):

    def setUp(self):

    def test_quotas_default_values(self):

    def test_update_quotas_forbidden(self):

class LBaaSQuotaExtensionCfgTestCaseXML(LBaaSQuotaExtensionCfgTestCase):

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

\OpenStack\neutron-2014.1\neutron\tests\unit\services\metering\drivers\test_iptables_driver.py

class IptablesDriverTestCase(base.BaseTestCase):

    def setUp(self):

    def test_root_helper(self):

    def test_add_metering_label(self):

    def test_add_metering_label_with_rules(self):

    def test_update_metering_label_rules(self):

    def test_remove_metering_label_rule(self):

    def test_remove_metering_label(self):

    def test_update_routers(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\services\metering\drivers\__init__.py

\OpenStack\neutron-2014.1\neutron\tests\unit\services\metering\test_metering_agent.py

class TestMeteringOperations(base.BaseTestCase):

    def setUp(self):

    def test_add_metering_label(self):

    def test_remove_metering_label(self):

    def test_update_metering_label_rule(self):

    def test_routers_updated(self):

    def test_get_traffic_counters(self):

    def test_notification_report(self):

    def test_router_deleted(self):

class TestMeteringDriver(base.BaseTestCase):

    def setUp(self):

    def test_add_metering_label_with_bad_driver_impl(self):

    def test_add_metering_label_runtime_error(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\services\metering\test_metering_plugin.py

class MeteringTestExtensionManager(object):

    def get_resources(self):

    def get_actions(self):

    def get_request_extensions(self):

class TestMeteringPlugin(test_db_plugin.NeutronDbPluginV2TestCase, test_l3_plugin.L3NatTestCaseMixin, test_db_metering.MeteringPluginDbTestCaseMixin):

    def setUp(self):

    def test_add_metering_label_rpc_call(self):

    def test_remove_metering_label_rpc_call(self):

    def test_remove_one_metering_label_rpc_call(self):

    def test_update_metering_label_rules_rpc_call(self):

    def test_delete_metering_label_does_not_clear_router_tenant_id(self):

class TestRouteIntPlugin(l3_agentschedulers_db.L3AgentSchedulerDbMixin, test_l3_plugin.TestL3NatIntPlugin):

class TestMeteringPluginL3AgentScheduler( test_db_plugin.NeutronDbPluginV2TestCase, test_l3_plugin.L3NatTestCaseMixin, test_db_metering.MeteringPluginDbTestCaseMixin):

    def setUp(self):

    def test_add_metering_label_rpc_call(self):

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

\OpenStack\neutron-2014.1\neutron\tests\unit\services\vpn\device_drivers\cisco_csr_mock.py

def repeat(n):

def filter_request(methods, resource):

def token(url, request):

def token_unauthorized(url, request):

def token_wrong_host(url, request):

def token_timeout(url, request):

def timeout(url, request):

def no_such_resource(url, request):

def expired_request(url, request):

def normal_get(url, request):

def get_fqdn(url, request):

def get_no_ah(url, request):

def get_defaults(url, request):

def get_unnumbered(url, request):

def get_mtu(url, request):

def get_not_configured(url, request):

def get_none(url, request):

def get_local_ip(url, request):

def post(url, request):

def post_change_attempt(url, request):

def post_duplicate(url, request):

def post_missing_ipsec_policy(url, request):

def post_missing_ike_policy(url, request):

def post_bad_ip(url, request):

def post_bad_mtu(url, request):

def post_bad_lifetime(url, request):

def put(url, request):

def delete(url, request):

def delete_unknown(url, request):

def delete_not_allowed(url, request):

\OpenStack\neutron-2014.1\neutron\tests\unit\services\vpn\device_drivers\notest_cisco_csr_rest.py

def generate_pre_shared_key_id():

def generate_ike_policy_id():

def generate_ipsec_policy_id():

class TestCsrLoginRestApi(base.BaseTestCase):

    def setUp(self):

    def test_get_token(self):

    def test_unauthorized_token_request(self):

    def test_non_existent_host(self):

    def test_timeout_on_token_access(self):

class TestCsrGetRestApi(base.BaseTestCase):

    def setUp(self):

    def test_valid_rest_gets(self):

class TestCsrPostRestApi(base.BaseTestCase):

    def setUp(self):

    def test_post_requests(self):

    def test_post_with_location(self):

    def test_post_missing_required_attribute(self):

    def test_post_invalid_attribute(self):

    def test_post_already_exists(self):

    def test_post_changing_value(self):

class TestCsrPutRestApi(base.BaseTestCase):

    def _save_resources(self):

    def _restore_resources(self, user, password):

    def setUp(self):

    def test_put_requests(self):

    def test_change_interface_description(self):

    def ignore_test_change_to_empty_interface_description(self):

class TestCsrDeleteRestApi(base.BaseTestCase):

    def setUp(self):

    def _make_dummy_user(self):

    def test_delete_requests(self):

    def test_delete_non_existent_entry(self):

    def test_delete_not_allowed(self):

class TestCsrRestApiFailures(base.BaseTestCase):

    def setUp(self):

    def test_request_for_non_existent_resource(self):

    def test_timeout_during_request(self):

    def test_token_expired_on_request(self):

    def test_failed_to_obtain_token_for_request(self):

class TestCsrRestIkePolicyCreate(base.BaseTestCase):

    def setUp(self):

    def test_create_delete_ike_policy(self):

    def test_create_ike_policy_with_defaults(self):

    def test_create_duplicate_ike_policy(self):

class TestCsrRestIPSecPolicyCreate(base.BaseTestCase):

    def setUp(self):

    def test_create_delete_ipsec_policy(self):

    def test_create_ipsec_policy_with_defaults(self):

    def test_create_ipsec_policy_with_uuid(self):

    def test_create_ipsec_policy_without_ah(self):

    def test_invalid_ipsec_policy_lifetime(self):

class TestCsrRestPreSharedKeyCreate(base.BaseTestCase):

    def setUp(self):

    def test_create_delete_pre_shared_key(self):

    def test_create_pre_shared_key_with_fqdn_peer(self):

    def test_create_pre_shared_key_with_duplicate_peer_address(self):

class TestCsrRestIPSecConnectionCreate(base.BaseTestCase):

    def setUp(self):

    def _make_psk_for_test(self):

    def _make_ike_policy_for_test(self):

    def _make_ipsec_policy_for_test(self):

    def _remove_resource_for_test(self, delete_resource, resource_id):

    def _prepare_for_site_conn_create(self, skip_psk=False, skip_ike=False, skip_ipsec=False):

    def test_create_delete_ipsec_connection(self):

    def test_create_ipsec_connection_with_no_tunnel_subnet(self):

    def test_create_ipsec_connection_no_pre_shared_key(self):

    def test_create_ipsec_connection_with_default_ike_policy(self):

    def test_create_ipsec_connection_missing_ipsec_policy(self):

    def _determine_conflicting_ip(self):

    def test_create_ipsec_connection_conficting_tunnel_ip(self):

    def test_create_ipsec_connection_with_max_mtu(self):

    def test_create_ipsec_connection_with_bad_mtu(self):

    def test_status_when_no_tunnels_exist(self):

    def test_status_for_one_tunnel(self):

class TestCsrRestIkeKeepaliveCreate(base.BaseTestCase):

    def setUp(self):

    def test_configure_ike_keepalive(self):

    def test_disable_ike_keepalive(self):

class TestCsrRestStaticRoute(base.BaseTestCase):

    def setUp(self):

    def test_create_delete_static_route(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\services\vpn\device_drivers\test_cisco_ipsec.py

class TestCiscoCsrIPSecConnection(base.BaseTestCase):

    def setUp(self):

    def test_create_ipsec_site_connection(self):

    def test_create_ipsec_site_connection_with_rollback(self):

        def fake_route_check_fails(*args, **kwargs):

    def test_create_verification_with_error(self):

    def test_failure_with_invalid_create_step(self):

    def test_failure_with_invalid_delete_step(self):

    def test_delete_ipsec_connection(self):

class TestCiscoCsrIPsecConnectionCreateTransforms(base.BaseTestCase):

    def setUp(self):

    def test_invalid_attribute(self):

    def test_driver_unknown_mapping(self):

    def test_psk_create_info(self):

    def test_create_ike_policy_info(self):

    def test_create_ike_policy_info_non_defaults(self):

    def test_ipsec_policy_info(self):

    def test_ipsec_policy_info_non_defaults(self):

    def test_site_connection_info(self):

    def test_static_route_info(self):

class TestCiscoCsrIPsecDeviceDriverSyncStatuses(base.BaseTestCase):

    def setUp(self):

    def test_update_ipsec_connection_create_notify(self):

    def test_update_ipsec_connection_changed_settings(self):

    def test_update_of_unknown_ipsec_connection(self):

    def test_update_unchanged_ipsec_connection(self):

    def test_update_connection_admin_down(self):

    def test_update_missing_connection_admin_down(self):

    def test_update_connection_admin_up(self):

    def test_update_for_vpn_service_create(self):

    def test_update_for_new_connection_on_existing_service(self):

    def test_update_for_vpn_service_with_one_unchanged_connection(self):

    def test_update_service_admin_down(self):

    def test_update_new_service_admin_down(self):

    def test_update_service_admin_up(self):

    def test_update_of_unknown_service_create(self):

    def test_update_service_create_no_csr(self):

    def _check_connection_for_service(self, count, vpn_service):

    def notification_for_two_services_with_two_conns(self):

    def test_create_two_connections_on_two_services(self):

    def test_sweep_connection_marked_as_clean(self):

    def test_sweep_connection_dirty(self):

    def test_sweep_service_dirty(self):

    def test_sweep_multiple_services(self):

    def simulate_mark_update_sweep_for_service_with_conn(self, service_state, connection_state):

    def test_report_fragment_connection_created(self):

    def test_report_fragment_connection_unchanged_status(self):

    def test_report_fragment_connection_changed_status(self):

    def test_report_fragment_connection_failed_create(self):

    def test_report_fragment_connection_admin_down(self):

    def test_report_fragment_two_connections(self):

    def test_report_service_create(self):

    def test_report_service_create_of_first_conn_fails(self):

    def test_report_connection_created_on_existing_service(self):

    def test_no_report_no_changes(self):

    def test_report_sole_connection_goes_down(self):

    def test_report_sole_connection_comes_up(self):

    def test_report_service_with_two_connections_gone_down(self):

    def test_report_service_with_connection_removed(self):

    def test_report_service_admin_down_with_two_connections(self):

    def test_report_multiple_services(self):

    def test_vpnservice_updated(self):

class TestCiscoCsrIPsecDeviceDriverConfigLoading(base.BaseTestCase):

    def create_tempfile(self, contents):

    def test_loading_csr_configuration(self):

    def test_loading_config_without_timeout(self):

    def test_skip_loading_duplicate_csr_configuration(self):

    def test_fail_loading_config_with_invalid_timeout(self):

    def test_fail_loading_config_missing_required_info(self):

    def test_fail_loading_config_with_invalid_router_id(self):

    def test_fail_loading_config_with_invalid_mgmt_ip(self):

    def test_fail_loading_config_with_invalid_tunnel_ip(self):

    def test_failure_no_configurations_entries(self):

    def test_failure_no_csr_configurations_entries(self):

    def test_missing_config_value(self):

    def test_ignores_invalid_attribute_in_config(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\services\vpn\device_drivers\test_ipsec.py

class TestIPsecDeviceDriver(base.BaseTestCase):

    def setUp(self, driver=ipsec_driver.OpenSwanDriver):

    def test_vpnservice_updated(self):

    def test_create_router(self):

    def test_destroy_router(self):

    def test_sync_added(self):

    def fake_ensure_process(self, process_id, vpnservice=None):

    def test_sync_update_vpnservice(self):

    def test_sync_removed(self):

    def test_sync_removed_router(self):

    def test_status_updated_on_connection_admin_down(self):

    def test_status_updated_on_service_admin_down(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\services\vpn\device_drivers\__init__.py

\OpenStack\neutron-2014.1\neutron\tests\unit\services\vpn\service_drivers\test_cisco_ipsec.py

class TestCiscoIPsecDriverValidation(base.BaseTestCase):

    def setUp(self):

    def test_ike_version_unsupported(self):

    def test_ike_lifetime_not_in_seconds(self):

    def test_ipsec_lifetime_not_in_seconds(self):

    def test_ike_lifetime_seconds_values_at_limits(self):

    def test_ipsec_lifetime_seconds_values_at_limits(self):

    def test_ike_lifetime_values_invalid(self):

    def test_ipsec_lifetime_values_invalid(self):

    def test_ipsec_connection_with_mtu_at_limits(self):

    def test_ipsec_connection_with_invalid_mtu(self):

    def simulate_gw_ip_available(self):

        def have_one():

    def test_have_public_ip_for_router(self):

    def test_router_with_missing_gateway_ip(self):

    def test_peer_id_is_an_ip_address(self):

    def test_peer_id_is_not_ip_address(self):

    def test_validation_for_create_ipsec_connection(self):

class TestCiscoIPsecDriverMapping(base.BaseTestCase):

    def setUp(self):

    def test_identifying_first_mapping_id(self):

    def test_last_mapping_id_available(self):

    def test_reusing_first_available_mapping_id(self):

    def test_no_more_mapping_ids_available(self):

    def test_create_tunnel_mappings(self):

class TestCiscoIPsecDriver(base.BaseTestCase):

    def setUp(self):

    def _test_update(self, func, args, reason=None):

    def test_create_ipsec_site_connection(self):

    def test_failure_validation_ipsec_connection(self):

    def test_update_ipsec_site_connection(self):

    def test_delete_ipsec_site_connection(self):

    def test_update_vpnservice(self):

    def test_delete_vpnservice(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\services\vpn\service_drivers\test_ipsec.py

class TestIPsecDriver(base.BaseTestCase):

    def setUp(self):

    def _test_update(self, func, args):

    def test_create_ipsec_site_connection(self):

    def test_update_ipsec_site_connection(self):

    def test_delete_ipsec_site_connection(self):

    def test_update_vpnservice(self):

    def test_delete_vpnservice(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\services\vpn\service_drivers\__init__.py

\OpenStack\neutron-2014.1\neutron\tests\unit\services\vpn\test_vpnaas_driver_plugin.py

class TestVPNDriverPlugin(test_db_vpnaas.TestVpnaas, test_agent_scheduler.AgentSchedulerTestMixIn, test_agent_ext_plugin.AgentDBTestMixIn):

    def setUp(self):

    def test_create_ipsec_site_connection(self, **extras):

    def test_delete_vpnservice(self, **extras):

    def test_update_vpnservice(self, **extras):

    def vpnservice_set(self):

    def test_get_agent_hosting_vpn_services(self):

    def test_update_status(self):

\OpenStack\neutron-2014.1\neutron\tests\unit\services\vpn\test_vpnaas_extension.py

class VpnaasExtensionTestCase(test_api_v2_extension.ExtensionTestCase):

    def setUp(self):

    def test_ikepolicy_create(self):

    def test_ikepolicy_list(self):

    def test_ikepolicy_update(self):

    def test_ikepolicy_get(self):

    def test_ikepolicy_delete(self):

    def test_ipsecpolicy_create(self):

    def test_ipsecpolicy_list(self):

    def test_ipsecpolicy_update(self):

    def test_ipsecpolicy_get(self):

    def test_ipsecpolicy_delete(self):

    def test_vpnservice_create(self):

    def test_vpnservice_list(self):

    def test_vpnservice_update(self):

    def test_vpnservice_get(self):

    def test_vpnservice_delete(self):

    def test_ipsec_site_connection_create(self):

    def test_ipsec_site_connection_list(self):

    def test_ipsec_site_connection_update(self):

    def test_ipsec_site_connection_get(self):

    def test_ipsec_site_connection_delete(self):

class VpnaasExtensionTestCaseXML(VpnaasExtensionTestCase):

\OpenStack\neutron-2014.1\neutron\tests\unit\services\vpn\test_vpn_agent.py

class NoopDeviceDriver(device_drivers.DeviceDriver):

    def sync(self, context, processes):

    def create_router(self, process_id):

    def destroy_router(self, process_id):

class TestVPNAgent(base.BaseTestCase):

    def setUp(self):

    def test_setup_drivers(self):

    def test_get_namespace(self):

    def test_add_nat_rule(self):

    def test_add_nat_rule_with_no_router(self):

    def test_remove_rule(self):

    def test_remove_rule_with_no_router(self):

    def test_iptables_apply(self):

    def test_iptables_apply_with_no_router(self):

    def test_router_added(self):

    def test_router_removed(self):

    def test_process_routers(self):

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

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

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

class ExpectedException(testtools.ExpectedException):

    def __enter__(self):

    def __exit__(self, exc_type, exc_value, traceback):

def create_request(path, body, content_type, method='GET', query_string=None, context=None):

class WebTestCase(base.BaseTestCase):

    def setUp(self):

    def deserialize(self, response):

    def serialize(self, data):

class SubDictMatch(object):

    def __init__(self, sub_dict):

    def __eq__(self, super_dict):

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

def test_setup_conf():

class TestRootHelper(base.BaseTestCase):

    def test_agent_root_helper(self):

    def test_root_helper(self):

    def test_root_default(self):

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

class AgentTestExtensionManager(object):

    def get_resources(self):

    def get_actions(self):

    def get_request_extensions(self):

class TestAgentPlugin(db_base_plugin_v2.NeutronDbPluginV2, agents_db.AgentDbMixin):

class AgentDBTestMixIn(object):

    def _list_agents(self, expected_res_status=None, neutron_context=None, query_string=None):

    def _register_agent_states(self, lbaas_agents=False):

    def _register_one_dhcp_agent(self):

class AgentDBTestCase(AgentDBTestMixIn, test_db_plugin.NeutronDbPluginV2TestCase):

    def setUp(self):

    def restore_resource_attribute_map(self):

    def test_create_agent(self):

    def test_list_agent(self):

    def test_show_agent(self):

    def test_update_agent(self):

    def test_dead_agent(self):

class AgentDBTestCaseXML(AgentDBTestCase):

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

class AgentUtilsExecuteTest(base.BaseTestCase):

    def setUp(self):

    def test_without_helper(self):

    def test_with_helper(self):

    def test_stderr_true(self):

    def test_check_exit_code(self):

    def test_execute_raises(self):

    def test_process_input(self):

    def test_with_addl_env(self):

class AgentUtilsGetInterfaceMAC(base.BaseTestCase):

    def test_get_interface_mac(self):

class AgentUtilsReplaceFile(base.BaseTestCase):

    def test_replace_file(self):

class TestFindChildPids(base.BaseTestCase):

    def test_returns_empty_list_for_exit_code_1(self):

    def test_returns_empty_list_for_no_output(self):

    def test_returns_list_of_child_process_ids_for_good_ouput(self):

    def test_raises_unknown_exception(self):

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

class TestNetnsCleanup(base.BaseTestCase):

    def test_setup_conf(self):

    def test_kill_dhcp(self, dhcp_active=True):

    def test_kill_dhcp_no_active(self):

    def test_eligible_for_deletion_ns_not_uuid(self):

    def _test_eligible_for_deletion_helper(self, prefix, force, is_empty, expected):

    def test_eligible_for_deletion_empty(self):

    def test_eligible_for_deletion_not_empty(self):

    def test_eligible_for_deletion_not_empty_forced(self):

    def test_unplug_device_regular_device(self):

    def test_unplug_device_ovs_port(self):

    def test_unplug_device_cannot_determine_bridge_port(self):

    def _test_destroy_namespace_helper(self, force, num_devices):

    def test_destroy_namespace_empty(self):

    def test_destroy_namespace_not_empty(self):

    def test_destroy_namespace_not_empty_forced(self):

    def test_destroy_namespace_exception(self):

    def test_main(self):

    def test_main_no_candidates(self):

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

class TestOVSCleanup(base.BaseTestCase):

    def test_setup_conf(self):

    def test_main(self):

    def test_collect_neutron_ports(self):

    def test_delete_neutron_ports(self):

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

class AgentRPCPluginApi(base.BaseTestCase):

    def _test_rpc_call(self, method):

    def test_get_device_details(self):

    def test_update_device_down(self):

    def test_tunnel_sync(self):

class AgentPluginReportState(base.BaseTestCase):

    def test_plugin_report_state_use_call(self):

    def test_plugin_report_state_cast(self):

class AgentRPCMethods(base.BaseTestCase):

    def test_create_consumers(self):

    def test_create_consumers_with_node_name(self):

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

class FakeController(common.NeutronController):

class APICommonTestCase(base.BaseTestCase):

    def setUp(self):

    def test_prepare_request_body(self):

    def test_prepare_request_body_none(self):

    def test_prepare_request_body_keyerror(self):

    def test_prepare_request_param_value_none(self):

OpenStack Index

Previous

Next