]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix FloatingIP Namespace creation in DVR for Late Binding
authorSwaminathan Vasudevan <swaminathan.vasudevan@hp.com>
Fri, 24 Apr 2015 23:58:48 +0000 (16:58 -0700)
committerSwaminathan Vasudevan <swaminathan.vasudevan@hp.com>
Tue, 23 Jun 2015 18:24:44 +0000 (11:24 -0700)
commit0a82b8ae1951073ff5f9b096485b3acf1a541428
tree2f2adacaf06dbc25d5cbee2704aa87e38b8b4cd3
parentaf41907e066b11c068ee18fd82b870289e44e25a
Fix FloatingIP Namespace creation in DVR for Late Binding

DVR has dependency on the portbinding host to determine
where to start the FloatingIP Namespace when floatingip
is configured. But when we assign a floatingip to a port
that is not bound, even though the API will succeed, the
FloatingIP Namespace will not be created by the Agent and
so the FloatingIP will not be functional.

This patch addresses the issue by creating the Namespace
and configuring the rules when the late binding happens.

The agent will be requesting the FIP agent gateway port,
if required and then proceed to configure the FloatingIP
Namespace.

Change-Id: I9b9158bddb626c2bb535acd709452560546fd184
Closes-Bug: #1447034
Closes-Bug: #1460408
neutron/agent/l3/dvr_local_router.py
neutron/tests/functional/agent/test_l3_agent.py
neutron/tests/unit/agent/l3/test_agent.py