]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add update binding:profile with physical_network
authorIrena Berezovsky <irenab@mellanox.com>
Tue, 18 Mar 2014 14:35:35 +0000 (16:35 +0200)
committerIrena Berezovsky <irenab@mellanox.com>
Wed, 19 Mar 2014 08:08:09 +0000 (10:08 +0200)
commit218d51e087ab5fc713f8d9edb66d515d833efdbb
tree5fa1177223507b55c9047206572aeb46548afb21
parent3067748798b1c7da9cba2aa62853805bb1024ce6
Add update binding:profile with physical_network

Add temporary solution in order to support multiple physical networks
by mlnx ML2 MechanismDriver.
Due to non merged patches in nova that should support propagating
physical_network retrieved from port binding:profile attribute
to VIF/Network object.
The code will be removed once relevant nova patches are merged.
The code is disabled by default and should be enabled via
ml2_conf_mlnx.ini config file.

Change-Id: I815f9e28774efd47bccd1c57481e6ba89075792b
Closes-bug: #1291209
etc/neutron/plugins/ml2/ml2_conf_mlnx.ini
neutron/plugins/ml2/drivers/mlnx/config.py
neutron/plugins/ml2/drivers/mlnx/mech_mlnx.py
neutron/tests/unit/ml2/drivers/test_mech_mlnx.py