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/490404 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=b6c1bd6a5b3 4e59200bcff371a 30ed02566b15fb
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit b6c1bd6a5b34e59 200bcff371a30ed 02566b15fb
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