neutron/neutron/tests/unit
Sachi King cc9bc24229 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.

Change-Id: I36166158a0970b8d08d6702054b11a43fb684281
Closes-Bug: #1388716
2014-11-09 20:55:35 +01:00
..
agent Detect if iproute2 support SR-IOV commands 2014-10-29 11:34:52 +02: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-28 23:18:25 -07:00
brocade Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
cisco Remove XML support 2014-10-24 15:18:49 +00:00
db Fix L3 HA network creation to allow user to create router 2014-11-09 20:55:35 +01:00
embrane Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
extensions Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
hyperv Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
ibm Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
linuxbridge Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
metaplugin Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
midonet Merge "Empty files should not contain copyright or license" 2014-10-20 23:13:52 +00:00
ml2 Merge "Stop ignoring 400 errors returned by ODL" 2014-11-02 11:15:55 +00:00
mlnx Remove XML support 2014-10-24 15:18:49 +00:00
nec Merge "Remove XML support" 2014-10-28 03:31:48 +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 "Ensure ofagent unit tests handles random hashseeds" 2014-10-23 20:16:40 +00:00
oneconvergence Remove XML support 2014-10-24 15:18:49 +00:00
opencontrail Skip IPv6 Tests in the OpenContrail plugin 2014-10-08 09:27:09 -04:00
openvswitch Remove XML support 2014-10-24 15:18:49 +00:00
plumgrid Remove XML support 2014-10-24 15:18:49 +00:00
ryu Remove XML support 2014-10-24 15:18:49 +00:00
services Merge "Ensure test_agent_manager handles random hashseeds" 2014-10-28 08:56:05 +00: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-27 10:52:02 +00: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-09-21 17:41:38 +09: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 Merge "enable F402 check for flake8" 2014-10-28 11:53:30 +00: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 Remove XML support 2014-10-24 15:18: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 XML support 2014-10-24 15:18:49 +00: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 Merge "Remove XML support" 2014-10-28 03:31:48 +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 Merge "Create DHCP port for IPv6 subnet" 2014-10-29 14:29:16 +00:00
test_dhcp_rpc.py Fix KeyError in dhcp_rpc when plugin.port_update raise exception 2014-10-15 13:14:40 +05:30
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 Remove XML support 2014-10-24 15:18:49 +00:00
test_extension_ext_gw_mode.py Allow reading a tenant router's external IP 2014-10-01 06:55:27 -07:00
test_extension_ext_net.py Remove XML support 2014-10-24 15:18:49 +00: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 Remove XML support 2014-10-24 15:18:49 +00:00
test_extension_firewall.py Remove XML support 2014-10-24 15:18:49 +00: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 Remove XML support 2014-10-24 15:18:49 +00:00
test_extensions.py Remove XML support 2014-10-24 15:18:49 +00:00
test_hacking.py mock.assert_called_once() is not a valid method 2014-10-13 12:36:49 +02:00
test_iptables_firewall.py Add comments to iptables rules to help debugging 2014-10-03 07:31:27 +00:00
test_iptables_manager.py Add comments to iptables rules to help debugging 2014-10-03 07:31:27 +00:00
test_ipv6.py Reset IPv6 detection flag after IPv6 tests 2014-09-04 22:02:28 -07:00
test_l3_agent.py Merge "enable F402 check for flake8" 2014-10-28 11:53:30 +00:00
test_l3_plugin.py Remove XML support 2014-10-24 15:18:49 +00:00
test_l3_schedulers.py Moves the HA resource creations outside of transaction 2014-10-20 08:27:37 +00:00
test_linux_daemon.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_linux_dhcp.py Adds an option to enable broadcast replies to Dnsmasq 2014-10-27 17:02:45 +02: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 Use RPC instead of neutron client in metadata agent 2014-10-28 15:52:37 +04: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 Add advsvc role to neutron policy file 2014-10-27 12:49:27 +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 XML support 2014-10-24 15:18:49 +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 Remove XML support 2014-10-24 15:18:49 +00:00
test_servicetype.py Remove XML support 2014-10-24 15:18:49 +00:00
test_wsgi.py Remove XML support 2014-10-24 15:18:49 +00:00
testlib_api.py Remove XML support 2014-10-24 15:18:49 +00:00
testlib_plugin.py Refactor plugin setup helpers out of test.base 2014-08-25 14:44:27 +02:00