d9b16ca5350a9205a54bb54ba4a5d7ec471b2af6
[integration/csit.git] / tests / optf-osdf / osdf / data / placement_request.json
1 {
2   "requestInfo": {
3     "transactionId": "xxx-xxx-xxxx",
4     "requestId": "yyy-yyy-yyyy",
5     "callbackUrl": "https://wiki.onap.org:5000/callbackUrl/",
6     "sourceId": "SO",
7     "requestType": "create",
8     "numSolutions": 1,
9     "optimizers": ["placement"],
10     "timeout": 600
11   },
12   "placementInfo": {
13     "requestParameters": { "customerLatitude": 32.89748, "customerLongitude": -97.040443, "customerName": "xyz" },
14     "subscriberInfo": {"globalSubscriberId": "xxx-xx-xxx", "subscriberName": "subscriber_x"},
15     "placementDemands": [
16         {
17             "resourceModuleName": "vGMuxInfra",
18             "serviceResourceId": "vGMuxInfra-xx",
19             "tenantId": "vGMuxInfra-tenant",
20             "resourceModelInfo": {
21                 "modelInvariantId": "vGMuxInfra-modelInvariantId",
22                 "modelVersionId": "vGMuxInfra-versionId",
23                 "modelName": "vGMuxInfra-model",
24                 "modelType": "resource",
25                 "modelVersion": "1.0",
26                 "modelCustomizationName": "vGMuxInfra-customeModelName"
27             }
28         },
29         {
30             "resourceModuleName": "vG",
31             "serviceResourceId": "71d563e8-e714-4393-8f99-cc480144a05e",
32             "tenantId": "vG-tenant",
33             "resourceModelInfo": {
34                 "modelInvariantId": "vG-modelInvariantId",
35                 "modelVersionId": "vG-versionId",
36                 "modelName": "vG-model",
37                 "modelType": "resource",
38                 "modelVersion": "1.0",
39                 "modelCustomizationName": "vG-customeModelName"
40             },
41             "existingCandidates": [
42                 {
43                     "identifierType": "serviceInstanceId",
44                     "cloudOwner": "",
45                     "identifiers": ["gjhd-098-fhd-987"]
46                 }
47             ],
48             "excludedCandidates": [
49                 {
50                     "identifierType": "serviceInstanceId",
51                     "cloudOwner": "",
52                     "identifiers": ["gjhd-098-fhd-987"]
53                 },
54                 {
55                     "identifierType": "vimId",
56                     "cloudOwner": "vmware",
57                     "identifiers": ["NYMDT67"]
58                 }
59             ],
60             "requiredCandidates": [
61                 {
62                     "identifierType": "vimId",
63                     "cloudOwner": "amazon",
64                     "identifiers": ["TXAUS219"]
65                 }
66             ]
67         }
68     ]
69   },
70   "serviceInfo": {
71     "serviceInstanceId": "d61b2543-5914-4b8f-8e81-81e38575b8ec",
72     "serviceName": "vCPE",
73     "modelInfo": {
74       "modelInvariantId": "vCPE-invariantId",
75       "modelVersionId": "vCPE-versionId",
76       "modelName": "vCPE-model",
77       "modelType": "service",
78       "modelVersion": "1.0",
79       "modelCustomizationName": "vCPE-customeModelName"
80     }
81   },
82   "licenseInfo": {
83       "licenseDemands": [
84         {
85           "resourceModuleName": "vGMuxInfra",
86           "serviceResourceId": "vGMuxInfra-xx",
87           "resourceModelInfo": {
88             "modelInvariantId": "vGMuxInfra-modelInvariantId",
89             "modelVersionId": "vGMuxInfra-versionId",
90             "modelName": "vGMuxInfra-model",
91             "modelType": "resource",
92             "modelVersion": "1.0",
93             "modelCustomizationName": "vGMuxInfra-customeModelName"
94           },
95           "existingLicenses": {
96             "entitlementPoolUUID": ["87257b49-9602-4ca1-9817-094e52bc873b", "43257b49-9602-4fe5-9337-094e52bc9435"],
97             "licenseKeyGroupUUID": ["87257b49-9602-4ca1-9817-094e52bc873b", "43257b49-9602-4fe5-9337-094e52bc9435"]
98           }
99         }
100       ]
101   }
102 }