The neutron_fwaas.tests.unit.services.firewall.test_fwaas_plugin Module

class neutron_fwaas.tests.unit.services.firewall.test_fwaas_plugin.FirewallTestExtensionManager

Bases: neutron.tests.unit.extensions.test_l3.L3TestExtensionManager

get_actions()
get_request_extensions()
get_resources()
class neutron_fwaas.tests.unit.services.firewall.test_fwaas_plugin.TestFirewallAgentApi(*args, **kwds)

Bases: neutron_fwaas.tests.base.BaseTestCase

setUp()
test_create_firewall(*args, **kwargs)
test_delete_firewall(*args, **kwargs)
test_init(*args, **kwargs)
test_update_firewall(*args, **kwargs)
class neutron_fwaas.tests.unit.services.firewall.test_fwaas_plugin.TestFirewallCallbacks(*args, **kwds)

Bases: neutron_fwaas.tests.unit.services.firewall.test_fwaas_plugin.TestFirewallRouterInsertionBase

test_firewall_deleted(*args, **kwargs)
test_firewall_deleted_concurrently(*args, **kwargs)
test_firewall_deleted_error(*args, **kwargs)
test_firewall_deleted_not_found(*args, **kwargs)
test_get_firewall_for_tenant(*args, **kwargs)
test_set_firewall_status(*args, **kwargs)
test_set_firewall_status_pending_delete(*args, **kwargs)
class neutron_fwaas.tests.unit.services.firewall.test_fwaas_plugin.TestFirewallPluginBase(*args, **kwds)

Bases: neutron_fwaas.tests.unit.services.firewall.test_fwaas_plugin.TestFirewallRouterInsertionBase, neutron.tests.unit.extensions.test_l3.L3NatTestCaseMixin

setUp()
test_create_firewall_admin_not_affected_by_other_tenant(*args, **kwargs)
test_create_firewall_no_routers_empty_list_specified(*args, **kwargs)

neutron firewall-create test-policy –router-ids “”

test_create_firewall_routers_not_specified(*args, **kwargs)

neutron firewall-create test-policy

test_create_firewall_routers_present_empty_list_specified(*args, **kwargs)

neutron firewall-create test-policy –router-ids “”

test_create_firewall_routers_specified(*args, **kwargs)

neutron firewall-create test-policy –router-ids “r1 r2”

test_create_second_firewall_on_same_tenant(*args, **kwargs)

fw1 created with default routers, fw2 no routers on same tenant.

test_delete_firewall_after_agent_delete(*args, **kwargs)
test_delete_firewall_with_no_routers(*args, **kwargs)
test_firewall_quota_default(*args, **kwargs)

Test quota using default value.

test_firewall_quota_lower(*args, **kwargs)

Test quota using overridden value.

test_insert_rule(*args, **kwargs)
test_insert_rule_notif(*args, **kwargs)
test_list_firewalls(*args, **kwargs)
test_list_firewalls_with_filtering(*args, **kwargs)
test_make_firewall_dict_with_in_place_rules(*args, **kwargs)
test_make_firewall_dict_with_in_place_rules_no_policy(*args, **kwargs)
test_remove_rule(*args, **kwargs)
test_remove_rule_notif(*args, **kwargs)
test_update_firewall(*args, **kwargs)
test_update_firewall_fails_when_firewall_pending(*args, **kwargs)
test_update_firewall_policy_fails_when_firewall_pending(*args, **kwargs)
test_update_firewall_rule_fails_when_firewall_pending(*args, **kwargs)
test_update_firewall_shared_fails_for_non_admin(*args, **kwargs)
test_update_firewall_with_router_when_firewall_inactive(*args, **kwargs)
class neutron_fwaas.tests.unit.services.firewall.test_fwaas_plugin.TestFirewallRouterInsertionBase(*args, **kwds)

Bases: neutron_fwaas.tests.unit.db.firewall.test_firewall_db.FirewallPluginDbTestCase

restore_attribute_map()
setUp(core_plugin=None, fw_plugin=None, ext_mgr=None)
class neutron_fwaas.tests.unit.services.firewall.test_fwaas_plugin.TestFirewallRouterPluginBase(*args, **kwds)

Bases: neutron_fwaas.tests.unit.db.firewall.test_firewall_db.FirewallPluginDbTestCase, neutron.tests.unit.extensions.test_l3.L3NatTestCaseMixin, neutron.tests.unit.extensions.test_agent.AgentDBTestMixIn

setUp(core_plugin=None, fw_plugin=None, ext_mgr=None)
test_get_firewall_tenant_ids_on_host_with_associated_router(*args, **kwargs)
test_get_firewall_tenant_ids_on_host_with_routers(*args, **kwargs)
test_get_firewall_tenant_ids_on_host_without_associated_router(*args, **kwargs)