Support multiple vfmodules in Robot CDS macro flow
Change-Id: I4a4c32ef624cb4fb403bf4e43c7e410d61eccfb8
Issue-ID: CCSDK-537
Signed-off-by: Yang Xu <yang.xu3@huawei.com>
diff --git a/robot/assets/cds/template_vnf.json b/robot/assets/cds/template_vnf.json
index b815c53..954654e 100644
--- a/robot/assets/cds/template_vnf.json
+++ b/robot/assets/cds/template_vnf.json
@@ -19,22 +19,5 @@
"productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
"instanceName": "${vnf_name}",
"instanceParams": [],
- "vfModules": [
- {
- "modelInfo": {
- "modelType": "vfModule",
- "modelName": "${vf_module_model_name}",
- "modelVersionId": "${vf_module_model_version_id}",
- "modelCustomizationId": "${vf_module_model_customization_id}"
- },
- "instanceName": "${vf_module_name}",
- "instanceParams": [
- {
- "vfw_param1": "24",
- "vfw_param2": "24",
- "vfw_param3": "24"
- }
- ]
- }
- ]
+ "vfModules": [${vf_modules}]
}