Assign mac address to vf netdevice when using macvtap port
This is a workaround to libvirt issue described here: https://bugzilla.redhat.com/show_bug.cgi?id=1372944. The problem is that
libvirt dosn't update the mac address of the netdevice, instead it uses
netlink to configure the mac address of the VF. For macvtap to work
libvirt should set the mac address on the VF net device and using
netlink. Until this is fixed we should set both of them in nova.
Change-Id: If32828840b552a73400df052fc12a8b5a24f202d
Closes-Bug: #1622292
(cherry picked from commit d79e3afc4c566f439e182f7866969b3392b8a37a)
Reviewed: https:/ /review. openstack. org/490405 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=08bda20e981 ac7449b8813c8a0 9cabc5982a71d7
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit 08bda20e981ac74 49b8813c8a09cab c5982a71d7
Author: Edan David <email address hidden>
Date: Thu Sep 1 03:46:17 2016 -0400
Assign mac address to vf netdevice when using macvtap port
This is a workaround to libvirt issue described here: /bugzilla. redhat. com/show_ bug.cgi? id=1372944. The problem is that
https:/
libvirt dosn't update the mac address of the netdevice, instead it uses
netlink to configure the mac address of the VF. For macvtap to work
libvirt should set the mac address on the VF net device and using
netlink. Until this is fixed we should set both of them in nova.
Change-Id: If32828840b552a 73400df052fc12a 8b5a24f202d 39e182f7866969b 3392b8a37a)
Closes-Bug: #1622292
(cherry picked from commit d79e3afc4c566f4