]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Move process_ha_router_added/removed from HA agent to router
authorAssaf Muller <amuller@redhat.com>
Tue, 24 Mar 2015 23:45:11 +0000 (19:45 -0400)
committerAssaf Muller <amuller@redhat.com>
Wed, 25 Mar 2015 01:11:42 +0000 (21:11 -0400)
commit79fcf57b3757dd52cbae6cf0898d07f067ea375b
treea2f8ec7a14bb9837bc4cbe47a6e94f0757ea94ca
parent97372fe6ff1ac620927bba0c2e9d0dfdb012c93d
Move process_ha_router_added/removed from HA agent to router

* Move process_ha_router_added/removed from ha.py to
  ha_router.py, rename them initialize and terminate
* Remove _process_ha_router (Spawns/disables keepalived) from
  process_router (Called when adding/updating and deleting
  a router), move its content to process_router for add/update
  and terminate for delete
* Rename ha_router.spawn_keepalived to enable_keepalived
  (Consistent with disable_keepalived and process_manager
  semantics)

Partially-Implements: bp/restructure-l3-agent
Change-Id: I1f21acdae2ae1faa2c78affaa3f1ce9056487104
neutron/agent/l3/agent.py
neutron/agent/l3/ha.py
neutron/agent/l3/ha_router.py