From 2ec8038ba2535a4fba0744bf7d883e46ebed4b84 Mon Sep 17 00:00:00 2001 From: Yang Xu Date: Thu, 1 Nov 2018 12:30:37 -0400 Subject: Distribute vFWNG model for CDS Change-Id: I9ed7b7204ab401fb39d6271af2c725315fd1bff3 Issue-ID: INT-708 Signed-off-by: Yang Xu --- .../templates/asdc/catalog_vnf_inputs.template | 112 +++++++++++++++++++++ .../templates/asdc/catalog_vnf_properties.template | 29 ++++++ 2 files changed, 141 insertions(+) create mode 100644 robot/assets/templates/asdc/catalog_vnf_inputs.template create mode 100644 robot/assets/templates/asdc/catalog_vnf_properties.template (limited to 'robot/assets/templates') diff --git a/robot/assets/templates/asdc/catalog_vnf_inputs.template b/robot/assets/templates/asdc/catalog_vnf_inputs.template new file mode 100644 index 00000000..fb5d4940 --- /dev/null +++ b/robot/assets/templates/asdc/catalog_vnf_inputs.template @@ -0,0 +1,112 @@ +[ + { + "defaultValue": "${nf_function}", + "description": null, + "name": "nf_function", + "parentUniqueId": "cs0008", + "password": false, + "required": false, + "schema": { + "property": {} + }, + "type": "string", + "uniqueId": "${nf_function_uid}", + "value": null, + "definition": false, + "getInputValues": null, + "instanceUniqueId": null, + "propertyId": null, + "properties": null, + "inputs": null, + "ownerId": "cs0008", + "inputPath": null + }, + { + "defaultValue": "${nf_type}", + "description": null, + "name": "nf_type", + "parentUniqueId": null, + "password": false, + "required": false, + "schema": { + "property": {} + }, + "type": "string", + "uniqueId": "${nf_type_uid}", + "value": null, + "definition": false, + "getInputValues": null, + "instanceUniqueId": null, + "propertyId": null, + "properties": null, + "inputs": null, + "ownerId": null, + "inputPath": null + }, + { + "defaultValue": "${nf_naming_code}", + "description": null, + "name": "nf_naming_code", + "parentUniqueId": null, + "password": false, + "required": false, + "schema": { + "property": {} + }, + "type": "string", + "uniqueId": "${nf_naming_code_uid}", + "value": null, + "definition": false, + "getInputValues": null, + "instanceUniqueId": null, + "propertyId": null, + "properties": null, + "inputs": null, + "ownerId": null, + "inputPath": null + }, + { + "defaultValue": "${nf_role}", + "description": null, + "name": "nf_role", + "parentUniqueId": null, + "password": false, + "required": false, + "schema": { + "property": {} + }, + "type": "string", + "uniqueId": "${nf_role_uid}", + "value": null, + "definition": false, + "getInputValues": null, + "instanceUniqueId": null, + "propertyId": null, + "properties": null, + "inputs": null, + "ownerId": null, + "inputPath": null + }, + { + "defaultValue": "${cloud_env}", + "description": "Cloud environment (e.g., openstack, rackspace)", + "name": "cloud_env", + "parentUniqueId": null, + "password": false, + "required": false, + "schema": { + "property": {} + }, + "type": "string", + "uniqueId": "${cloud_env_uid}", + "value": null, + "definition": false, + "getInputValues": null, + "instanceUniqueId": null, + "propertyId": null, + "properties": null, + "inputs": null, + "ownerId": null, + "inputPath": null + } +] diff --git a/robot/assets/templates/asdc/catalog_vnf_properties.template b/robot/assets/templates/asdc/catalog_vnf_properties.template new file mode 100644 index 00000000..63e85527 --- /dev/null +++ b/robot/assets/templates/asdc/catalog_vnf_properties.template @@ -0,0 +1,29 @@ +[ + { + "name": "nfc_function", + "parentUniqueId": "${parent_id}", + "password": false, + "required": false, + "schema": { + "property": {} + }, + "type": "string", + "uniqueId": "${parent_id}.nfc_function", + "value": "${nfc_function}", + "definition": false + }, + { + "description": "vfc naming", + "name": "nfc_naming", + "parentUniqueId": "${parent_id}", + "password": false, + "required": false, + "schema": { + "property": {} + }, + "type": "org.openecomp.datatypes.Naming", + "uniqueId": "${parent_id}.nfc_naming", + "value": "{\"ecomp_generated_naming\":true,\"naming_policy\":\"${nfc_naming_policy}\"}", + "definition": false + } +] -- cgit 1.2.3-korg