diff options
author | Yang Xu <yang.xu3@huawei.com> | 2018-11-01 12:30:37 -0400 |
---|---|---|
committer | Yang Xu <yang.xu3@huawei.com> | 2018-11-01 12:31:22 -0400 |
commit | 2ec8038ba2535a4fba0744bf7d883e46ebed4b84 (patch) | |
tree | cf1526e8642b73f37a384778417d9775b261f0ad /robot/assets/templates | |
parent | ac90433f8b6a36d169df563b7ef61405e0f58266 (diff) |
Distribute vFWNG model for CDS
Change-Id: I9ed7b7204ab401fb39d6271af2c725315fd1bff3
Issue-ID: INT-708
Signed-off-by: Yang Xu <yang.xu3@huawei.com>
Diffstat (limited to 'robot/assets/templates')
-rw-r--r-- | robot/assets/templates/asdc/catalog_vnf_inputs.template | 112 | ||||
-rw-r--r-- | robot/assets/templates/asdc/catalog_vnf_properties.template | 29 |
2 files changed, 141 insertions, 0 deletions
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 + } +] |