aboutsummaryrefslogtreecommitdiffstats
path: root/robot/assets/templates
diff options
context:
space:
mode:
Diffstat (limited to 'robot/assets/templates')
-rw-r--r--robot/assets/templates/asdc/catalog_vnf_inputs.template112
-rw-r--r--robot/assets/templates/asdc/catalog_vnf_properties.template29
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
+ }
+]