Fix N1kv trunk driver: same mac assigned to ports created
When update p_spec for creating the ports on trunk network, mac_address in
p_spec['port'] should be updated and set to attributes.ATTR_NOT_SPECIFIED.
As such a new mac address will be generated for each port created.
Change-Id: I9515915263ed5ceebd4c1f007d4fc53d824ff64c
Close-Bug: #1452845
(cherry picked from commit 25cb20f4aa86ae59063fe1ad1b43a0fa5b5878d6)
Reviewed: https:/ /review. openstack. org/211270 /git.openstack. org/cgit/ openstack/ networking- cisco/commit/ ?id=f39c6a55613 a274d6d0e674095 33edefbca6f9a7
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit f39c6a55613a274 d6d0e67409533ed efbca6f9a7
Author: Yanping Qu <email address hidden>
Date: Thu May 7 11:37:11 2015 -0700
Fix N1kv trunk driver: same mac assigned to ports created
When update p_spec for creating the ports on trunk network, mac_address in ATTR_NOT_ SPECIFIED.
p_spec['port'] should be updated and set to attributes.
As such a new mac address will be generated for each port created.
Change-Id: I9515915263ed5c eebd4c1f007d4fc 53d824ff64c 9063fe1ad1b43a0 fa5b5878d6)
Close-Bug: #1452845
(cherry picked from commit 25cb20f4aa86ae5