]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Use the constant HOST_ID instead of 'binding:host_id'
authorGary Kotton <gkotton@vmware.com>
Sun, 13 Dec 2015 12:52:27 +0000 (04:52 -0800)
committergaryk <gkotton@vmware.com>
Sun, 20 Dec 2015 14:00:29 +0000 (14:00 +0000)
commit19de679e8aec09b75d56271f14b9e1ef19111d6b
treec6f3769ef5991aa8adb70b118bba21e19106ab8f
parent520fe8fc3704121ac174a3b594a2a3954ed2a6b2
Use the constant HOST_ID instead of 'binding:host_id'

This patch makes use of the constant defined in the extension.
In addition to this having value of debing defined in one place it
also enables the caller to understand that the portbindings
extension is required.

Note: the constant is not used in the API tests. This has import
issues so it is not relevant.

TrivialFix

Change-Id: I7bfe2528dbbd8017ddbdcf949dbb6264ce1eb5d8
17 files changed:
neutron/agent/l3/ha_router.py
neutron/db/l3_agentschedulers_db.py
neutron/db/l3_dvr_db.py
neutron/db/l3_dvrscheduler_db.py
neutron/debug/debug_agent.py
neutron/tests/fullstack/resources/client.py
neutron/tests/functional/agent/l3/test_dvr_router.py
neutron/tests/functional/services/l3_router/test_l3_dvr_router_plugin.py
neutron/tests/unit/agent/l3/test_agent.py
neutron/tests/unit/agent/l3/test_dvr_local_router.py
neutron/tests/unit/api/rpc/handlers/test_dhcp_rpc.py
neutron/tests/unit/db/test_l3_dvr_db.py
neutron/tests/unit/debug/test_commands.py
neutron/tests/unit/extensions/test_l3.py
neutron/tests/unit/plugins/ml2/drivers/l2pop/test_mech_driver.py
neutron/tests/unit/plugins/ml2/test_plugin.py
neutron/tests/unit/scheduler/test_l3_agent_scheduler.py