sriov-device-mappings to allow regexps

Bug #1789198 reported by Alvaro Uria
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Neutron Open vSwitch Charm
Triaged
Wishlist
Unassigned

Bug Description

This bug is related to bug #1786283 (charm-nova-compute's pci-passthrough-whitelist) and bug #1736401 (don't add non-existing devices as data-port does).

We have nodes with network cards plugged in different slots, so SR-IOV interfaces can be named eno2 (on all nodes) but also enp131s0f1 or enp216s0f1 (depending on the slot they're plugged in).

Similar to the proposed fix for pci-passthrough-whitelist, I will send a patch proposal to support:
"""
neutron-openvswitch-vnf:
  sriov-device-mappings: 'physnet1:eno2 physnet2:enp(131|216)s0f1'
"""

Charm will check if the regexp matches a single interface (if more than one is matched, then hook would fail):
"""
$ cat /etc/neutron/plugins/ml2/sriov_agent.ini
[...]
[sriov_nic]
physical_device_mappings = physnet1:eno2,physnet2:enp216s0f1
"""

Revision history for this message
Alvaro Uria (aluria) wrote :
James Page (james-page)
Changed in charm-neutron-openvswitch:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on charm-neutron-openvswitch (master)

Change abandoned by "Alvaro Uría <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/charm-neutron-openvswitch/+/596694
Reason: OpenStack charms now use OVN. This charm is not recommended on new environments.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.