]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Introduce status for floating IPs
authorSalvatore Orlando <salv.orlando@gmail.com>
Tue, 14 Jan 2014 20:01:40 +0000 (12:01 -0800)
committerThomas Goirand <thomas@goirand.fr>
Thu, 13 Mar 2014 07:20:38 +0000 (15:20 +0800)
commitd2bc05bb2073680084044cfc279660bdf0fef7db
tree99aaf35c7de41a1804151cb5272b3c3e024b34ab
parent65fc2607700bf3818c394c1a2591a2c9557e096e
Introduce status for floating IPs

Add a new 'status' attribute to the floating IP resource.
Extend the plugin RPC interface for allowing status updates from agents,
and implement support for operational status in the L3 agent.

The default behaviour for all the plugins different from
neutron.services.l3_router.l3_router_plugin is to set the status of
a floating IP to ACTIVE upon creation.

Implements blueprint fip-op-status
Change-Id: Ib0176fbcde95b0db5dfdabd4fc297d1d29c0d604
neutron/agent/l3_agent.py
neutron/common/constants.py
neutron/db/l3_db.py
neutron/db/l3_rpc_base.py
neutron/db/migration/alembic_migrations/versions/2eeaf963a447_floatingip_status.py [new file with mode: 0644]
neutron/extensions/l3.py
neutron/services/l3_router/l3_router_plugin.py
neutron/tests/unit/test_l3_agent.py
neutron/tests/unit/test_l3_plugin.py