summaryrefslogtreecommitdiffstats
path: root/tosca/vCPE/vbrgemu
diff options
context:
space:
mode:
authorLianhao Lu <lianhao.lu@intel.com>2018-09-20 09:37:10 +0800
committerLianhao Lu <lianhao.lu@intel.com>2018-09-20 09:42:24 +0800
commit714334d05a3ce47075a4b17a59daa0a7443b95f4 (patch)
tree75f4bc58cf7ac96f739fa640f684a376cd8cc4df /tosca/vCPE/vbrgemu
parent8b1bd5fb4e3c097ee4c3ee4304090fc7e9a8d3c9 (diff)
Adapt to latest HPA schema change
There are some HPA schema changes at https://wiki.onap.org/pages/viewpage.action?pageId=28377430 which we need to adapt to accrodingly. Change-Id: I84b758ac5b6841b2706df0a21f6da097acc0d896 Issue-ID: INT-536 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Diffstat (limited to 'tosca/vCPE/vbrgemu')
-rw-r--r--tosca/vCPE/vbrgemu/MainServiceTemplate.yaml7
1 files changed, 3 insertions, 4 deletions
diff --git a/tosca/vCPE/vbrgemu/MainServiceTemplate.yaml b/tosca/vCPE/vbrgemu/MainServiceTemplate.yaml
index a895b571..cb0686e4 100644
--- a/tosca/vCPE/vbrgemu/MainServiceTemplate.yaml
+++ b/tosca/vCPE/vbrgemu/MainServiceTemplate.yaml
@@ -206,8 +206,7 @@ topology_template:
support_mandatory: true
# TODO HPA
network_interface_requirements:
- #dataProcessingAccelerationLibrary: dpdk_2.2
- interfaceType: virtio
+ dataProcessingAccelerationLibrary: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform": "generic", "mandatory": "true", "configurationValue": "DPDK"}'
requirements:
- virtual_binding: VDU_vbrgemu_0
- virtual_link: VL_vbrgemu_bng_private_net
@@ -277,8 +276,8 @@ topology_template:
virtual_mem_size: 4096 MB
# HPA requirements
vdu_memory_requirements:
- memoryPageSize: '{"schema-version": "0", "schema-location": "", "platform-id": "generic", "mandatory": true, "configuration-value": "2 MB"}'
- numberOfPages: '{"schema-version": "0","schema-location": "","platform-id": "generic","mandatory": true,"configuration-value": 1024}'
+ memoryPageSize: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform": "generic", "mandatory": "true", "configurationValue": "2 MB"}'
+ numberOfPages: '{"schemaVersion": "0","schemaSelector": "","hardwarePlatform": "generic","mandatory": "true", "configurationValue": "1024"}'
virtual_cpu:
num_virtual_cpu: 2
cpu_architecture: generic