neutron/neutron/tests/unit/api
venkata anil 9950ce2bbc Update dhcp host portbinding on failover
When a dhcp server is moved to new host on failover,
tunnel is not created.

When a dhcp server is moved to new host,
1) network-hostagent binding is updated(properly i.e with new host).
2) dhcp port-hostagent binding is not updated
   ( dhcp port is still bound to old host)
If dhcp port-bound agent is different from the new dhcp agent
(which is now taking care of this dhcp port), neutron plugin won't
 notify the l2pop, and hence tunnel is not created.

As after failover, the new agent is taking care of this dhcp port,
update portbinding with the new host. This will allow neutron plugin
to notify l2pop(which will create tunnel).

Change-Id: Ib7d7dcddee005395af116ccd31a43853332ae317
Closes-bug: #1411163
(cherry picked from commit 571453c614)
2015-10-09 05:45:36 +00:00
..
rpc Update dhcp host portbinding on failover 2015-10-09 05:45:36 +00:00
v2 Lower log level of errors caused by user requests to INFO 2015-07-29 02:10:46 +09:00
__init__.py Send DHCP notifications regardless of agent status 2013-12-19 07:08:19 +00:00
test_api_common.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
test_extensions.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00