summaryrefslogtreecommitdiffstats
path: root/tosca/vCPE/vgmux/MainServiceTemplate_sriov.yaml
diff options
context:
space:
mode:
authorHuang Haibin <haibin.huang@intel.com>2018-11-01 16:30:24 +0800
committerHuang Haibin <haibin.huang@intel.com>2018-11-01 16:30:24 +0800
commit8d9ae22976d022e2da392ecb48e4c0c38eaa6d9f (patch)
tree75efd75ee29f1d181c2d272073adeb63268f3dca /tosca/vCPE/vgmux/MainServiceTemplate_sriov.yaml
parentc1aae8bb8b148b18f1da33b59fdfb95f727619e1 (diff)
Fix sriov model error
Change-Id: I3c14ddb45dc6357e8043dfd4f7d8d6fdf602b8cf Issue-ID: INT-706 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
Diffstat (limited to 'tosca/vCPE/vgmux/MainServiceTemplate_sriov.yaml')
-rw-r--r--tosca/vCPE/vgmux/MainServiceTemplate_sriov.yaml14
1 files changed, 8 insertions, 6 deletions
diff --git a/tosca/vCPE/vgmux/MainServiceTemplate_sriov.yaml b/tosca/vCPE/vgmux/MainServiceTemplate_sriov.yaml
index ff109750..78f24927 100644
--- a/tosca/vCPE/vgmux/MainServiceTemplate_sriov.yaml
+++ b/tosca/vCPE/vgmux/MainServiceTemplate_sriov.yaml
@@ -264,9 +264,10 @@ topology_template:
network_interface_requirements:
interfaceType: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform": "generic", "mandatory": "true", "configurationValue": "SR-IOV"}'
nic_io_requirements:
- pciVendorId: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform": "generic", "mandatory": "true", "configurationValue": "1234"}'
- pciDeviceId: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform": "generic", "mandatory": "true", "configurationValue": "5678"}'
- pciNumDevices: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform": "generic", "mandatory": "true", "configurationValue": "1"}'
+ logical_node_requirements:
+ pciVendorId: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform": "generic", "mandatory": "true", "configurationValue": "1234"}'
+ pciDeviceId: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform": "generic", "mandatory": "true", "configurationValue": "5678"}'
+ pciNumDevices: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform": "generic", "mandatory": "true", "configurationValue": "1"}'
requirements:
- virtual_binding: VDU_vgmux_0
- virtual_link: VL_bng_gmux_private_net
@@ -292,9 +293,10 @@ topology_template:
network_interface_requirements:
interfaceType: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform": "generic", "mandatory": "true", "configurationValue": "SR-IOV"}'
nic_io_requirements:
- pciVendorId: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform": "generic", "mandatory": "true", "configurationValue": "1234"}'
- pciDeviceId: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform": "generic", "mandatory": "true", "configurationValue": "5678"}'
- pciNumDevices: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform": "generic", "mandatory": "true", "configurationValue": "1"}'
+ logical_node_requirements:
+ pciVendorId: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform": "generic", "mandatory": "true", "configurationValue": "1234"}'
+ pciDeviceId: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform": "generic", "mandatory": "true", "configurationValue": "5678"}'
+ pciNumDevices: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform": "generic", "mandatory": "true", "configurationValue": "1"}'
requirements:
- virtual_binding: VDU_vgmux_0
- virtual_link: VL_mux_gw_private_net