aboutsummaryrefslogtreecommitdiffstats
path: root/onap-client/etc/payloads/so_create_module.jinja
blob: 263a3a9705d77c96754f5a2e847ec8eecd054cae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
  "requestDetails": {
    "requestInfo": {
      "instanceName": "{{module_instance_name}}",
      "source": "VID",
      "suppressRollback": false,
      "requestorId": "test"
    },
    "modelInfo": {
      "modelType": "vfModule",
      "modelInvariantId": "{{model_invariant_id}}",
      "modelVersionId": "{{model_version_id}}",
      "modelName": "{{model_name}}",
      "modelVersion": "{{model_version}}",
      "modelCustomizationId": "{{model_customization_id}}",
      "modelCustomizationName": "{{model_name}} 0"
    },
    "requestParameters": {
      "userParams": [],
      "testApi": "{{api_type}}",
      "usePreload": true
    },
    "cloudConfiguration": {
      "tenantId": "{{tenant_id}}",
      "cloudOwner": "{{cloud_owner}}",
      "lcpCloudRegionId": "{{cloud_region}}"
    },
    "relatedInstanceList": [{
      "relatedInstance": {
        "instanceId": "{{service_instance_id}}",
        "modelInfo": {
          "modelType": "service",
          "modelName": "{{service_model_name}}",
          "modelInvariantId": "{{service_model_invariant_id}}",
          "modelVersion": "{{service_model_version}}",
          "modelVersionId": "{{service_model_version_id}}"
        }
      }
    },
    {
      "relatedInstance": {
        "instanceId": "{{vnf_instance_id}}",
        "modelInfo": {
          "modelType": "vnf",
          "modelName": "{{vnf_model_name}}",
          "modelInvariantId": "{{vnf_model_invariant_id}}",
          "modelVersion": "{{vnf_model_version}}",
          "modelVersionId": "{{vnf_model_version_id}}",
          "modelCustomizationId": "{{vnf_model_customization_id}}",
          "modelCustomizationName": "{{vnf_model_name}} 0"
        }
      }
    }]
  }
}