]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix lack of extended port's attributes in Metaplugin
authorItsuro Oda <oda@valinux.co.jp>
Thu, 19 Dec 2013 01:51:19 +0000 (10:51 +0900)
committerItsuro Oda <oda@valinux.co.jp>
Mon, 10 Mar 2014 01:16:06 +0000 (10:16 +0900)
commit7a67a5676fb82ddb717e6b606cc702c31523b9fa
tree8233aa2a773721147a3bef2c20cfdc0170f27e2e
parenta3e7e260544b43344f0a268b5257ee743e1034ca
Fix lack of extended port's attributes in Metaplugin

Previously, there are some extended port's attributes did not
appear in the result of GET port API when using Metaplugin.
This become a critial issue currently since lack of port binding
information disturbs normal port binding operation in a compute
node, for example.

Metaplugin did not delegate get_port/get_ports to target plugins.
This is cause of the problem because right plugin instance is not
passed to a hook which handles extended attributes.
Now, get_port/get_ports of target plugins are called so that
extended port's attributes are handled properly.

Change-Id: Ifed2505a97ceca56c4cedd22efa49adcdf3317b8
Closes-Bug: #1136252
neutron/plugins/metaplugin/meta_neutron_plugin.py
neutron/tests/unit/metaplugin/test_metaplugin.py