]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Expose ha_state per router to agent binding via API
authorAssaf Muller <amuller@redhat.com>
Sun, 5 Oct 2014 12:02:59 +0000 (15:02 +0300)
committerAssaf Muller <amuller@redhat.com>
Mon, 23 Mar 2015 21:56:36 +0000 (17:56 -0400)
commitc8dfdb47a8252dff2bbe1577f74b2d05317d236b
treed4a44cb23645bb2de6532ae5e4f04b641b39c8a5
parentde3bd2e61a795beb87c7f1143b2240264543124c
Expose ha_state per router to agent binding via API

l3-agent-list-hosting-router will now return with a new 'ha_state'
attribute, per agent. It signifies the HA state of the router on that
agent.

Implements: blueprint report-ha-router-master
Change-Id: Ie0f53b7565d53ff791b0cdcca20be2b4415b49cc
neutron/db/l3_agentschedulers_db.py
neutron/db/l3_hamode_db.py
neutron/db/l3_hascheduler_db.py
neutron/tests/unit/db/test_l3_ha_db.py
neutron/tests/unit/test_l3_schedulers.py