]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Enhance GET networks performance of metaplugin
authorItsuro Oda <oda@valinux.co.jp>
Tue, 24 Dec 2013 03:27:53 +0000 (12:27 +0900)
committerItsuro Oda <oda@valinux.co.jp>
Wed, 5 Mar 2014 22:30:05 +0000 (07:30 +0900)
commita1e1b0a6251c9b0838f871591316c41f37b4b3e0
treeb597269d9bd964943aeea7b954240bed0e519af3
parent1a632d9fbeeb41683fb9da41e81e8743e69ca7ea
Enhance GET networks performance of metaplugin

Change to call plugin.get_networks() per target plugin
instead of calling plugin.get_network() per network.
Hook routines are used to select networks which belong
the target plugin.

Change-Id: Ieff06ac7bc7a150501f91aecc3197b0bb664d5fa
Closes-Bug: #1267290
neutron/plugins/metaplugin/meta_neutron_plugin.py
neutron/tests/unit/metaplugin/test_basic.py
neutron/tests/unit/metaplugin/test_metaplugin.py