From d7b7726ee314b105537a07118b417e549f6c6fd2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ferenc=20T=C3=B3th?= Date: Fri, 27 Sep 2019 11:26:48 +0200 Subject: [PATCH] Prepare config.json for SRIOV DP v3.0.0+ MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit New SRIOV Device Plugin requires `selectors` to populate SRIOV pools properly. Signed-off-by: Ferenc Tóth Change-Id: If46f55f33c21cfefa765c56fba65b5610319e850 --- roles/sriovdp_config/templates/sriovdp_config.yaml.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/sriovdp_config/templates/sriovdp_config.yaml.j2 b/roles/sriovdp_config/templates/sriovdp_config.yaml.j2 index 2ef5e92..c3bdde1 100644 --- a/roles/sriovdp_config/templates/sriovdp_config.yaml.j2 +++ b/roles/sriovdp_config/templates/sriovdp_config.yaml.j2 @@ -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 -- 2.16.6