neutron/neutron/common
Mike Kolesnik 7c2727c4cd Update port bindings for master router
An HA port needs to point to the correct host (where the master router
is running) in order for L2Population to work.

Hence, this patch introduces two fixes:
* When a port owned by an HA router is up we make sure it points to the
  right node where the master is running, or a random node if there is
  no master yet (This corner case is fixed by the 2nd bullet point).

* When a L3 agent reports it's hosting a master, we need to update the
  port binding to the host the master is now running on. This fixes
  both routers with no elected master (Yet) and failovers.

(cherry picked from commit 91d3a0219a)

Conflicts:
	neutron/api/rpc/handlers/l3_rpc.py

Closes-Bug: #1365476
Co-Authored-By: Assaf Muller <amuller@redhat.com>
Change-Id: I8475548947526d8ea736ed7aa754fd0ca475cae2
2015-08-17 12:31:55 +00:00
..
__init__.py Update License Headers to replace Nicira with VMware 2014-02-27 08:11:15 +00:00
config.py Implement default subnet pool configuration settings 2015-04-01 16:05:57 +00:00
constants.py Update port bindings for master router 2015-08-17 12:31:55 +00:00
eventlet_utils.py Add eventlet monkey_patch helper 2015-03-24 08:44:00 -07:00
exceptions.py Block subnet create when a network hosts subnets allocated from different pools 2015-06-01 18:42:59 +00:00
ipv6_utils.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
log.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
repos.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
rpc.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
test_lib.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
topics.py RPC additions to support DVR 2014-07-17 11:45:45 -07:00
utils.py Defer creation of router JSON in get_routers RPC 2015-04-22 19:36:30 +00:00