summaryrefslogtreecommitdiffstats
path: root/robot/assets/templates
diff options
context:
space:
mode:
Diffstat (limited to 'robot/assets/templates')
-rw-r--r--robot/assets/templates/cds/so_request.template48
-rw-r--r--robot/assets/templates/cds/vfmodule.template16
-rw-r--r--robot/assets/templates/cds/vnf.template23
3 files changed, 87 insertions, 0 deletions
diff --git a/robot/assets/templates/cds/so_request.template b/robot/assets/templates/cds/so_request.template
new file mode 100644
index 00000000..bf0a8edb
--- /dev/null
+++ b/robot/assets/templates/cds/so_request.template
@@ -0,0 +1,48 @@
+{
+ "requestDetails" : {
+ "subscriberInfo" : {
+ "globalSubscriberId" : "${subscriber_id}"
+ },
+ "requestInfo" : {
+ "suppressRollback" : true,
+ "productFamilyId" : "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
+ "requestorId" : "ym9479",
+ "instanceName" : "${service_instance_name}",
+ "source" : "VID"
+ },
+ "requestParameters" : {
+ "subscriptionServiceType" : "${subscription_service_type}",
+ "userParams" : [
+ {
+ "service" : {
+ "instanceParams" : [],
+ "instanceName" : "${service_instance_name}",
+ "resources" : {
+ "vnfs" : ${vnfs}
+ },
+ "modelInfo" : {
+ "modelType" : "service",
+ "modelName" : "${service_model_name}",
+ "modelVersionId" : "${service_model_UUID}"
+ }
+ }
+ }
+ ],
+ "aLaCarte" : false
+ },
+ "project" : {
+ "projectName" : "some project name"
+ },
+ "owningEntity" : {
+ "owningEntityName" : "PACKET CORE",
+ "owningEntityId" : "038d99af-0427-42c2-9d15-971b99b9b489"
+ },
+ "modelInfo" : {
+ "modelVersion" : "10.0",
+ "modelVersionId" : "${service_model_UUID}",
+ "modelInvariantId" : "${service_model_invariantUUID}",
+ "modelName" : "${service_model_name}",
+ "modelType" : "service"
+ }
+ }
+}
diff --git a/robot/assets/templates/cds/vfmodule.template b/robot/assets/templates/cds/vfmodule.template
new file mode 100644
index 00000000..bde231e0
--- /dev/null
+++ b/robot/assets/templates/cds/vfmodule.template
@@ -0,0 +1,16 @@
+{
+ "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"
+ }
+ ]
+}
diff --git a/robot/assets/templates/cds/vnf.template b/robot/assets/templates/cds/vnf.template
new file mode 100644
index 00000000..954654e6
--- /dev/null
+++ b/robot/assets/templates/cds/vnf.template
@@ -0,0 +1,23 @@
+{
+ "modelInfo": {
+ "modelType": "vnf",
+ "modelName": "${vnf_model_name}",
+ "modelVersionId": "${vnf_model_version_id}",
+ "modelCustomizationName": "${vnf_model_customization_name}",
+ "modelCustomizationId": "${vnf_model_customization_id}"
+ },
+ "cloudConfiguration": {
+ "lcpCloudRegionId": "${cloud_region}",
+ "tenantId": "${tenant_id}"
+ },
+ "platform": {
+ "platformName": "test"
+ },
+ "lineOfBusiness": {
+ "lineOfBusinessName": "someValue"
+ },
+ "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
+ "instanceName": "${vnf_name}",
+ "instanceParams": [],
+ "vfModules": [${vf_modules}]
+}