Initial checkin of EopenECOMP testsuite
Change-Id: I64a2b6d8cf66169829866b73b3d26a4ff59b0a42
Signed-off-by: DR695H <dr695h@att.com>
diff --git a/robot/assets/templates/aai/add_cloud_region_body.template b/robot/assets/templates/aai/add_cloud_region_body.template
new file mode 100644
index 0000000..95b2525
--- /dev/null
+++ b/robot/assets/templates/aai/add_cloud_region_body.template
@@ -0,0 +1,15 @@
+{
+ "cloud-owner": "${cloud_owner}",
+ "cloud-region-id": "${cloud_region_id}",
+ "cloud-type": "${cloud_type}",
+ "owner-defined-type": "${owner_defined_type}",
+ "cloud-region-version": "${cloud_region_version}",
+ "cloud-zone": "${cloud_zone}",
+ "tenants": {
+ "tenant": [{
+ "tenant-id": "${tenant_id}",
+ "tenant-name": "${tenant_name}"
+
+ }]
+ }
+}
\ No newline at end of file
diff --git a/robot/assets/templates/aai/add_customer.template b/robot/assets/templates/aai/add_customer.template
new file mode 100644
index 0000000..d0ae174
--- /dev/null
+++ b/robot/assets/templates/aai/add_customer.template
@@ -0,0 +1,25 @@
+{
+ "global-customer-id": "${global_customer_id}",
+ "subscriber-name": "${subscriber_name}",
+ "subscriber-type": "${subscriber_type}",
+ "service-subscriptions": {
+ "service-subscription": [{
+ "service-type": "${service1}",
+ "relationship-list": {
+ "relationship": [{
+ "related-to": "tenant",
+ "relationship-data": [{
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "${cloud_owner1}"
+ }, {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "${cloud_region_id1}"
+ }, {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "${tenant_id1}"
+ }]
+ }]
+ }
+ }]
+ }
+ }
\ No newline at end of file
diff --git a/robot/assets/templates/aai/add_service_body.template b/robot/assets/templates/aai/add_service_body.template
new file mode 100644
index 0000000..ca32fd5
--- /dev/null
+++ b/robot/assets/templates/aai/add_service_body.template
@@ -0,0 +1,6 @@
+{
+ "service-id": "${UUID}",
+ "service-description": "${service_type}"
+}
+
+
diff --git a/robot/assets/templates/aai/add_tenant_body.template b/robot/assets/templates/aai/add_tenant_body.template
new file mode 100644
index 0000000..a3cea10
--- /dev/null
+++ b/robot/assets/templates/aai/add_tenant_body.template
@@ -0,0 +1,17 @@
+{
+ "cloud-owner": "${cloud_owner}",
+ "cloud-region-id": "${cloud_region_id}",
+ "cloud-type": "${cloud_type}",
+ "owner-defined-type": "${owner_defined_type}",
+ "cloud-region-version": "${cloud_region_version}",
+ "cloud-zone": "${cloud_zone}",
+ "tenants": {
+ "tenant": [{
+ "tenant-id": "${tenant_id}",
+ "tenant-name": "${tenant_name}"
+
+ }]
+ }
+}
+
+
diff --git a/robot/assets/templates/aai/named_query.template b/robot/assets/templates/aai/named_query.template
new file mode 100644
index 0000000..de3f21f
--- /dev/null
+++ b/robot/assets/templates/aai/named_query.template
@@ -0,0 +1,17 @@
+{
+ "query-parameters": {
+ "named-query": {
+ "named-query-uuid": "f199cb88-5e69-4b1f-93e0-6f257877d066"
+ }
+ },
+ "instance-filters": {
+ "instance-filter": [
+ {
+ "vserver":
+ {
+ "vserver-name": "${vserver_name}"
+ }
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/robot/assets/templates/aai/service_subscription.template b/robot/assets/templates/aai/service_subscription.template
new file mode 100644
index 0000000..8570358
--- /dev/null
+++ b/robot/assets/templates/aai/service_subscription.template
@@ -0,0 +1,19 @@
+{
+ "service-subscription":[
+ {
+ "service-type":"{$service_type}",
+ "resource-version":"1473866861",
+ "service-instances":{
+ "service-instance":[
+ {
+ "service-instance-id":"d3f9a631-e280-4a87-846d-9ccd7a265980",
+ "service-instance-name":"VIV+IST+ezNew+Oct6",
+ "persona-model-id":"e6f1d393-6432-4820-ab86-7a10ba4b31ac",
+ "persona-model-version":"1.0",
+ "resource-version":"1475807447"
+ }
+ ]
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/robot/assets/templates/aai/vlb_closed_loop_hack.template b/robot/assets/templates/aai/vlb_closed_loop_hack.template
new file mode 100644
index 0000000..27f9c96
--- /dev/null
+++ b/robot/assets/templates/aai/vlb_closed_loop_hack.template
@@ -0,0 +1,7 @@
+{
+ "is-base-vf-module": false,
+ "persona-model-id": "${persona_model_id}",
+ "persona-model-version": "1.0",
+ "vf-module-id": "${vf_module_id}",
+ "vf-module-name": "${vf_module_id}"
+}
diff --git a/robot/assets/templates/appc/vnf_mount.template b/robot/assets/templates/appc/vnf_mount.template
new file mode 100644
index 0000000..8ad1135
--- /dev/null
+++ b/robot/assets/templates/appc/vnf_mount.template
@@ -0,0 +1,16 @@
+<node xmlns="urn:TBD:params:xml:ns:yang:network-topology">
+ <node-id>${nodeid}</node-id>
+ <host xmlns="urn:opendaylight:netconf-node-topology">${host}</host>
+ <port xmlns="urn:opendaylight:netconf-node-topology">${port}</port>
+ <username xmlns="urn:opendaylight:netconf-node-topology">${username}</username>
+ <password xmlns="urn:opendaylight:netconf-node-topology">${password}</password>
+ <tcp-only xmlns="urn:opendaylight:netconf-node-topology">false</tcp-only>
+ <!-- non-mandatory fields with default values, you can safely remove these if you do not wish to override any of these values-->
+ <reconnect-on-changed-schema xmlns="urn:opendaylight:netconf-node-topology">false</reconnect-on-changed-schema>
+ <connection-timeout-millis xmlns="urn:opendaylight:netconf-node-topology">20000</connection-timeout-millis>
+ <max-connection-attempts xmlns="urn:opendaylight:netconf-node-topology">0</max-connection-attempts>
+ <between-attempts-timeout-millis xmlns="urn:opendaylight:netconf-node-topology">2000</between-attempts-timeout-millis>
+ <sleep-factor xmlns="urn:opendaylight:netconf-node-topology">1.5</sleep-factor>
+ <!-- keepalive-delay set to 0 turns off keepalives-->
+ <keepalive-delay xmlns="urn:opendaylight:netconf-node-topology">120</keepalive-delay>
+</node>
\ No newline at end of file
diff --git a/robot/assets/templates/asdc/action.template b/robot/assets/templates/asdc/action.template
new file mode 100644
index 0000000..4d417c9
--- /dev/null
+++ b/robot/assets/templates/asdc/action.template
@@ -0,0 +1,3 @@
+{
+ "action": "${action}"
+}
\ No newline at end of file
diff --git a/robot/assets/templates/asdc/catalog_resource.template b/robot/assets/templates/asdc/catalog_resource.template
new file mode 100644
index 0000000..fcc17ce
--- /dev/null
+++ b/robot/assets/templates/asdc/catalog_resource.template
@@ -0,0 +1,43 @@
+{
+ "artifacts": {},
+ "toscaArtifacts": {},
+ "contactId": "cs0008",
+ "categories": [
+ {
+ "name": "Generic",
+ "normalizedName": "generic",
+ "uniqueId": "resourceNewCategory.generic",
+ "subcategories": [
+ {
+ "name": "Abstract",
+ "normalizedName": "abstract",
+ "uniqueId": "resourceNewCategory.generic.abstract",
+ "icons": [
+ "database"
+ ]
+ }
+ ]
+ }
+ ],
+ "description": "vendor software product",
+ "icon": "defaulticon",
+ "componentInstancesProperties": {},
+ "componentInstancesAttributes": {},
+ "name": "${software_product_name}",
+ "tags": [
+ "${software_product_name}"
+ ],
+ "capabilities": {},
+ "requirements": {},
+ "deploymentArtifacts": {},
+ "componentType": "RESOURCE",
+ "vendorName": "${vendor_name}",
+ "vendorRelease": "1.0",
+ "componentInstances": [],
+ "properties": [],
+ "attributes": [],
+ "groups": [],
+ "resourceType": "VF",
+ "csarUUID": "${software_product_id}",
+ "csarVersion": "1.0"
+}
\ No newline at end of file
diff --git a/robot/assets/templates/asdc/catalog_service.template b/robot/assets/templates/asdc/catalog_service.template
new file mode 100644
index 0000000..e7ffdea
--- /dev/null
+++ b/robot/assets/templates/asdc/catalog_service.template
@@ -0,0 +1,34 @@
+{
+ "artifacts": {},
+ "toscaArtifacts": {},
+ "contactId": "cs0008",
+ "categories": [
+ {
+ "name": "Network L1-3",
+ "normalizedName": "network l1-3",
+ "uniqueId": "serviceNewCategory.network l1-3",
+ "icons": [
+ "network_l_1-3"
+ ]
+ }
+ ],
+ "description": "catalog service description",
+ "icon": "network_l_1-3",
+ "componentInstancesProperties": {},
+ "componentInstancesAttributes": {},
+ "name": "${service_name}",
+ "tags": [
+ "robot-ete",
+ "${service_name}"
+ ],
+ "capabilities": {},
+ "requirements": {},
+ "deploymentArtifacts": {},
+ "componentType": "SERVICE",
+ "projectCode": "123456",
+ "componentInstances": [],
+ "properties": [],
+ "attributes": [],
+ "groups": [],
+ "serviceApiArtifacts": {}
+}
\ No newline at end of file
diff --git a/robot/assets/templates/asdc/entitlement_pool.template b/robot/assets/templates/asdc/entitlement_pool.template
new file mode 100644
index 0000000..bcb04d2
--- /dev/null
+++ b/robot/assets/templates/asdc/entitlement_pool.template
@@ -0,0 +1,26 @@
+{
+ "name": "${entitlement_pool_name}",
+ "description": "vendor entitlement pool",
+ "thresholdValue": "99",
+ "thresholdUnits": "Absolute",
+ "entitlementMetric": {
+ "choice": "CPU",
+ "other": ""
+ },
+ "increments": "robot",
+ "aggregationFunction": {
+ "choice": "Peak",
+ "other": ""
+ },
+ "operationalScope": {
+ "choices": [
+ "Availability_Zone"
+ ],
+ "other": ""
+ },
+ "time": {
+ "choice": "Hour",
+ "other": ""
+ },
+ "manufacturerReferenceNumber": "robot12345"
+}
\ No newline at end of file
diff --git a/robot/assets/templates/asdc/feature_group.template b/robot/assets/templates/asdc/feature_group.template
new file mode 100644
index 0000000..3d87b04
--- /dev/null
+++ b/robot/assets/templates/asdc/feature_group.template
@@ -0,0 +1,11 @@
+{
+ "name": "${feature_group_name}",
+ "description": "vendor feature group",
+ "partNumber": "123abc456",
+ "addedLicenseKeyGroupsIds": [
+ "${key_group_id}"
+ ],
+ "addedEntitlementPoolsIds": [
+ "${entitlement_pool_id}"
+ ]
+}
\ No newline at end of file
diff --git a/robot/assets/templates/asdc/key_group.template b/robot/assets/templates/asdc/key_group.template
new file mode 100644
index 0000000..2081261
--- /dev/null
+++ b/robot/assets/templates/asdc/key_group.template
@@ -0,0 +1,11 @@
+{
+ "name": "${key_group_name}",
+ "description": "vendor license key group",
+ "operationalScope": {
+ "choices": [
+ "Tenant"
+ ],
+ "other": ""
+ },
+ "type": "Universal"
+}
\ No newline at end of file
diff --git a/robot/assets/templates/asdc/license_agreement.template b/robot/assets/templates/asdc/license_agreement.template
new file mode 100644
index 0000000..6324d14
--- /dev/null
+++ b/robot/assets/templates/asdc/license_agreement.template
@@ -0,0 +1,12 @@
+{
+ "name": "${license_agreement_name}",
+ "description": "vendor license agreement",
+ "requirementsAndConstrains": "abcdef",
+ "licenseTerm": {
+ "choice": "Fixed_Term",
+ "other": ""
+ },
+ "addedFeatureGroupsIds": [
+ "${feature_group_id}"
+ ]
+}
\ No newline at end of file
diff --git a/robot/assets/templates/asdc/license_model.template b/robot/assets/templates/asdc/license_model.template
new file mode 100644
index 0000000..45fc83f
--- /dev/null
+++ b/robot/assets/templates/asdc/license_model.template
@@ -0,0 +1,5 @@
+{
+ "vendorName": "${vendor_name}",
+ "description": "vendor license model",
+ "iconRef": "icon"
+}
\ No newline at end of file
diff --git a/robot/assets/templates/asdc/resource_instance.template b/robot/assets/templates/asdc/resource_instance.template
new file mode 100644
index 0000000..215f828
--- /dev/null
+++ b/robot/assets/templates/asdc/resource_instance.template
@@ -0,0 +1,10 @@
+{
+ "uniqueId": "${catalog_resource_id}${milli_timestamp}",
+ "posX": 406,
+ "posY": 248,
+ "name": "${catalog_resource_name}",
+ "componentVersion": "1.0",
+ "originType": "VF",
+ "icon": "defaulticon",
+ "componentUid": "${catalog_resource_id}"
+}
\ No newline at end of file
diff --git a/robot/assets/templates/asdc/software_product.template b/robot/assets/templates/asdc/software_product.template
new file mode 100644
index 0000000..f8a4752
--- /dev/null
+++ b/robot/assets/templates/asdc/software_product.template
@@ -0,0 +1,16 @@
+{
+ "name": "${software_product_name}",
+ "description": "vendor software product",
+ "category": "resourceNewCategory.generic",
+ "subCategory": "resourceNewCategory.generic.abstract",
+ "licensingVersion": "1.0",
+ "vendorName": "${vendor_name}",
+ "vendorId": "${vendor_id}",
+ "icon": "icon",
+ "licensingData": {
+ "licenseAgreement": "${license_agreement_id}",
+ "featureGroups": [
+ "${feature_group_id}"
+ ]
+ }
+}
\ No newline at end of file
diff --git a/robot/assets/templates/asdc/user_remarks.template b/robot/assets/templates/asdc/user_remarks.template
new file mode 100644
index 0000000..465115e
--- /dev/null
+++ b/robot/assets/templates/asdc/user_remarks.template
@@ -0,0 +1 @@
+{"userRemarks":"${user_remarks}"}
\ No newline at end of file
diff --git a/robot/assets/templates/cinder_add_volume.template b/robot/assets/templates/cinder_add_volume.template
new file mode 100644
index 0000000..544f41e
--- /dev/null
+++ b/robot/assets/templates/cinder_add_volume.template
@@ -0,0 +1,9 @@
+{
+ "volume": {
+ "display_name": "${name}",
+ "display_description": "${description}",
+ "size": ${size},
+ "volume_type": "${type}",
+ "availability_zone": "${availability_zone}"
+ }
+}
\ No newline at end of file
diff --git a/robot/assets/templates/heat_add_stack.template b/robot/assets/templates/heat_add_stack.template
new file mode 100644
index 0000000..c3af317
--- /dev/null
+++ b/robot/assets/templates/heat_add_stack.template
@@ -0,0 +1,12 @@
+{
+ "files": {},
+ "disable_rollback": true,
+ "stack_name": "${stack_name}",
+ "parameters":
+ ${parameters}
+ ,
+ "template":
+ ${template}
+ ,
+ "timeout_mins": 60
+}
\ No newline at end of file
diff --git a/robot/assets/templates/keystone_get_auth.template b/robot/assets/templates/keystone_get_auth.template
new file mode 100644
index 0000000..255f8ff
--- /dev/null
+++ b/robot/assets/templates/keystone_get_auth.template
@@ -0,0 +1,8 @@
+{
+ "auth": {
+ "passwordCredentials": {
+ "username": "${username}",
+ "password": "${password}"
+ }
+ }
+}
\ No newline at end of file
diff --git a/robot/assets/templates/neutron_add_network.template b/robot/assets/templates/neutron_add_network.template
new file mode 100644
index 0000000..36382d4
--- /dev/null
+++ b/robot/assets/templates/neutron_add_network.template
@@ -0,0 +1,7 @@
+{
+ "network":
+ {
+ "name": "${name}",
+ "admin_state_up": false
+ }
+}
\ No newline at end of file
diff --git a/robot/assets/templates/neutron_add_subnet.template b/robot/assets/templates/neutron_add_subnet.template
new file mode 100644
index 0000000..5a4264f
--- /dev/null
+++ b/robot/assets/templates/neutron_add_subnet.template
@@ -0,0 +1,8 @@
+{
+ "subnet": {
+ "network_id": "${network_id}",
+ "ip_version": 4,
+ "name":"${subnet_name}",
+ "cidr": "${cidr}"
+ }
+}
\ No newline at end of file
diff --git a/robot/assets/templates/nova_add_keypair.template b/robot/assets/templates/nova_add_keypair.template
new file mode 100644
index 0000000..52e2b06
--- /dev/null
+++ b/robot/assets/templates/nova_add_keypair.template
@@ -0,0 +1,6 @@
+{
+ "keypair": {
+ "name": "${name}",
+ "public_key": "${publickey}"
+ }
+}
\ No newline at end of file
diff --git a/robot/assets/templates/nova_add_server.template b/robot/assets/templates/nova_add_server.template
new file mode 100644
index 0000000..8157839
--- /dev/null
+++ b/robot/assets/templates/nova_add_server.template
@@ -0,0 +1,17 @@
+{
+ "server": {
+ "name": "${name}",
+ "imageRef": "${imageRef}",
+ "flavorRef": "${flavorRef}",
+ "config_drive": true,
+ "OS-DCF:diskConfig": "MANUAL",
+ "metadata": {
+ "${name}": "Server for attaching VVG"
+ },
+ "networks": [
+ {
+ "uuid": "00000000-0000-0000-0000-000000000000"
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/robot/assets/templates/policy/closedloop_configpolicy.template b/robot/assets/templates/policy/closedloop_configpolicy.template
new file mode 100644
index 0000000..e14b615
--- /dev/null
+++ b/robot/assets/templates/policy/closedloop_configpolicy.template
@@ -0,0 +1,31 @@
+{
+ "service": "TcaMetrics",
+ "location": "SampleServiceLocation",
+ "uuid": "/services/cdap-tca-hi-lo/instances/demo/configuration/metricsPerFunctionalRole/vFireWall",
+ "policyName": "${policy_name}",
+ "description": "vFirewall configuration Policy@CreatedBy:demo@CreatedBy:@ModifiedBy:demo@ModifiedBy:",
+ "configName": "SampleConfigName",
+ "templateVersion": "OpenSource.version.1",
+ "version": "1.0.0.5",
+ "priority": "1",
+ "policyScope": "resource=SampleResource,service=SampleService,type=SampleType,closedLoopControlName=SampleClosedLoop",
+ "content": {
+ "thresholds": [{
+ "severity": "MAJOR",
+ "fieldPath": "$$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn",
+ "thresholdValue": "300",
+ "closedLoopControlName": "CL-FRWL-LOW-TRAFFIC-SIG-d925ed73-8231-4d02-9545-db4e101f88f8",
+ "version": "1.0.2",
+ "direction": "LESS_OR_EQUAL"
+ }, {
+ "severity": "CRITICAL",
+ "fieldPath": "$$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn",
+ "thresholdValue": "800",
+ "closedLoopControlName": "CL-FRWL-LOW-TRAFFIC-SIG-d925ed73-8231-4d02-9545-db4e101f88f8",
+ "version": "1.0.2",
+ "direction": "GREATER_OR_EQUAL"
+ }],
+ "functionalRole": "vFirewall",
+ "name": "0"
+ }
+}
diff --git a/robot/assets/templates/policy/closedloop_createpolicy.template b/robot/assets/templates/policy/closedloop_createpolicy.template
new file mode 100644
index 0000000..7c693e8
--- /dev/null
+++ b/robot/assets/templates/policy/closedloop_createpolicy.template
@@ -0,0 +1,21 @@
+{
+ "policyConfigType": "BRMS_PARAM",
+ "policyName": "${policy_name}",
+ "policyDescription": "Create BRMS Param policy",
+ "attributes": {
+ "RULE": {
+ "templateName": "ClosedLoopDemo_closedLoopControlName",
+ "aaiNamedQueryUUID": "2",
+ "aaiPassword": "2",
+ "aaiPatternMatch": "2",
+ "aaiURL": "2",
+ "actor": "2",
+ "appcTopic": "2",
+ "closedLoopControlName": "2",
+ "msoPassword": "2",
+ "msoURL": "2",
+ "msoUsername": "2",
+ "aaiUsername": "3"
+ }
+ }
+}
diff --git a/robot/assets/templates/policy/closedloop_deletepolicy.template b/robot/assets/templates/policy/closedloop_deletepolicy.template
new file mode 100644
index 0000000..5551010
--- /dev/null
+++ b/robot/assets/templates/policy/closedloop_deletepolicy.template
@@ -0,0 +1,5 @@
+{
+ "pdpGroup": "default",
+ "policyComponent": "PDP",
+ "policyName": "${policy_name}"
+}
diff --git a/robot/assets/templates/policy/closedloop_getconfigpolicy.template b/robot/assets/templates/policy/closedloop_getconfigpolicy.template
new file mode 100644
index 0000000..34145e5
--- /dev/null
+++ b/robot/assets/templates/policy/closedloop_getconfigpolicy.template
@@ -0,0 +1,8 @@
+{
+ "configAttributes" : {
+ },
+ "configName" : ".*",
+ "ecompName" : "DCAE",
+ "policyName" : "${config_policy_name}",
+ "unique" : true
+}
\ No newline at end of file
diff --git a/robot/assets/templates/policy/closedloop_opspolicy.template b/robot/assets/templates/policy/closedloop_opspolicy.template
new file mode 100644
index 0000000..722c9dc
--- /dev/null
+++ b/robot/assets/templates/policy/closedloop_opspolicy.template
@@ -0,0 +1,25 @@
+
+{
+ "policyConfigType": "BRMS_PARAM",
+ "policyName": "${policy_name}",
+ "policyDescription": "Create BRMS Param policy for vFW",
+ "attributes": {
+ "RULE": {
+ "templateName": "ControlLoopDemo__closedLoopControlName",
+ "closedLoopControlName": "CL-FRWL-LOW-TRAFFIC-SIG-d925ed73-8231-4d02-9545-db4e101f88f8",
+ "policyVersion": "v1.0",
+ "aaiNamedQueryUUID": "null",
+ "aaiPassword": "null",
+ "aaiURL": "null",
+ "actor": "APPC",
+ "appcTopic": "APPC-CL",
+ "msoPassword": "null",
+ "msoURL": "null",
+ "msoUsername": "null",
+ "aaiUsername": "null",
+ "notificationTopic": "POLICY-CL-MGT",
+ "aaiPatternMatch": 1
+ }
+ }
+}
+
diff --git a/robot/assets/templates/policy/closedloop_pushpolicy.template b/robot/assets/templates/policy/closedloop_pushpolicy.template
new file mode 100644
index 0000000..ce1d485
--- /dev/null
+++ b/robot/assets/templates/policy/closedloop_pushpolicy.template
@@ -0,0 +1,5 @@
+{
+ "policyName" : "${policy_name}",
+ "policyType" : "${policy_type}",
+ "pdpGroup" : "default"
+}
\ No newline at end of file
diff --git a/robot/assets/templates/sdnc/dnsscaling_preload.template b/robot/assets/templates/sdnc/dnsscaling_preload.template
new file mode 100644
index 0000000..cf988d5
--- /dev/null
+++ b/robot/assets/templates/sdnc/dnsscaling_preload.template
@@ -0,0 +1,96 @@
+{
+ "input": {
+ "vnf-topology-information": {
+ "vnf-topology-identifier": {
+ "service-type": "${service_type}",
+ "vnf-name": "${vf_module_name}",
+ "vnf-type": "${vf_module_type}",
+ "generic-vnf-name": "${generic_vnf_name}",
+ "generic-vnf-type": "${generic_vnf_type}"
+ },
+ "vnf-assignments": {
+ "availability-zones": [],
+ "vnf-networks": [],
+ "vnf-vms": []
+ },
+ "vnf-parameters": [
+ {
+ "vnf-parameter-name": "repo_url",
+ "vnf-parameter-value": "${repo_url}"
+ },
+ {
+ "vnf-parameter-name": "repo_user",
+ "vnf-parameter-value": "${repo_user}"
+ },
+ {
+ "vnf-parameter-name": "repo_passwd",
+ "vnf-parameter-value": "${repo_passwd}"
+ },
+ {
+ "vnf-parameter-name": "ecomp_private_net_id",
+ "vnf-parameter-value": "${ecomp_private_net_id}"
+ },
+ {
+ "vnf-parameter-name": "ecomp_private_subnet_id",
+ "vnf-parameter-value": "${ecomp_private_subnet_id}"
+ },
+ {
+ "vnf-parameter-name": "ecomp_private_net_cidr",
+ "vnf-parameter-value": "${ecomp_private_net_cidr}"
+ },
+ {
+ "vnf-parameter-name": "vlb_private_net_id",
+ "vnf-parameter-value": "${vlb_private_net_id}"
+ },
+ {
+ "vnf-parameter-name": "vlb_private_ip_0",
+ "vnf-parameter-value": "${vlb_private_ip_0}"
+ },
+ {
+ "vnf-parameter-name": "vlb_private_ip_1",
+ "vnf-parameter-value": "${vlb_private_ip_1}"
+ },
+ {
+ "vnf-parameter-name": "vdns_private_ip_0",
+ "vnf-parameter-value": "${vdns_private_ip_0}"
+ },
+ {
+ "vnf-parameter-name": "vdns_private_ip_1",
+ "vnf-parameter-value": "${vdns_private_ip_1}"
+ },
+ {
+ "vnf-parameter-name": "vdns_name_0",
+ "vnf-parameter-value": "${scaling_vdns_name_0}"
+ },
+ {
+ "vnf-parameter-name": "webserver_ip",
+ "vnf-parameter-value": "${webserver_ip}"
+ },
+ {
+ "vnf-parameter-name": "dcae_collector_ip",
+ "vnf-parameter-value": "${dcae_collector_ip}"
+ },
+ {
+ "vnf-parameter-name": "key_name",
+ "vnf-parameter-value": "${key_name}"
+ },
+ {
+ "vnf-parameter-name": "pub_key",
+ "vnf-parameter-value": "${pub_key}"
+ }
+ ]
+ },
+ "request-information": {
+ "request-id": "robot12",
+ "order-version": "1",
+ "notification-url": "openecomp.org",
+ "order-number": "1",
+ "request-action": "PreloadVNFRequest"
+ },
+ "sdnc-request-header": {
+ "svc-request-id": "robot12",
+ "svc-notification-url": "http:\/\/openecomp.org:8080\/adapters\/rest\/SDNCNotify",
+ "svc-action": "reserve"
+ }
+ }
+}
\ No newline at end of file
diff --git a/robot/assets/templates/sdnc/vfw_preload.template b/robot/assets/templates/sdnc/vfw_preload.template
new file mode 100644
index 0000000..c94c565
--- /dev/null
+++ b/robot/assets/templates/sdnc/vfw_preload.template
@@ -0,0 +1,132 @@
+{
+ "input": {
+ "vnf-topology-information": {
+ "vnf-topology-identifier": {
+ "service-type": "${service_type}",
+ "vnf-name": "${vf_module_name}",
+ "vnf-type": "${vf_module_type}",
+ "generic-vnf-name": "${generic_vnf_name}",
+ "generic-vnf-type": "${generic_vnf_type}"
+ },
+ "vnf-assignments": {
+ "availability-zones": [],
+ "vnf-networks": [],
+ "vnf-vms": []
+ },
+ "vnf-parameters": [
+ {
+ "vnf-parameter-name": "repo_url",
+ "vnf-parameter-value": "${repo_url}"
+ },
+ {
+ "vnf-parameter-name": "repo_user",
+ "vnf-parameter-value": "${repo_user}"
+ },
+ {
+ "vnf-parameter-name": "repo_passwd",
+ "vnf-parameter-value": "${repo_passwd}"
+ },
+ {
+ "vnf-parameter-name": "ecomp_private_net_id",
+ "vnf-parameter-value": "${ecomp_private_net_id}"
+ },
+ {
+ "vnf-parameter-name": "ecomp_private_subnet_id",
+ "vnf-parameter-value": "${ecomp_private_subnet_id}"
+ },
+ {
+ "vnf-parameter-name": "ecomp_private_net_cidr",
+ "vnf-parameter-value": "${ecomp_private_net_cidr}"
+ },
+ {
+ "vnf-parameter-name": "unprotected_private_net_id",
+ "vnf-parameter-value": "${unprotected_private_net_id}"
+ },
+ {
+ "vnf-parameter-name": "protected_private_net_id",
+ "vnf-parameter-value": "${protected_private_net_id}"
+ },
+ {
+ "vnf-parameter-name": "protected_private_net_cidr",
+ "vnf-parameter-value": "${protected_private_net_cidr}"
+ },
+ {
+ "vnf-parameter-name": "unprotected_private_net_cidr",
+ "vnf-parameter-value": "${unprotected_private_net_cidr}"
+ },
+ {
+ "vnf-parameter-name": "vfw_private_ip_0",
+ "vnf-parameter-value": "${vfw_private_ip_0}"
+ },
+ {
+ "vnf-parameter-name": "vfw_private_ip_1",
+ "vnf-parameter-value": "${vfw_private_ip_1}"
+ },
+ {
+ "vnf-parameter-name": "vfw_private_ip_2",
+ "vnf-parameter-value": "${vfw_private_ip_2}"
+ },
+ {
+ "vnf-parameter-name": "vpg_private_ip_0",
+ "vnf-parameter-value": "${vpg_private_ip_0}"
+ },
+ {
+ "vnf-parameter-name": "vpg_private_ip_1",
+ "vnf-parameter-value": "${vpg_private_ip_1}"
+ },
+ {
+ "vnf-parameter-name": "vsn_private_ip_0",
+ "vnf-parameter-value": "${vsn_private_ip_0}"
+ },
+ {
+ "vnf-parameter-name": "vsn_private_ip_1",
+ "vnf-parameter-value": "${vsn_private_ip_1}"
+ },
+ {
+ "vnf-parameter-name": "vfw_name_0",
+ "vnf-parameter-value": "${vfw_name_0}"
+ },
+ {
+ "vnf-parameter-name": "vpg_name_0",
+ "vnf-parameter-value": "${vpg_name_0}"
+ },
+ {
+ "vnf-parameter-name": "vsn_name_0",
+ "vnf-parameter-value": "${vsn_name_0}"
+ },
+ {
+ "vnf-parameter-name": "webserver_ip",
+ "vnf-parameter-value": "${webserver_ip}"
+ },
+ {
+ "vnf-parameter-name": "dcae_collector_ip",
+ "vnf-parameter-value": "${dcae_collector_ip}"
+ },
+ {
+ "vnf-parameter-name": "dcae_collector_port",
+ "vnf-parameter-value": "${dcae_collector_port}"
+ },
+ {
+ "vnf-parameter-name": "key_name",
+ "vnf-parameter-value": "${key_name}"
+ },
+ {
+ "vnf-parameter-name": "pub_key",
+ "vnf-parameter-value": "${pub_key}"
+ }
+ ]
+ },
+ "request-information": {
+ "request-id": "robot12",
+ "order-version": "1",
+ "notification-url": "openecomp.org",
+ "order-number": "1",
+ "request-action": "PreloadVNFRequest"
+ },
+ "sdnc-request-header": {
+ "svc-request-id": "robot12",
+ "svc-notification-url": "http:\/\/openecomp.org:8080\/adapters\/rest\/SDNCNotify",
+ "svc-action": "reserve"
+ }
+ }
+}
\ No newline at end of file
diff --git a/robot/assets/templates/sdnc/vlb_preload.template b/robot/assets/templates/sdnc/vlb_preload.template
new file mode 100644
index 0000000..736f790
--- /dev/null
+++ b/robot/assets/templates/sdnc/vlb_preload.template
@@ -0,0 +1,108 @@
+{
+ "input": {
+ "vnf-topology-information": {
+ "vnf-topology-identifier": {
+ "service-type": "${service_type}",
+ "vnf-name": "${vf_module_name}",
+ "vnf-type": "${vf_module_type}",
+ "generic-vnf-name": "${generic_vnf_name}",
+ "generic-vnf-type": "${generic_vnf_type}"
+ },
+ "vnf-assignments": {
+ "availability-zones": [],
+ "vnf-networks": [],
+ "vnf-vms": []
+ },
+ "vnf-parameters": [
+ {
+ "vnf-parameter-name": "repo_url",
+ "vnf-parameter-value": "${repo_url}"
+ },
+ {
+ "vnf-parameter-name": "repo_user",
+ "vnf-parameter-value": "${repo_user}"
+ },
+ {
+ "vnf-parameter-name": "repo_passwd",
+ "vnf-parameter-value": "${repo_passwd}"
+ },
+ {
+ "vnf-parameter-name": "ecomp_private_net_id",
+ "vnf-parameter-value": "${ecomp_private_net_id}"
+ },
+ {
+ "vnf-parameter-name": "ecomp_private_subnet_id",
+ "vnf-parameter-value": "${ecomp_private_subnet_id}"
+ },
+ {
+ "vnf-parameter-name": "ecomp_private_net_cidr",
+ "vnf-parameter-value": "${ecomp_private_net_cidr}"
+ },
+ {
+ "vnf-parameter-name": "vlb_private_net_id",
+ "vnf-parameter-value": "${vlb_private_net_id}"
+ },
+ {
+ "vnf-parameter-name": "vlb_private_net_cidr",
+ "vnf-parameter-value": "${vlb_private_net_cidr}"
+ },
+ {
+ "vnf-parameter-name": "vlb_private_ip_0",
+ "vnf-parameter-value": "${vlb_private_ip_0}"
+ },
+ {
+ "vnf-parameter-name": "vlb_private_ip_1",
+ "vnf-parameter-value": "${vlb_private_ip_1}"
+ },
+ {
+ "vnf-parameter-name": "vdns_private_ip_0",
+ "vnf-parameter-value": "${vdns_private_ip_0}"
+ },
+ {
+ "vnf-parameter-name": "vdns_private_ip_1",
+ "vnf-parameter-value": "${vdns_private_ip_1}"
+ },
+ {
+ "vnf-parameter-name": "vlb_name_0",
+ "vnf-parameter-value": "${vlb_name_0}"
+ },
+ {
+ "vnf-parameter-name": "vdns_name_0",
+ "vnf-parameter-value": "${vdns_name_0}"
+ },
+ {
+ "vnf-parameter-name": "webserver_ip",
+ "vnf-parameter-value": "${webserver_ip}"
+ },
+ {
+ "vnf-parameter-name": "dcae_collector_ip",
+ "vnf-parameter-value": "${dcae_collector_ip}"
+ },
+ {
+ "vnf-parameter-name": "dcae_collector_port",
+ "vnf-parameter-value": "${dcae_collector_port}"
+ },
+ {
+ "vnf-parameter-name": "key_name",
+ "vnf-parameter-value": "${key_name}"
+ },
+ {
+ "vnf-parameter-name": "pub_key",
+ "vnf-parameter-value": "${pub_key}"
+ }
+ ]
+ },
+ "request-information": {
+ "request-id": "robot12",
+ "order-version": "1",
+ "notification-url": "openecomp.org",
+ "order-number": "1",
+ "request-action": "PreloadVNFRequest"
+ },
+ "sdnc-request-header": {
+ "svc-request-id": "robot12",
+ "svc-notification-url": "http:\/\/openecomp.org:8080\/adapters\/rest\/SDNCNotify",
+ "svc-action": "reserve"
+ }
+ }
+}
\ No newline at end of file
diff --git a/robot/assets/templates/sdnc/vvg_preload.template b/robot/assets/templates/sdnc/vvg_preload.template
new file mode 100644
index 0000000..83095e9
--- /dev/null
+++ b/robot/assets/templates/sdnc/vvg_preload.template
@@ -0,0 +1,36 @@
+{
+ "input": {
+ "vnf-topology-information": {
+ "vnf-topology-identifier": {
+ "service-type": "${service_type}",
+ "vnf-name": "${vf_module_name}",
+ "vnf-type": "${vf_module_type}",
+ "generic-vnf-name": "${generic_vnf_name}",
+ "generic-vnf-type": "${generic_vnf_type}"
+ },
+ "vnf-assignments": {
+ "availability-zones": [],
+ "vnf-networks": [],
+ "vnf-vms": []
+ },
+ "vnf-parameters": [
+ {
+ "vnf-parameter-name": "nova_instance",
+ "vnf-parameter-value": "${nova_instance}"
+ }
+ ]
+ },
+ "request-information": {
+ "request-id": "robot12",
+ "order-version": "1",
+ "notification-url": "openecomp.org",
+ "order-number": "1",
+ "request-action": "PreloadVNFRequest"
+ },
+ "sdnc-request-header": {
+ "svc-request-id": "robot12",
+ "svc-notification-url": "http:\/\/openecomp.org:8080\/adapters\/rest\/SDNCNotify",
+ "svc-action": "reserve"
+ }
+ }
+}
\ No newline at end of file
diff --git a/robot/assets/templates/template_example.template b/robot/assets/templates/template_example.template
new file mode 100644
index 0000000..42583f1
--- /dev/null
+++ b/robot/assets/templates/template_example.template
@@ -0,0 +1,6 @@
+{
+ "requestReferences": {
+ "instanceId": "${instanceId}",
+ "requestId": "${requestId}"
+ }
+}
\ No newline at end of file
diff --git a/robot/assets/templates/vfw_pg_stream_enable.template b/robot/assets/templates/vfw_pg_stream_enable.template
new file mode 100644
index 0000000..c503633
--- /dev/null
+++ b/robot/assets/templates/vfw_pg_stream_enable.template
@@ -0,0 +1,4 @@
+ {
+ "id" : "${stream}",
+ "is-enabled" : "true"
+ }
diff --git a/robot/assets/templates/vfw_pg_streams_enable.template b/robot/assets/templates/vfw_pg_streams_enable.template
new file mode 100644
index 0000000..8f5fec6
--- /dev/null
+++ b/robot/assets/templates/vfw_pg_streams_enable.template
@@ -0,0 +1,7 @@
+{
+ "pg-streams" : {
+ "pg-stream" : [
+${pgstreams}
+ ]
+ }
+}