Fixes inability to assign different networks to
multi-nics when launching a vm using the cisco n1k plugin.
This fixes an issue wherein with the cisco n1k plugin
launching an instance with multiple nics via horizon causes the
same network to get assigned to all nics.
Additionally modifying the existing test_launch_instance_post
test to handle the situation wherein two nics are created
with the N1K plugin using the N1K policy profile. Hence a new
unit test reflects two ports being created. Two more unit tests
to test port create exceptions are added to test exception
handling as well.
Reviewed: https:/ /review. openstack. org/65793 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=faee0c0c928 4ded67a35b57fed 4a68b4cfacea15
Committed: https:/
Submitter: Jenkins
Branch: master
commit faee0c0c9284ded 67a35b57fed4a68 b4cfacea15
Author: Abishek Subramanian <email address hidden>
Date: Wed Jan 7 14:08:23 2015 -0500
Fix multi-nic issue with nexus plugin
Fixes inability to assign different networks to
multi-nics when launching a vm using the cisco n1k plugin.
This fixes an issue wherein with the cisco n1k plugin
launching an instance with multiple nics via horizon causes the
same network to get assigned to all nics.
Additionally modifying the existing test_launch_ instance_ post
test to handle the situation wherein two nics are created
with the N1K plugin using the N1K policy profile. Hence a new
unit test reflects two ports being created. Two more unit tests
to test port create exceptions are added to test exception
handling as well.
Closes bug: #1260436
Change-Id: Ie91c94e534e1cc 1dddbb6ac563b0b ef102451cf1