summaryrefslogtreecommitdiffstats
path: root/robot/assets/templates/so
diff options
context:
space:
mode:
Diffstat (limited to 'robot/assets/templates/so')
-rw-r--r--robot/assets/templates/so/cds_request.jinja48
-rw-r--r--robot/assets/templates/so/cds_vfmodule.jinja16
-rw-r--r--robot/assets/templates/so/cds_vnf.jinja23
3 files changed, 87 insertions, 0 deletions
diff --git a/robot/assets/templates/so/cds_request.jinja b/robot/assets/templates/so/cds_request.jinja
new file mode 100644
index 00000000..bd82bc74
--- /dev/null
+++ b/robot/assets/templates/so/cds_request.jinja
@@ -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/so/cds_vfmodule.jinja b/robot/assets/templates/so/cds_vfmodule.jinja
new file mode 100644
index 00000000..b4b7d7e0
--- /dev/null
+++ b/robot/assets/templates/so/cds_vfmodule.jinja
@@ -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/so/cds_vnf.jinja b/robot/assets/templates/so/cds_vnf.jinja
new file mode 100644
index 00000000..d3aa35d1
--- /dev/null
+++ b/robot/assets/templates/so/cds_vnf.jinja
@@ -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}}]
+}