]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Remove subnet_id from check_ports_exist_on_l3agent
authorMichael Smith <michael.smith6@hp.com>
Tue, 2 Sep 2014 17:05:12 +0000 (17:05 +0000)
committerCarl Baldwin <carl.baldwin@hp.com>
Mon, 8 Sep 2014 16:11:41 +0000 (16:11 +0000)
commitf31a56a06c01adecfeaa679b49243c24accb65d1
tree1afa326da2f0ee2eafb45b4e007056bc86d217a2
parent43637f257f353254bf3bb68e5b7631ae1aacd831
Remove subnet_id from check_ports_exist_on_l3agent

Refactor check_ports_exist_on_l3agent so that subnet_id no longer
needs to be passed.  Instead it calls get_subnet_ids_on_router.  This
helps to pave the way for removing hints from schedule router.

Partial-bug: #1353266
Partial-bug: #1356639
Co-Authored-By: Swaminathan Vasudevan <swaminathan.vasudevan@hp.com>
Change-Id: I6e9dcb0b899294bb4cf3e3d616a0a690049c338e
neutron/db/l3_agentschedulers_db.py
neutron/scheduler/l3_agent_scheduler.py
neutron/tests/unit/test_l3_schedulers.py