]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Setup device alias by device flavor information.
authorJason Zhang <zhesen@nttmcl.com>
Thu, 6 Dec 2012 19:39:34 +0000 (11:39 -0800)
committerJason Zhang <zhesen@nttmcl.com>
Mon, 4 Mar 2013 22:56:21 +0000 (14:56 -0800)
commitc3d789d659840a3e0ddf78a5523d535866a98657
treecd3721072e1e93ffacd96bfe0c6bfc97caf5607d
parent47d4b3f532d969b13b81faeedfb3507c8355f6fb
Setup device alias by device flavor information.

The router interface cannot be deleted since the MetaPlugin
cannot get the flavor information from the port which has
been deleted.
The solution is setting up the alias for each device based
on the flavor information, so the MetaPlugin still can get
the flavor information from the device itself even the
port has been deleted.

Also the router interface cannot be deleted since the
l3_port_check flag is not passed by MetaPlugin.

Fixes: bug #1085276
Change-Id: I670aa45c804e660ee4afb5359e0ab1347f369986
quantum/agent/linux/interface.py
quantum/agent/linux/ip_lib.py
quantum/plugins/metaplugin/meta_quantum_plugin.py
quantum/tests/unit/test_linux_interface.py
quantum/tests/unit/test_linux_ip_lib.py