Support Ironic interface attach/detach in nova virt
In order to support different Ironic network drivers that may need to
implement vif to pif mapping in different ways, we've added new APIs
in Ironic to abstract this behaviour. This patch switches the Ironic
virt driver over to use this API. As part of this change the virt driver
will no longer provide the macs_for_instance function, as Ironic will
handle updating the Neutron ports during the provisioning process.
Update interface mac addresses in configdrive network_metadata with
ironic node ports values.
Reviewed: https:/ /review. openstack. org/364413 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=c7b46c4778a cdb05468b6cab4f 3111b298609ed4
Committed: https:/
Submitter: Jenkins
Branch: master
commit c7b46c4778acdb0 5468b6cab4f3111 b298609ed4
Author: Sam Betts <email address hidden>
Date: Thu Sep 1 16:44:06 2016 +0100
Support Ironic interface attach/detach in nova virt
In order to support different Ironic network drivers that may need to
implement vif to pif mapping in different ways, we've added new APIs
in Ironic to abstract this behaviour. This patch switches the Ironic
virt driver over to use this API. As part of this change the virt driver
will no longer provide the macs_for_instance function, as Ironic will
handle updating the Neutron ports during the provisioning process.
Update interface mac addresses in configdrive network_metadata with
ironic node ports values.
Co-Authored-By: Vasyl Saienko <email address hidden> plug-unplug- vifs-update 5a982c7eb5bd1ef cc024d2b777
Implements: blueprint ironic-
Change-Id: I4d70423ca97888
Partial-Bug: #1582188
Closes-Bug: #1656854