Change VF propagate_uplink_status default value to True
Issue
-
We have noticed that the link-state behaviour on the SR-IOV VFs is different in OSP 16 compared to OSP 13.
-
In OSP 16, in order to set the VFs to link-state auto when we start a VM, we have had to add the following to
ml2_conf.ini
on the controllers:
[ml2]
extension_drivers = uplink_status_propagation
-
Then, when we create the port, we need to use
--enable-uplink-status-propagation
-
Is there a way to set the default value of propagate_uplink_status to True. Also, this seems to be the default behaviour in OSP 13.
-
For instance, the link-state is looks like this:
# ip link show dev eth2
7: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 00:02:c9:e6:01:12 brd ff:ff:ff:ff:ff:ff
vf 0 MAC 00:00:00:00:00:00, vlan 4095, spoof checking off, link-state disable
vf 1 MAC 00:00:00:00:00:00, vlan 4095, spoof checking on, link-state disable
vf 2 MAC 00:00:00:00:00:00, vlan 4095, spoof checking off, link-state disable
vf 3 MAC 00:00:00:00:00:00, vlan 4095, spoof checking off, link-state disable
vf 4 MAC 00:00:00:00:00:00, vlan 4095, spoof checking off, link-state disable
vf 5 MAC 00:00:00:00:00:00, vlan 4095, spoof checking off, link-state disable
instead of this:
# ip link show dev eth2
7: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 00:02:c9:e6:01:12 brd ff:ff:ff:ff:ff:ff
vf 0 MAC 00:00:00:00:00:00, vlan 4095, spoof checking off, link-state auto
vf 1 MAC 00:00:00:00:00:00, vlan 4095, spoof checking on, link-state auto
vf 2 MAC 00:00:00:00:00:00, vlan 4095, spoof checking off, link-state auto
vf 3 MAC 00:00:00:00:00:00, vlan 4095, spoof checking off, link-state auto
vf 4 MAC 00:00:00:00:00:00, vlan 4095, spoof checking off, link-state auto
vf 5 MAC 00:00:00:00:00:00, vlan 4095, spoof checking off, link-state auto
Environment
- Red Hat OpenStack Platform 16.0 (RHOSP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.