neutron/neutron
Dane LeBlanc 6b21cd29be Round-robin SVI switch selection fails on Cisco Nexus plugin
Fixes bug 1250969

This fix addresses improper behavior with the Cisco Nexus plugin's
selection of Nexus switch on which to place a Switch Virtual Interface
(SVI) when round-robin switch placement is enabled.

The expected behavior when round-robin SVI switch selection is configured
via the cisco_plugins.ini file, i.e.:
    [cisco]
    nexus_l3_enable = True
    svi_round_robin = True
is that when a virtual router interface is created, the Nexus plugin should
select the Nexus switch with the least number of SVI interfaces configured
for creating the new SVI. The current selection is based on the first
entry in a dictionary, and is therefore indeterminate.

Similarly, this fix also addresses incorrect behavior when round-robin
selection is disabled. In this case, the desired behavior is that
the plugin should select the first switch which appears in the Nexus
switch configuration. Instead, the current selection is also based on the
first entry in a dictionary, and is likewise indeterminate.

Change-Id: I548c1efaa8b54695246251b6823ab59e077836fe
2013-11-14 12:19:54 -05:00
..
agent Merge "Simplify using external routers and metadata" 2013-11-11 13:06:44 +00:00
api Merge "Support uncompressed ipv6 address and abbreviated ipv4 address" 2013-11-08 09:56:46 +00:00
cmd remove binaries under bin 2013-08-16 10:10:30 +08:00
common change NetworkVxlanPortRangeError to base NeutronException 2013-10-21 23:34:53 +08:00
db Remove the warning for Scheduling Network 2013-11-12 15:56:30 +08:00
debug Fix incorrect indentations found by Pep 1.4.6+ 2013-10-19 10:50:16 +02:00
extensions Merge "Fix incorrect indentations found by Pep 1.4.6+" 2013-10-28 22:04:19 +00:00
locale Imported Translations from Transifex 2013-10-30 06:35:14 +00:00
openstack sync log from oslo 2013-10-30 22:10:34 -07:00
plugins Round-robin SVI switch selection fails on Cisco Nexus plugin 2013-11-14 12:19:54 -05: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 Remove confusing comment and code for LBaaS 2013-11-11 20:33:43 +09:00
tests Round-robin SVI switch selection fails on Cisco Nexus plugin 2013-11-14 12:19:54 -05: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 Fallback to Quota Conf Driver if Quotas table is not defined 2013-10-09 22:28:03 +09:00
service.py Merge "Creates multiple worker processes for API server" 2013-10-31 01:39:19 +00:00
version.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
wsgi.py Merge "Creates multiple worker processes for API server" 2013-10-31 01:39:19 +00:00