vmware-nsx/quantum/tests/unit
Mark McClain 8acc578147 create a Quantum port to reserve VIP address
fixes bug 1129672

The API previously allowed a VIP to be created without verifying that
the tenant had access to the subnet and that the address was valid and
available.  This change modifies VIP creation behavior to create a
Quantum port with the requested address.  If an address is not provided, an
address is allocated using the normal allocation process for the subnet.

This change also renames the port attribute to protocol_port to remove the
ambiguity about which type of port it represents.

Additional tests were added to validate the change in behavior.

Change-Id: Ib19ef653887da568364b4faa0d2c0fac30970b5f
2013-02-27 15:03:02 -08:00
..
bigswitch Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
brocade Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
cisco Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
db create a Quantum port to reserve VIP address 2013-02-27 15:03:02 -08:00
extensions Fixes import reorder nits 2013-02-26 10:37:59 +08:00
hyperv Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
linuxbridge Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
metaplugin Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
midonet Merge "Port update with existing ip_address only causes exception" 2013-02-27 17:37:14 +00:00
nec Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
nicira Merge "Fix retrieval of shared networks" 2013-02-27 21:32:47 +00:00
openvswitch Add scheduling feature basing on agent management extension 2013-02-27 21:20:51 +08:00
plumgrid PLUMgrid quantum plugin 2013-02-10 07:49:48 -08:00
ryu Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
__init__.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
_test_extension_portbindings.py Use oslo-config-2013.1b3 2013-02-17 17:33:05 +00:00
_test_rootwrap_exec.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
database_stubs.py Logging module cleanup 2013-01-03 16:20:56 +08:00
dummy_plugin.py API extension and DB support for service types 2013-01-07 17:21:42 -08:00
extension_stubs.py Move extension.py into quantum/api. 2012-11-20 10:07:29 -05:00
test_agent_config.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_agent_ext_plugin.py Add scheduling feature basing on agent management extension 2013-02-27 21:20:51 +08:00
test_agent_linux_utils.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_agent_netns_cleanup.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_agent_ovs_cleanup.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_agent_rpc.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_api_api_common.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_api_v2_resource.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_api_v2.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_attributes.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_auth.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_common_utils.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_config.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_db_migration.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_db_plugin.py Merge "Port update with existing ip_address only causes exception" 2013-02-27 17:37:14 +00:00
test_db_rpc_base.py Add scheduling feature basing on agent management extension 2013-02-27 21:20:51 +08:00
test_db.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_debug_commands.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_dhcp_agent.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_extension_extended_attribute.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_extension_extraroute.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_extension_portsecurity.py Adds port security api extension and base class 2013-01-23 13:42:30 -08:00
test_extension_security_group.py Remove external_id and security group proxy code 2013-02-22 12:17:18 -08:00
test_extensions.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_iptables_firewall.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_iptables_manager.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_l3_agent.py Add scheduling feature basing on agent management extension 2013-02-27 21:20:51 +08:00
test_l3_plugin.py Add scheduling feature basing on agent management extension 2013-02-27 21:20:51 +08:00
test_linux_daemon.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_linux_dhcp.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_linux_external_process.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_linux_interface.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_linux_ip_lib.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_loadbalancer_plugin.py create a Quantum port to reserve VIP address 2013-02-27 15:03:02 -08:00
test_metadata_agent.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_metadata_namespace_proxy.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_policy.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_quantum_context.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_quantum_manager.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_quota_per_tenant_ext.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_rootwrap.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_routerserviceinsertion.py create a Quantum port to reserve VIP address 2013-02-27 15:03:02 -08:00
test_security_groups_rpc.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_servicetype.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
test_wsgi.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00
testlib_api.py Use testtools instead of unittest or unittest2. 2013-02-26 19:32:30 +09:00