neutron/neutron/tests/unit
Sachi King 033e1413fa Fix L3 HA network creation to allow user to create router
Update HA Network creation to use an admin context to allow Neutron
to create the tenant-less network required for the HA router when
it does not yet exist and is being created by a non-admin user.

Neutron creates these resources without a tenant so users cannot see
or modify the HA network, ports, etc.  Port creation and association
already use elivated admin contexts to allow their function when
an user attempts to create a HA L3 router.

Conflicts:
        neutron/tests/unit/db/test_l3_ha_db.py

Change-Id: I36166158a0970b8d08d6702054b11a43fb684281
Closes-Bug: #1388716
(cherry picked from commit cc9bc24229)
2014-11-11 15:34:06 +02:00
..
agent Merge "ofagent: Remove @author tags and update copyright notices" 2014-09-09 16:06:06 +00:00
api Do not schedule network when creating reserved DHCP port 2014-07-30 07:42:20 +09:00
bigswitch Big Switch: Fix SSL version on get_server_cert 2014-10-30 08:08:42 +00:00
brocade Remove auto-generation of db schema from models at startup 2014-08-15 17:21:17 -04:00
cisco Cisco N1kv: Remove vmnetwork delete REST call on last port delete 2014-10-18 02:17:09 -07:00
db Fix L3 HA network creation to allow user to create router 2014-11-11 15:34:06 +02:00
embrane Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
extensions Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
hyperv Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
ibm Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
linuxbridge remove linuxbridge plugin 2014-10-01 18:08:25 +00:00
metaplugin Refactor plugin setup helpers out of test.base 2014-08-25 14:44:27 +02:00
midonet Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
ml2 Set vif_details to reflect enable_security_group 2014-11-05 07:55:33 +00:00
mlnx Fix sleep function call 2014-11-04 11:44:52 +00:00
nec Set vif_details to reflect enable_security_group 2014-11-05 07:55:33 +00:00
notifiers Replace loopingcall in notifier with a delayed send 2014-04-22 16:22:02 +00:00
nuage Use dict_extend_functions to populate provider network attributes 2014-09-19 14:23:19 -07:00
ofagent Merge "Added TAP_DEVICE_PREFIX info to common/constants" 2014-09-23 08:01:24 +00:00
oneconvergence Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
opencontrail Skip IPv6 Tests in the OpenContrail plugin 2014-10-09 12:03:23 +02:00
openvswitch remove openvswitch plugin 2014-10-01 21:16:27 -07:00
plumgrid Allow to add router interface to IPv6 SLAAC network 2014-11-10 09:29:52 +00:00
ryu Make SecurityGroupsRpcCallback a separate callback class 2014-08-30 10:19:42 +08:00
services remove openvswitch plugin 2014-10-01 21:16:27 -07:00
sriovnicagent Refresh rpc_backend values in unit tests to those from oslo.messaging 2014-08-22 11:02:25 +02:00
vmware NSX: allow multiple networks with same vlan on different phy_net 2014-10-28 14:40:14 -07:00
__init__.py Fix state_path in tests 2014-08-29 17:42:07 +03:00
_test_extension_portbindings.py Set vif_details to reflect enable_security_group 2014-11-05 07:55:33 +00:00
_test_rootwrap_exec.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
database_stubs.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
dummy_plugin.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
extension_stubs.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_agent_config.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_agent_ext_plugin.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_agent_linux_utils.py Make log level in linux.utils.execute configurable 2014-08-26 13:19:34 +04:00
test_agent_netns_cleanup.py Call config_parse in base test setup 2014-07-27 13:31:12 -07:00
test_agent_ovs_cleanup.py Call config_parse in base test setup 2014-07-27 13:31:12 -07:00
test_agent_rpc.py Remove redundant topic from rpc calls 2014-08-05 10:14:20 +00:00
test_api_api_common.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_api_v2.py Merge "Eliminate OrderedDict from test_api_v2.py" 2014-09-27 15:04:49 +00:00
test_api_v2_extension.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_api_v2_resource.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_attributes.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_auth.py add auth token to context 2014-08-12 11:17:21 +09:00
test_basetestcase.py Prevent SystemExits when running tests 2014-09-01 15:05:16 -07:00
test_common_log.py Use method's logger in log decorator 2014-07-15 11:08:33 +02:00
test_common_utils.py Merge "Fix DVR to service DHCP Ports" 2014-09-16 13:26:05 +00:00
test_config.py Fix state_path in tests 2014-08-29 17:42:07 +03:00
test_db_migration.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_db_plugin.py Allow to add router interface to IPv6 SLAAC network 2014-11-10 09:29:52 +00:00
test_db_plugin_level.py Refactor plugin setup helpers out of test.base 2014-08-25 14:44:27 +02:00
test_debug_commands.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_dhcp_agent.py Create DHCP port for IPv6 subnet 2014-10-29 13:27:28 +00:00
test_dhcp_rpc.py Make DhcpRpcCallback a separate callback class 2014-08-28 14:25:32 +00:00
test_dhcp_scheduler.py Remove auto-generation of db schema from models at startup 2014-08-15 17:21:17 -04:00
test_extension_allowedaddresspairs.py no quota for allowed address pair 2014-07-17 23:06:10 +08:00
test_extension_ext_gw_mode.py Allow reading a tenant router's external IP 2014-10-07 16:13:29 +00:00
test_extension_ext_net.py UTs: Disable auto deletion of ports/subnets/nets 2014-09-09 07:09:02 -07:00
test_extension_extended_attribute.py remove openvswitch plugin 2014-10-01 21:16:27 -07:00
test_extension_extradhcpopts.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_extension_extraroute.py Fix broken port query in Extraroute test case 2014-09-26 16:10:43 -07:00
test_extension_firewall.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_extension_pnet.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_extension_portsecurity.py UTs: Disable auto deletion of ports/subnets/nets 2014-09-09 07:09:02 -07:00
test_extension_security_group.py Security groups: prevent race for default security group creation 2014-09-23 01:55:54 -07:00
test_extensions.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_hacking.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_iptables_firewall.py Merge "Remove faulty .assert_has_calls([])" 2014-09-15 16:53:20 +00:00
test_iptables_manager.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_ipv6.py Reset IPv6 detection flag after IPv6 tests 2014-09-04 22:02:28 -07:00
test_l3_agent.py Remove two sets that are not referenced 2014-10-13 15:52:27 +00:00
test_l3_plugin.py Allow reading a tenant router's external IP 2014-10-07 16:13:29 +00:00
test_l3_schedulers.py DVR to delete router namespaces for service ports 2014-09-18 19:18:09 -07:00
test_linux_daemon.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_linux_dhcp.py Deletes floating ip related connection states 2014-09-23 21:48:06 +00:00
test_linux_external_process.py Fix pid file location to avoid I->J changes that break metadata 2014-10-01 16:31:27 -07:00
test_linux_interface.py Merge "Add endpoint_type parameter to MetaInterfaceDriver" 2014-09-18 07:25:26 +00:00
test_linux_ip_lib.py Deletes floating ip related connection states 2014-09-23 21:48:06 +00:00
test_metadata_agent.py Merge "Rename workers to api_workers and simplify code" 2014-09-29 16:58:40 +00:00
test_metadata_namespace_proxy.py Fix 500 error on retrieving metadata by invalid URI 2014-09-18 12:03:08 -07:00
test_neutron_context.py add auth token to context 2014-08-12 11:17:21 +09:00
test_neutron_manager.py Refactor plugin setup helpers out of test.base 2014-08-25 14:44:27 +02:00
test_policy.py Merge "Forbid regular users to reset admin-only attrs to default values" 2014-09-25 03:58:57 +00:00
test_post_mortem_debug.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_provider_configuration.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_quota_ext.py remove linuxbridge plugin 2014-10-01 18:08:25 +00:00
test_routerserviceinsertion.py Refactor plugin setup helpers out of test.base 2014-08-25 14:44:27 +02:00
test_security_groups_rpc.py Fix KeyError when getting secgroup info for ports 2014-09-24 10:08:05 +00:00
test_servicetype.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_wsgi.py Rename workers to api_workers and simplify code 2014-09-15 22:34:25 +00:00
testlib_api.py Delete DB records instead of tables to speedup UT 2014-09-17 09:05:49 -07:00
testlib_plugin.py Refactor plugin setup helpers out of test.base 2014-08-25 14:44:27 +02:00