aboutsummaryrefslogtreecommitdiffstats
path: root/tosca/vCPE/vgw
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/vgw
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/vgw')
-rw-r--r--tosca/vCPE/vgw/MainServiceTemplate_sriov.yaml7
1 files changed, 4 insertions, 3 deletions
diff --git a/tosca/vCPE/vgw/MainServiceTemplate_sriov.yaml b/tosca/vCPE/vgw/MainServiceTemplate_sriov.yaml
index 94ca7316..4a3a3429 100644
--- a/tosca/vCPE/vgw/MainServiceTemplate_sriov.yaml
+++ b/tosca/vCPE/vgw/MainServiceTemplate_sriov.yaml
@@ -267,9 +267,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_vgw_0
- virtual_link: VL_mux_gw_private_net