vmware-nsx/neutron
Dane LeBlanc 1c3864fb8a cisco/nexus plugin doesn't create port for router interface
Fixes bug 1234826

This fix adds a "nexus_l3_enable" configuration boolean for the
Cisco Nexus plugin. When this config boolean is set to False (default),
then the Nexus switches are only used for L2 switching/segmentation, and
layer 3 functionality is deferred to the OVS subplugin / network
control node. If this config boolean is set to True, layer 3
functionality, e.g. switch virtual interfaces, are supported on
the Nexus switches. (Note that layer 3 functionality is not supported
on all versions/models Nexus switches.)

Some other things addressed with this fix:
- The l3_port_check keyword argument which is optionally passed to the
  Cisco plugin's delete_port method was not being forwarded on to the
  OVS (sub) plugin. This keyword argument needs to be forwarded to OVS
  e.g. when the delete_port is being done in the context of a
  router interface delete (whereby l3_port_check==False).
- UT test cases are added for new "nexus_l3_enable" config, which
  exercise router interface add/delete.
- The Cisco test_network_plugin.py module is refactored/reorganized
  in order to cleanly add a new router interface test class.
- The test_model_update_port_rollback test case was yielding a false
  positive result (device_owner was not being passed to self.port).

Change-Id: I994b2b82769ea5e10e50dbe3a223d1518e99f714
2013-10-11 20:23:55 -04:00
..
agent Fix dhcp_release lease race condition 2013-10-08 12:41:07 -07:00
api Send proper exception info as expected by the neutron client 2013-09-19 17:32:30 +04:00
cmd remove binaries under bin 2013-08-16 10:10:30 +08:00
common Raise ConfigFilesNotFoundError if CONF.api_paste_config not found 2013-10-08 17:39:34 +09:00
db Add quota table in PLUMgrid plugin 2013-10-08 12:55:41 -07:00
debug Fix message i18n error 2013-09-08 15:58:12 +08:00
extensions Change hard coded numbers to constants in security group tests 2013-09-23 10:21:24 -04:00
locale Imported Translations from Transifex 2013-10-10 06:16:46 +00:00
openstack Merge "Sync rootwrap with code from oslo" 2013-09-27 03:27:22 +00:00
plugins cisco/nexus plugin doesn't create port for router interface 2013-10-11 20:23:55 -04:00
scheduler Ensure router exists when auto_schedule_routers 2013-09-26 22:48:46 +08:00
server Disable lazy translation 2013-10-01 23:16:23 +00:00
services Radware LBaaS driver implementation 2013-10-07 17:24:15 +02:00
tests cisco/nexus plugin doesn't create port for router interface 2013-10-11 20:23:55 -04:00
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
auth.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
context.py Allow for skipping admin roles loading on context creation 2013-08-28 14:06:43 +04:00
hooks.py Fixes Windows setup dependency bug 2013-08-15 22:58:14 +03:00
manager.py Add agent scheduling for LBaaS namespace agent 2013-07-19 13:25:04 +04:00
neutron_plugin_base_v2.py Remove openstack.common.exception usage 2013-08-06 10:42:02 +02:00
policy.py Fix message i18n error 2013-09-08 15:58:12 +08:00
quota.py Enable Quota DB driver by default 2013-10-07 08:52:45 +09:00
service.py Fix message i18n error 2013-09-08 15:58:12 +08:00
version.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
wsgi.py Use built-in print() instead of print statement 2013-09-21 07:30:33 -07:00