New SRIOV Device Plugin requires `selectors` to populate
SRIOV pools properly.
Signed-off-by: Ferenc Tóth <ferenc.2.toth@nokia.com>
Change-Id: If46f55f33c21cfefa765c56fba65b5610319e850
{% for pool in network_profiles[nprof].sriov_provider_networks %}
{% for iface in network_profiles[nprof].sriov_provider_networks[pool].interfaces %}
- resourceName: "sriov_{{ iface }}"
{% 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
rootDevices: [ "{{ ifacepcimap[iface] }}" ]
sriovMode: true
deviceType: netdevice