blob: 9b6e1cc28c75156826d1b1d8656f5029d0d610e5 [file] [log] [blame]
Abdelmuhaimen Seaudi0752bf92019-09-13 21:04:30 +00001{
2 "requestDetails":{
3 "subscriberInfo":{
DR695Hcccad652019-09-16 13:21:47 -04004 "globalSubscriberId":"{{subscriber_id}}"
Abdelmuhaimen Seaudi0752bf92019-09-13 21:04:30 +00005 },
6 "requestInfo":{
7 "suppressRollback":false,
8 "productFamilyId":"a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
DR695Hcccad652019-09-16 13:21:47 -04009 "requestorId":"robot-ete",
10 "instanceName":"{{service_instance_name}}",
Abdelmuhaimen Seaudi0752bf92019-09-13 21:04:30 +000011 "source":"VID"
12 },
13 "cloudConfiguration":{
14 "lcpCloudRegionId":"{{GLOBAL_INJECTED_REGION}}",
15 "tenantId":"{{GLOBAL_INJECTED_OPENSTACK_TENANT_ID}}",
DR695Hcccad652019-09-16 13:21:47 -040016 "cloudOwner":"{{cloud_owner}}"
Abdelmuhaimen Seaudi0752bf92019-09-13 21:04:30 +000017 },
18 "requestParameters":{
DR695Hcccad652019-09-16 13:21:47 -040019 "subscriptionServiceType":"{{subscription_service_type}}",
Abdelmuhaimen Seaudi0752bf92019-09-13 21:04:30 +000020 "userParams":[
21 {
DR695Hcccad652019-09-16 13:21:47 -040022 "Homing_Solution":"{{homing_solution}}"
Abdelmuhaimen Seaudi0752bf92019-09-13 21:04:30 +000023 },
24 {
25 "service":{
DR695Hcccad652019-09-16 13:21:47 -040026 "instanceParams" : [],
27 "instanceName":"{{service_instance_name}}",
Abdelmuhaimen Seaudi0752bf92019-09-13 21:04:30 +000028 "resources":{
29 "vnfs":[
30 {
31 "modelInfo":{
32 "modelName":"{{resp['serviceVnfs'][0]['modelInfo']['modelName']}}",
33 "modelVersionId":"{{resp['serviceVnfs'][0]['modelInfo']['modelUuid']}}",
34 "modelInvariantUuid":"{{resp['serviceVnfs'][0]['modelInfo']['modelInvariantUuid']}}",
35 "modelVersion":"1.0",
36 "modelCustomizationId":"{{resp['serviceVnfs'][0]['modelInfo']['modelCustomizationUuid']}}",
37 "modelInstanceName":"{{resp['serviceVnfs'][0]['modelInfo']['modelInstanceName']}}"
38 },
39 "cloudConfiguration":{
40 "lcpCloudRegionId":"{{GLOBAL_INJECTED_REGION}}",
41 "tenantId":"{{GLOBAL_INJECTED_OPENSTACK_TENANT_ID}}"
42 },
43 "platform":{
44 "platformName":"test"
45 },
46 "lineOfBusiness":{
47 "lineOfBusinessName":"LOB-Demonstration"
48 },
49 "productFamilyId":"a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
50 "instanceName":"{{resp['serviceVnfs'][0]['modelInfo']['modelInstanceName']}}",
51 "instanceParams":[
52 {
53 "onap_private_net_id":"{{GLOBAL_INJECTED_NETWORK}}",
54 "onap_private_subnet_id":"{{GLOBAL_INJECTED_OPENSTACK_PRIVATE_SUBNET_ID}}",
55 "pub_key":"{{GLOBAL_INJECTED_PUBLIC_KEY}}",
56 "image_name":"{{GLOBAL_INJECTED_UBUNTU_1604_IMAGE}}",
57 "flavor_name":"{{GLOBAL_INJECTED_VM_FLAVOR}}",
58 "vpg_flavor_name":"{{GLOBAL_INJECTED_VM_FLAVOR}}",
59 "vlb_flavor_name":"{{GLOBAL_INJECTED_VM_FLAVOR}}",
60 "vdns_flavor_name":"{{GLOBAL_INJECTED_VM_FLAVOR}}",
61 "sec_group":"{{GLOBAL_INJECTED_OPENSTACK_SECURITY_GROUP}}",
62 "install_script_version":"{{GLOBAL_INJECTED_SCRIPT_VERSION}}",
63 "demo_artifacts_version":"{{GLOBAL_INJECTED_SCRIPT_VERSION}}",
64 "cloud_env":"{{GLOBAL_INJECTED_CLOUD_ENV}}",
65 "public_net_id":"{{GLOBAL_INJECTED_PUBLIC_NET_ID}}",
66 "aic-cloud-region":"{{GLOBAL_INJECTED_REGION}}"
67 }
68 ],
69 "vfModules":[
70 {
71 "modelInfo":{
72 "modelName":"{{resp['serviceVnfs'][0]['vfModules'][0]['modelInfo']['modelName']}}",
73 "modelVersionId":"{{resp['serviceVnfs'][0]['vfModules'][0]['modelInfo']['modelUuid']}}",
74 "modelInvariantUuid":"{{resp['serviceVnfs'][0]['vfModules'][0]['modelInfo']['modelInvariantUuid']}}",
75 "modelVersion":"1",
76 "modelCustomizationId":"{{resp['serviceVnfs'][0]['vfModules'][0]['modelInfo']['modelCustomizationUuid']}}"
77 },
78 "instanceName":"{{resp['serviceVnfs'][0]['vfModules'][0]['modelInfo']['modelName']}}",
79 "instanceParams":[
80 {
81
82 }
83 ]
84 },
85 {
86 "modelInfo":{
87 "modelName":"{{resp['serviceVnfs'][0]['vfModules'][1]['modelInfo']['modelName']}}",
88 "modelVersionId":"{{resp['serviceVnfs'][0]['vfModules'][1]['modelInfo']['modelUuid']}}",
89 "modelInvariantUuid":"{{resp['serviceVnfs'][0]['vfModules'][1]['modelInfo']['modelInvariantUuid']}}",
90 "modelVersion":"1",
91 "modelCustomizationId":"{{resp['serviceVnfs'][0]['vfModules'][1]['modelInfo']['modelCustomizationUuid']}}"
92 },
93 "instanceName":"{{resp['serviceVnfs'][0]['vfModules'][1]['modelInfo']['modelName']}}",
94 "instanceParams":[
95 {
96
97 }
98 ]
99 },
100 {
101 "modelInfo":{
102 "modelName":"{{resp['serviceVnfs'][0]['vfModules'][2]['modelInfo']['modelName']}}",
103 "modelVersionId":"{{resp['serviceVnfs'][0]['vfModules'][2]['modelInfo']['modelUuid']}}",
104 "modelInvariantUuid":"{{resp['serviceVnfs'][0]['vfModules'][2]['modelInfo']['modelInvariantUuid']}}",
105 "modelVersion":"1",
106 "modelCustomizationId":"{{resp['serviceVnfs'][0]['vfModules'][2]['modelInfo']['modelCustomizationUuid']}}"
107 },
108 "instanceName":"{{resp['serviceVnfs'][0]['vfModules'][2]['modelInfo']['modelName']}}",
109 "instanceParams":[
110 {
111
112 }
113 ]
114 },
115 {
116 "modelInfo":{
117 "modelName":"{{resp['serviceVnfs'][0]['vfModules'][3]['modelInfo']['modelName']}}",
118 "modelVersionId":"{{resp['serviceVnfs'][0]['vfModules'][3]['modelInfo']['modelUuid']}}",
119 "modelInvariantUuid":"{{resp['serviceVnfs'][0]['vfModules'][3]['modelInfo']['modelInvariantUuid']}}",
120 "modelVersion":"1",
121 "modelCustomizationId":"{{resp['serviceVnfs'][0]['vfModules'][3]['modelInfo']['modelCustomizationUuid']}}"
122 },
123 "instanceName":"{{resp['serviceVnfs'][0]['vfModules'][3]['modelInfo']['modelName']}}",
124 "instanceParams":[
125 {
126
127 }
128 ]
129 }
130 ]
131 }
132 ]
133 },
134 "modelInfo":{
DR695Hcccad652019-09-16 13:21:47 -0400135 "modelVersion":"1.0",
136 "modelVersionId":"{{service_model_uuid}}",
137 "modelInvariantId":"{{service_model_invariantuuid}}",
138 "modelName":"{{service_model_name}}",
139 "modelType":"service"
Abdelmuhaimen Seaudi0752bf92019-09-13 21:04:30 +0000140 }
141 }
142 }
143 ],
144 "aLaCarte":false
145 },
146 "project":{
147 "projectName":"Project-Demonstration"
148 },
149 "owningEntity":{
DR695Hcccad652019-09-16 13:21:47 -0400150 "owningEntityId":"{{owning_entity_id}}",
151 "owningEntityName":"{{owning_entity}}"
Abdelmuhaimen Seaudi0752bf92019-09-13 21:04:30 +0000152 },
153 "modelInfo":{
154 "modelVersion":"1.0",
DR695Hcccad652019-09-16 13:21:47 -0400155 "modelVersionId":"{{service_model_uuid}}",
156 "modelInvariantId":"{{service_model_invariantuuid}}",
157 "modelName":"{{service_model_name}}",
Abdelmuhaimen Seaudi0752bf92019-09-13 21:04:30 +0000158 "modelType":"service"
159 }
160 }
161}