neutron/neutron
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
..
agent Merge "Process user iptables rules before INVALID" into stable/kilo 2015-10-06 23:57:25 +00:00
api Update dhcp host portbinding on failover 2015-10-09 05:45:36 +00:00
callbacks Add security groups events 2015-06-29 11:34:50 -07:00
cmd Add simple ARP spoofing protection 2015-03-29 20:57:07 -07:00
common Enable servicing lbaasV2 vip by DVR 2015-09-23 09:13:01 -07:00
db Fix _ensure_default_security_group logic 2015-09-29 14:29:21 -07:00
debug Migrate to oslo.log 2015-03-12 11:22:56 +01:00
extensions Allow setting Agents description to None 2015-10-06 15:38:21 +00:00
hacking Fix failures introduced by the new version of mock 2015-07-10 20:45:03 +02:00
ipam Ensure non-overlapping cidrs in subnetpools without galera 2015-06-12 12:58:24 +00:00
locale Release Import of Translations from Transifex 2015-04-20 11:08:37 +02:00
notifiers Reuse nova batch notifier 2015-03-20 13:55:08 +00:00
openstack Migrate to oslo.log 2015-03-12 11:22:56 +01:00
plugins Merge "Fix _ensure_default_security_group logic" into stable/kilo 2015-10-05 20:17:55 +00:00
scheduler Bug-Fix for unexpected DHCP agent redundant 2015-09-21 15:07:58 +00:00
server Migrate to oslo.log 2015-03-12 11:22:56 +01:00
services Fix a wrong condition for the _purge_metering_info function 2015-09-04 10:52:52 +00:00
tests Update dhcp host portbinding on failover 2015-10-09 05:45:36 +00:00
__init__.py Revert "monkey patch stdlib before importing other modules" 2015-02-11 17:26:33 -08:00
auth.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
context.py Remove "Arguments dropped when creating context" logging 2015-04-01 09:38:21 -04:00
hooks.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
i18n.py oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
manager.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
neutron_plugin_base_v2.py Basic subnetpool CRUD 2015-03-18 22:53:50 -07:00
policy.py Stop device_owner from being set to 'network:*' 2015-09-08 15:00:17 +00:00
quota.py Treat all negative quota values as -1 2015-04-02 17:26:51 +05:30
service.py Move pool dispose() before os.fork 2015-06-08 17:48:51 +08:00
version.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
wsgi.py Move pool dispose() before os.fork 2015-06-08 17:48:51 +08:00