]> 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)
committerSalvatore Orlando <salv.orlando@gmail.com>
Sat, 1 Mar 2014 22:39:59 +0000 (14:39 -0800)
commita1b08606f2a73339b31ab49d172ae8793d76a55b
tree912263233d39c9712ceb63d73e0ade71089e4f9a
parentba3e99071417752f370be76df09c99437917f935
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