Prepare config.json for SRIOV DP v3.0.0+
[ta/infra-ansible.git] / roles / sriovdp_config / templates / sriovdp_config.yaml.j2
index 2ef5e92..c3bdde1 100644 (file)
@@ -5,6 +5,8 @@ resourceList:
 {%       for pool in network_profiles[nprof].sriov_provider_networks %}
 {%         for iface in network_profiles[nprof].sriov_provider_networks[pool].interfaces %}
 - resourceName: "sriov_{{ iface }}"
+  selectors:
+    pfNames: [ "{{ iface }}" ]
   rootDevices: [ "{{ ifacepcimap[iface] }}" ]
   sriovMode: true
   deviceType: netdevice