]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Send notification to controller about HA router state change
authorAssaf Muller <amuller@redhat.com>
Sun, 28 Sep 2014 11:26:42 +0000 (14:26 +0300)
committerAssaf Muller <amuller@redhat.com>
Fri, 20 Mar 2015 22:03:59 +0000 (18:03 -0400)
commit79f64ab04190d605f5720a05715cfa8a21643782
tree867c8e08a92bfab58e7da88931dd3d58b1bcb262
parentff30a3a724894d0f1df7fccb9cc9df8aa463c663
Send notification to controller about HA router state change

The L3 agent gets keepalived state change notifications via
a unix domain socket. These events are now batched and
send out as a single RPC to the server. In case the same
router got updated multiple times during the batch period,
only the latest state is sent.

Partially-Implements: blueprint report-ha-router-master
Change-Id: I36834ad3d9e8a49a702f01acc29c7c38f2d48833
neutron/agent/l3/agent.py
neutron/agent/l3/ha.py
neutron/api/rpc/handlers/l3_rpc.py
neutron/db/l3_hamode_db.py
neutron/tests/functional/agent/test_l3_agent.py
neutron/tests/unit/agent/metadata/test_driver.py
neutron/tests/unit/db/test_l3_ha_db.py