]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Redefine behavior for NvpAdvancedPlugin during network creation
authorarmando-migliaccio <amigliaccio@nicira.com>
Fri, 13 Sep 2013 20:34:00 +0000 (13:34 -0700)
committerarmando-migliaccio <amigliaccio@nicira.com>
Thu, 26 Sep 2013 18:23:04 +0000 (11:23 -0700)
commit4757ccfc8eb10bee756deb36c72d7a7ca37bdbff
tree6bcdeed4d99aa03f765cb17d69c48c8fd320d0f0
parent8668e29ca308f9f93ecfe13a2c9b47986963ccb1
Redefine behavior for NvpAdvancedPlugin during network creation

When using the NvpAdvancedPlugin, *all* logical switches should
be created through VCNS. VCNS will then proxy the requests to
NVP. This patch implements such a behavior. This is achieved by
replacing the use of nvplib.create_lswitch with the one of the
vcns driver, as the remaining logic can be left as it is.

Fixes bug #1225011

Change-Id: I6c276f747d02ac0d4934c38bf2858cf9b73c5e24
neutron/plugins/nicira/NeutronServicePlugin.py
neutron/plugins/nicira/vshield/edge_appliance_driver.py
neutron/tests/unit/nicira/test_edge_router.py