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.
Reviewed: https:/ /review. openstack. org/424639 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=d79e3afc4c5 66f439e182f7866 969b3392b8a37a
Committed: https:/
Submitter: Jenkins
Branch: master
commit d79e3afc4c566f4 39e182f7866969b 3392b8a37a
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
Closes-Bug: #1622292