]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix DVR to service LBaaS VIP Ports
authorSwaminathan Vasudevan <swaminathan.vasudevan@hp.com>
Thu, 14 Aug 2014 06:38:56 +0000 (23:38 -0700)
committerVivekanandan Narasimhan <vivekanandan.narasimhan@hp.com>
Tue, 26 Aug 2014 13:43:12 +0000 (06:43 -0700)
commit1deb787c15a0f24c6c079c5e5fe122dc54188cdf
tree88ae6d2fa89d33aa2b9109de3f5571c9a12e691e
parent2b37bf185981b8e068fc896ad569dbe1f90e548f
Fix DVR to service LBaaS VIP Ports

Currently, DVR router namespaces are created only
when there is a valid VM port on the compute
node, or for the gateway-port on the service node.
But when an LBaaS VIP port is created the l3 agent
does not create a DVR namespace to service the VIP port.
This fix enables DVR namespaces to be created to
service the LBaaS VIP port.

Also, this fix enables L2 Agent running in DVR
mode, to add-in OVS rules to enable packets to
be routed to such LBaaS VIP Ports which are
resident on DVR routed interfaces.

Therefore, with this fix both East-West and
North-South traffic will be serviced by DVR
for LBaas VIP Ports.

DocImpact

Authored-by: Swaminathan Vasudevan <swaminathan.vasudevan@hp.com>
Co-Authored-By: Vivekanandan Narasimhan <vivekanandan.narasimhan@hp.com>
Change-Id: I698b971d50721fb0512a11569f7d3139d0d456f3
Closes-Bug: #1356464
13 files changed:
neutron/api/rpc/handlers/dvr_rpc.py
neutron/common/constants.py
neutron/common/utils.py
neutron/db/dvr_mac_db.py
neutron/db/l3_agentschedulers_db.py
neutron/db/l3_dvr_db.py
neutron/db/l3_dvrscheduler_db.py
neutron/plugins/ml2/plugin.py
neutron/plugins/ml2/rpc.py
neutron/plugins/openvswitch/agent/ovs_dvr_neutron_agent.py
neutron/tests/unit/ml2/test_ml2_plugin.py
neutron/tests/unit/openvswitch/test_ovs_neutron_agent.py
neutron/tests/unit/test_l3_schedulers.py