neutron/neutron/common
Kevin Benton 36305c0c4f Add ALLOCATING state to routers
This patch adds a new ALLOCATING status to routers
to indicate that the routers are still being built on the
Neutron server. Any routers in this state are excluded in
router retrievals by the L3 agent since they are not yet
ready to be wired up.

This is necessary when a router is made up of several
distinct Neutron resources that cannot all be put
into a single transaction. This patch applies this new
state to HA routers while their internal HA ports and
networks are being created/deleted so the L3 HA agent
will never retrieve a partially formed HA router. It's
important to note that the ALLOCATING status carries over
until after the scheduling is done, which ensures that
routers that weren't fully scheduled will not be sent to
the agents.

An HA router is placed in this state only when it is being
created or converted to/from the HA state since this is
disruptive to the dataplane.

This patch also reverts the changes introduced in
Iadb5a69d4cbc2515fb112867c525676cadea002b since they will
be handled by the ALLOCATING logic instead.

Co-Authored-By: Ann Kamyshnikova <akamyshnikova@mirantis.com>
Co-Authored-By: John Schwarz <jschwarz@redhat.com>

APIImpact
Closes-Bug: #1550886
Related-bug: #1499647
Change-Id: I22ff5a5a74527366da8f82982232d4e70e455570
(cherry picked from commit 9c3c19f07c)
2016-04-14 06:28:33 +00:00
..
__init__.py Update License Headers to replace Nicira with VMware 2014-02-27 08:11:15 +00:00
_deprecate.py deprecated: Raise message 2016-02-20 16:36:16 +00:00
config.py Merge "Set DEFAULT_NETWORK_MTU to 1500 and use it" 2016-03-10 14:14:39 +00:00
constants.py Add ALLOCATING state to routers 2016-04-14 06:28:33 +00:00
eventlet_utils.py Add eventlet monkey_patch helper 2015-03-24 08:44:00 -07:00
exceptions.py Start using neutron-lib for shared constants and exceptions 2016-02-10 16:41:18 -07:00
ipv6_utils.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
rpc.py Add separate transport for notifications 2016-01-26 17:40:03 +00:00
test_lib.py Revert "Removed test_lib module" 2015-06-29 08:27:41 +00:00
topics.py RPC Callback rolling upgrades reporting, and integration 2016-03-01 11:20:48 +01:00
utils.py Merge "Make L3 HA interface creation concurrency safe" into stable/mitaka 2016-04-08 12:11:57 +00:00