@itentialopensource/adapter-etsi_sol005 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintignore +5 -0
- package/.eslintrc.js +18 -0
- package/.jshintrc +3 -0
- package/CHANGELOG.md +9 -0
- package/CODE_OF_CONDUCT.md +48 -0
- package/CONTRIBUTING.md +158 -0
- package/LICENSE +201 -0
- package/README.md +687 -0
- package/adapter.js +10403 -0
- package/adapterBase.js +1028 -0
- package/entities/.generic/action.json +109 -0
- package/entities/.generic/schema.json +23 -0
- package/entities/.system/action.json +50 -0
- package/entities/.system/mockdatafiles/getToken-default.json +3 -0
- package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
- package/entities/.system/schema.json +19 -0
- package/entities/.system/schemaTokenReq.json +53 -0
- package/entities/.system/schemaTokenResp.json +53 -0
- package/entities/Alarms/action.json +66 -0
- package/entities/Alarms/mockdatafiles/getAlarms-default.json +126 -0
- package/entities/Alarms/mockdatafiles/getAlarmsAlarmId-default.json +45 -0
- package/entities/Alarms/mockdatafiles/patchAlarmsAlarmId-default.json +3 -0
- package/entities/Alarms/schema.json +21 -0
- package/entities/ApiVersions/action.json +25 -0
- package/entities/ApiVersions/mockdatafiles/getApiVersions-default.json +55 -0
- package/entities/ApiVersions/schema.json +19 -0
- package/entities/CapacityThresholds/action.json +106 -0
- package/entities/CapacityThresholds/mockdatafiles/getCapacityThresholds-default.json +193 -0
- package/entities/CapacityThresholds/mockdatafiles/getCapacityThresholdsCapacityThresholdId-default.json +63 -0
- package/entities/CapacityThresholds/mockdatafiles/patchCapacityThresholdsCapacityThresholdId-default.json +26 -0
- package/entities/CapacityThresholds/mockdatafiles/postCapacityThresholds-default.json +50 -0
- package/entities/CapacityThresholds/schema.json +23 -0
- package/entities/NfviCapacityInfos/action.json +46 -0
- package/entities/NfviCapacityInfos/mockdatafiles/getNfviCapacityInfos-default.json +1457 -0
- package/entities/NfviCapacityInfos/mockdatafiles/getNfviCapacityInfosVimId-default.json +487 -0
- package/entities/NfviCapacityInfos/schema.json +20 -0
- package/entities/NsDescriptors/action.json +210 -0
- package/entities/NsDescriptors/mockdatafiles/getNsDescriptors-default.json +354 -0
- package/entities/NsDescriptors/mockdatafiles/getNsDescriptorsNsdInfoId-default.json +101 -0
- package/entities/NsDescriptors/mockdatafiles/patchNsDescriptorsNsdInfoId-default.json +10 -0
- package/entities/NsDescriptors/mockdatafiles/postNsDescriptors-default.json +136 -0
- package/entities/NsDescriptors/schema.json +83 -0
- package/entities/NsInstances/action.json +186 -0
- package/entities/NsInstances/mockdatafiles/querymultipleNSinstances-default.json +85311 -0
- package/entities/NsInstances/schema.json +27 -0
- package/entities/NsLcmOpOccs/action.json +106 -0
- package/entities/NsLcmOpOccs/mockdatafiles/querymultipleNSLCMoperationoccurrences-default.json +57603 -0
- package/entities/NsLcmOpOccs/schema.json +23 -0
- package/entities/Nslcm/action.json +44 -0
- package/entities/Nslcm/schema.json +20 -0
- package/entities/PmJobs/action.json +127 -0
- package/entities/PmJobs/mockdatafiles/getPmJobs-default.json +122 -0
- package/entities/PmJobs/mockdatafiles/getPmJobsPmJobId-default.json +60 -0
- package/entities/PmJobs/mockdatafiles/getPmJobsPmJobIdReportsReportId-default.json +148 -0
- package/entities/PmJobs/mockdatafiles/patchPmJobsPmJobId-default.json +22 -0
- package/entities/PmJobs/mockdatafiles/postPmJobs-default.json +52 -0
- package/entities/PmJobs/schema.json +24 -0
- package/entities/PnfDescriptors/action.json +210 -0
- package/entities/PnfDescriptors/mockdatafiles/getPnfDescriptors-default.json +113 -0
- package/entities/PnfDescriptors/mockdatafiles/getPnfDescriptorsPnfdInfoId-default.json +57 -0
- package/entities/PnfDescriptors/mockdatafiles/patchPnfDescriptorsPnfdInfoId-default.json +3 -0
- package/entities/PnfDescriptors/mockdatafiles/postPnfDescriptors-default.json +102 -0
- package/entities/PnfDescriptors/schema.json +83 -0
- package/entities/Subscriptions/action.json +86 -0
- package/entities/Subscriptions/mockdatafiles/getSubscriptions-default.json +482 -0
- package/entities/Subscriptions/mockdatafiles/getSubscriptionsSubscriptionId-default.json +152 -0
- package/entities/Subscriptions/mockdatafiles/postSubscriptions-default.json +151 -0
- package/entities/Subscriptions/schema.json +33 -0
- package/entities/Thresholds/action.json +106 -0
- package/entities/Thresholds/mockdatafiles/getThresholds-default.json +34 -0
- package/entities/Thresholds/mockdatafiles/getThresholdsThresholdId-default.json +30 -0
- package/entities/Thresholds/mockdatafiles/patchThresholdsThresholdId-default.json +18 -0
- package/entities/Thresholds/mockdatafiles/postThresholds-default.json +32 -0
- package/entities/Thresholds/schema.json +23 -0
- package/entities/VnfPackages/action.json +292 -0
- package/entities/VnfPackages/mockdatafiles/getVnfPackages-default.json +453 -0
- package/entities/VnfPackages/mockdatafiles/getVnfPackagesVnfPkgId-default.json +204 -0
- package/entities/VnfPackages/mockdatafiles/getVnfPackagesVnfPkgIdExtArtifactsAccess-default.json +14 -0
- package/entities/VnfPackages/mockdatafiles/patchVnfPackagesVnfPkgId-default.json +4 -0
- package/entities/VnfPackages/mockdatafiles/postVnfPackages-default.json +236 -0
- package/entities/VnfPackages/mockdatafiles/putVnfPackagesVnfPkgIdExtArtifactsAccess-default.json +14 -0
- package/entities/VnfPackages/schema.json +32 -0
- package/entities/VnfSnapshotPackages/action.json +289 -0
- package/entities/VnfSnapshotPackages/mockdatafiles/getVnfSnapshotPackages-default.json +227 -0
- package/entities/VnfSnapshotPackages/mockdatafiles/getVnfSnapshotPackagesVnfSnapshotPkgId-default.json +268 -0
- package/entities/VnfSnapshotPackages/mockdatafiles/patchVnfSnapshotPackagesVnfSnapshotPkgId-default.json +5 -0
- package/entities/VnfSnapshotPackages/mockdatafiles/postVnfSnapshotPackages-default.json +146 -0
- package/entities/VnfSnapshotPackages/schema.json +32 -0
- package/entities/VnfSnapshots/action.json +66 -0
- package/entities/VnfSnapshots/mockdatafiles/queryVNFsnapshots-default.json +1694 -0
- package/entities/VnfSnapshots/schema.json +21 -0
- package/error.json +184 -0
- package/package.json +85 -0
- package/pronghorn.json +18371 -0
- package/propertiesSchema.json +840 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/creationReport.json +279 -0
- package/report/sol005_NSDmgmt_openapi.json +24207 -0
- package/report/sol005_capacity_openapi.json +14837 -0
- package/report/sol005_fault_openapi.json +8757 -0
- package/report/sol005_lifecycle_opneapi.json +61923 -0
- package/report/sol005_lifecycle_opneapi.json-OpenApi3Json.json +24758 -0
- package/report/sol005_package_openapi.json +19471 -0
- package/report/sol005_perf_openapi.json +11124 -0
- package/report/sol005_snapshot_openapi.json +16610 -0
- package/report/updateReport1646246505328.json +95 -0
- package/sampleProperties.json +106 -0
- package/test/integration/adapterTestBasicGet.js +85 -0
- package/test/integration/adapterTestConnectivity.js +93 -0
- package/test/integration/adapterTestIntegration.js +3685 -0
- package/test/unit/adapterBaseTestUnit.js +944 -0
- package/test/unit/adapterTestUnit.js +4287 -0
- package/utils/addAuth.js +94 -0
- package/utils/artifactize.js +146 -0
- package/utils/basicGet.js +50 -0
- package/utils/checkMigrate.js +63 -0
- package/utils/entitiesToDB.js +224 -0
- package/utils/findPath.js +74 -0
- package/utils/modify.js +154 -0
- package/utils/packModificationScript.js +35 -0
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/pre-commit.sh +27 -0
- package/utils/removeHooks.js +20 -0
- package/utils/setup.js +33 -0
- package/utils/tbScript.js +169 -0
- package/utils/tbUtils.js +451 -0
- package/utils/testRunner.js +298 -0
- package/utils/troubleshootingAdapter.js +190 -0
- package/workflows/README.md +3 -0
|
@@ -0,0 +1,487 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "string",
|
|
3
|
+
"vimId": "string",
|
|
4
|
+
"capacityInfoPerZone": [
|
|
5
|
+
{
|
|
6
|
+
"resourceZoneId": "string",
|
|
7
|
+
"capacityMeasurements": [
|
|
8
|
+
{
|
|
9
|
+
"resourceType": "VR_NETWORK",
|
|
10
|
+
"capacityMeasurementName": "string",
|
|
11
|
+
"totalCapacity": {},
|
|
12
|
+
"allocatedCapacity": {},
|
|
13
|
+
"reservedCapacity": {},
|
|
14
|
+
"availableCapacity": {}
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"resourceType": "VR_COMPUTE",
|
|
18
|
+
"capacityMeasurementName": "string",
|
|
19
|
+
"totalCapacity": {},
|
|
20
|
+
"allocatedCapacity": {},
|
|
21
|
+
"reservedCapacity": {},
|
|
22
|
+
"availableCapacity": {}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"resourceType": "VR_COMPUTE",
|
|
26
|
+
"capacityMeasurementName": "string",
|
|
27
|
+
"totalCapacity": {},
|
|
28
|
+
"allocatedCapacity": {},
|
|
29
|
+
"reservedCapacity": {},
|
|
30
|
+
"availableCapacity": {}
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"resourceZoneId": "string",
|
|
36
|
+
"capacityMeasurements": [
|
|
37
|
+
{
|
|
38
|
+
"resourceType": "VR_COMPUTE",
|
|
39
|
+
"capacityMeasurementName": "string",
|
|
40
|
+
"totalCapacity": {},
|
|
41
|
+
"allocatedCapacity": {},
|
|
42
|
+
"reservedCapacity": {},
|
|
43
|
+
"availableCapacity": {}
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"resourceType": "HOST_COMPUTE",
|
|
47
|
+
"capacityMeasurementName": "string",
|
|
48
|
+
"totalCapacity": {},
|
|
49
|
+
"allocatedCapacity": {},
|
|
50
|
+
"reservedCapacity": {},
|
|
51
|
+
"availableCapacity": {}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"resourceType": "VR_STORAGE",
|
|
55
|
+
"capacityMeasurementName": "string",
|
|
56
|
+
"totalCapacity": {},
|
|
57
|
+
"allocatedCapacity": {},
|
|
58
|
+
"reservedCapacity": {},
|
|
59
|
+
"availableCapacity": {}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"resourceType": "VR_COMPUTE",
|
|
63
|
+
"capacityMeasurementName": "string",
|
|
64
|
+
"totalCapacity": {},
|
|
65
|
+
"allocatedCapacity": {},
|
|
66
|
+
"reservedCapacity": {},
|
|
67
|
+
"availableCapacity": {}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"resourceType": "HOST_COMPUTE",
|
|
71
|
+
"capacityMeasurementName": "string",
|
|
72
|
+
"totalCapacity": {},
|
|
73
|
+
"allocatedCapacity": {},
|
|
74
|
+
"reservedCapacity": {},
|
|
75
|
+
"availableCapacity": {}
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"resourceType": "VR_COMPUTE",
|
|
79
|
+
"capacityMeasurementName": "string",
|
|
80
|
+
"totalCapacity": {},
|
|
81
|
+
"allocatedCapacity": {},
|
|
82
|
+
"reservedCapacity": {},
|
|
83
|
+
"availableCapacity": {}
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"resourceType": "HOST_COMPUTE",
|
|
87
|
+
"capacityMeasurementName": "string",
|
|
88
|
+
"totalCapacity": {},
|
|
89
|
+
"allocatedCapacity": {},
|
|
90
|
+
"reservedCapacity": {},
|
|
91
|
+
"availableCapacity": {}
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"resourceZoneId": "string",
|
|
97
|
+
"capacityMeasurements": [
|
|
98
|
+
{
|
|
99
|
+
"resourceType": "VR_STORAGE",
|
|
100
|
+
"capacityMeasurementName": "string",
|
|
101
|
+
"totalCapacity": {},
|
|
102
|
+
"allocatedCapacity": {},
|
|
103
|
+
"reservedCapacity": {},
|
|
104
|
+
"availableCapacity": {}
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"resourceType": "VR_NETWORK",
|
|
108
|
+
"capacityMeasurementName": "string",
|
|
109
|
+
"totalCapacity": {},
|
|
110
|
+
"allocatedCapacity": {},
|
|
111
|
+
"reservedCapacity": {},
|
|
112
|
+
"availableCapacity": {}
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"resourceType": "VR_STORAGE",
|
|
116
|
+
"capacityMeasurementName": "string",
|
|
117
|
+
"totalCapacity": {},
|
|
118
|
+
"allocatedCapacity": {},
|
|
119
|
+
"reservedCapacity": {},
|
|
120
|
+
"availableCapacity": {}
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"resourceType": "VR_STORAGE",
|
|
124
|
+
"capacityMeasurementName": "string",
|
|
125
|
+
"totalCapacity": {},
|
|
126
|
+
"allocatedCapacity": {},
|
|
127
|
+
"reservedCapacity": {},
|
|
128
|
+
"availableCapacity": {}
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"resourceZoneId": "string",
|
|
134
|
+
"capacityMeasurements": [
|
|
135
|
+
{
|
|
136
|
+
"resourceType": "VR_COMPUTE",
|
|
137
|
+
"capacityMeasurementName": "string",
|
|
138
|
+
"totalCapacity": {},
|
|
139
|
+
"allocatedCapacity": {},
|
|
140
|
+
"reservedCapacity": {},
|
|
141
|
+
"availableCapacity": {}
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"resourceType": "VR_STORAGE",
|
|
145
|
+
"capacityMeasurementName": "string",
|
|
146
|
+
"totalCapacity": {},
|
|
147
|
+
"allocatedCapacity": {},
|
|
148
|
+
"reservedCapacity": {},
|
|
149
|
+
"availableCapacity": {}
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"resourceType": "VR_STORAGE",
|
|
153
|
+
"capacityMeasurementName": "string",
|
|
154
|
+
"totalCapacity": {},
|
|
155
|
+
"allocatedCapacity": {},
|
|
156
|
+
"reservedCapacity": {},
|
|
157
|
+
"availableCapacity": {}
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"resourceType": "VR_STORAGE",
|
|
161
|
+
"capacityMeasurementName": "string",
|
|
162
|
+
"totalCapacity": {},
|
|
163
|
+
"allocatedCapacity": {},
|
|
164
|
+
"reservedCapacity": {},
|
|
165
|
+
"availableCapacity": {}
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"resourceType": "VR_COMPUTE",
|
|
169
|
+
"capacityMeasurementName": "string",
|
|
170
|
+
"totalCapacity": {},
|
|
171
|
+
"allocatedCapacity": {},
|
|
172
|
+
"reservedCapacity": {},
|
|
173
|
+
"availableCapacity": {}
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"resourceType": "HOST_COMPUTE",
|
|
177
|
+
"capacityMeasurementName": "string",
|
|
178
|
+
"totalCapacity": {},
|
|
179
|
+
"allocatedCapacity": {},
|
|
180
|
+
"reservedCapacity": {},
|
|
181
|
+
"availableCapacity": {}
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"resourceType": "VR_COMPUTE",
|
|
185
|
+
"capacityMeasurementName": "string",
|
|
186
|
+
"totalCapacity": {},
|
|
187
|
+
"allocatedCapacity": {},
|
|
188
|
+
"reservedCapacity": {},
|
|
189
|
+
"availableCapacity": {}
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"resourceType": "HOST_COMPUTE",
|
|
193
|
+
"capacityMeasurementName": "string",
|
|
194
|
+
"totalCapacity": {},
|
|
195
|
+
"allocatedCapacity": {},
|
|
196
|
+
"reservedCapacity": {},
|
|
197
|
+
"availableCapacity": {}
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"resourceType": "VR_COMPUTE",
|
|
201
|
+
"capacityMeasurementName": "string",
|
|
202
|
+
"totalCapacity": {},
|
|
203
|
+
"allocatedCapacity": {},
|
|
204
|
+
"reservedCapacity": {},
|
|
205
|
+
"availableCapacity": {}
|
|
206
|
+
}
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"resourceZoneId": "string",
|
|
211
|
+
"capacityMeasurements": [
|
|
212
|
+
{
|
|
213
|
+
"resourceType": "VR_NETWORK",
|
|
214
|
+
"capacityMeasurementName": "string",
|
|
215
|
+
"totalCapacity": {},
|
|
216
|
+
"allocatedCapacity": {},
|
|
217
|
+
"reservedCapacity": {},
|
|
218
|
+
"availableCapacity": {}
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"resourceType": "HOST_COMPUTE",
|
|
222
|
+
"capacityMeasurementName": "string",
|
|
223
|
+
"totalCapacity": {},
|
|
224
|
+
"allocatedCapacity": {},
|
|
225
|
+
"reservedCapacity": {},
|
|
226
|
+
"availableCapacity": {}
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"resourceType": "VR_COMPUTE",
|
|
230
|
+
"capacityMeasurementName": "string",
|
|
231
|
+
"totalCapacity": {},
|
|
232
|
+
"allocatedCapacity": {},
|
|
233
|
+
"reservedCapacity": {},
|
|
234
|
+
"availableCapacity": {}
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"resourceType": "VR_STORAGE",
|
|
238
|
+
"capacityMeasurementName": "string",
|
|
239
|
+
"totalCapacity": {},
|
|
240
|
+
"allocatedCapacity": {},
|
|
241
|
+
"reservedCapacity": {},
|
|
242
|
+
"availableCapacity": {}
|
|
243
|
+
}
|
|
244
|
+
]
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"resourceZoneId": "string",
|
|
248
|
+
"capacityMeasurements": [
|
|
249
|
+
{
|
|
250
|
+
"resourceType": "VR_NETWORK",
|
|
251
|
+
"capacityMeasurementName": "string",
|
|
252
|
+
"totalCapacity": {},
|
|
253
|
+
"allocatedCapacity": {},
|
|
254
|
+
"reservedCapacity": {},
|
|
255
|
+
"availableCapacity": {}
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"resourceType": "VR_NETWORK",
|
|
259
|
+
"capacityMeasurementName": "string",
|
|
260
|
+
"totalCapacity": {},
|
|
261
|
+
"allocatedCapacity": {},
|
|
262
|
+
"reservedCapacity": {},
|
|
263
|
+
"availableCapacity": {}
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"resourceType": "VR_STORAGE",
|
|
267
|
+
"capacityMeasurementName": "string",
|
|
268
|
+
"totalCapacity": {},
|
|
269
|
+
"allocatedCapacity": {},
|
|
270
|
+
"reservedCapacity": {},
|
|
271
|
+
"availableCapacity": {}
|
|
272
|
+
}
|
|
273
|
+
]
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"resourceZoneId": "string",
|
|
277
|
+
"capacityMeasurements": [
|
|
278
|
+
{
|
|
279
|
+
"resourceType": "VR_STORAGE",
|
|
280
|
+
"capacityMeasurementName": "string",
|
|
281
|
+
"totalCapacity": {},
|
|
282
|
+
"allocatedCapacity": {},
|
|
283
|
+
"reservedCapacity": {},
|
|
284
|
+
"availableCapacity": {}
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"resourceType": "VR_COMPUTE",
|
|
288
|
+
"capacityMeasurementName": "string",
|
|
289
|
+
"totalCapacity": {},
|
|
290
|
+
"allocatedCapacity": {},
|
|
291
|
+
"reservedCapacity": {},
|
|
292
|
+
"availableCapacity": {}
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"resourceType": "VR_STORAGE",
|
|
296
|
+
"capacityMeasurementName": "string",
|
|
297
|
+
"totalCapacity": {},
|
|
298
|
+
"allocatedCapacity": {},
|
|
299
|
+
"reservedCapacity": {},
|
|
300
|
+
"availableCapacity": {}
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"resourceType": "VR_NETWORK",
|
|
304
|
+
"capacityMeasurementName": "string",
|
|
305
|
+
"totalCapacity": {},
|
|
306
|
+
"allocatedCapacity": {},
|
|
307
|
+
"reservedCapacity": {},
|
|
308
|
+
"availableCapacity": {}
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"resourceType": "HOST_COMPUTE",
|
|
312
|
+
"capacityMeasurementName": "string",
|
|
313
|
+
"totalCapacity": {},
|
|
314
|
+
"allocatedCapacity": {},
|
|
315
|
+
"reservedCapacity": {},
|
|
316
|
+
"availableCapacity": {}
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"resourceType": "VR_STORAGE",
|
|
320
|
+
"capacityMeasurementName": "string",
|
|
321
|
+
"totalCapacity": {},
|
|
322
|
+
"allocatedCapacity": {},
|
|
323
|
+
"reservedCapacity": {},
|
|
324
|
+
"availableCapacity": {}
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"resourceType": "VR_NETWORK",
|
|
328
|
+
"capacityMeasurementName": "string",
|
|
329
|
+
"totalCapacity": {},
|
|
330
|
+
"allocatedCapacity": {},
|
|
331
|
+
"reservedCapacity": {},
|
|
332
|
+
"availableCapacity": {}
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"resourceType": "VR_NETWORK",
|
|
336
|
+
"capacityMeasurementName": "string",
|
|
337
|
+
"totalCapacity": {},
|
|
338
|
+
"allocatedCapacity": {},
|
|
339
|
+
"reservedCapacity": {},
|
|
340
|
+
"availableCapacity": {}
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"resourceType": "VR_STORAGE",
|
|
344
|
+
"capacityMeasurementName": "string",
|
|
345
|
+
"totalCapacity": {},
|
|
346
|
+
"allocatedCapacity": {},
|
|
347
|
+
"reservedCapacity": {},
|
|
348
|
+
"availableCapacity": {}
|
|
349
|
+
}
|
|
350
|
+
]
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"resourceZoneId": "string",
|
|
354
|
+
"capacityMeasurements": [
|
|
355
|
+
{
|
|
356
|
+
"resourceType": "VR_STORAGE",
|
|
357
|
+
"capacityMeasurementName": "string",
|
|
358
|
+
"totalCapacity": {},
|
|
359
|
+
"allocatedCapacity": {},
|
|
360
|
+
"reservedCapacity": {},
|
|
361
|
+
"availableCapacity": {}
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"resourceType": "VR_NETWORK",
|
|
365
|
+
"capacityMeasurementName": "string",
|
|
366
|
+
"totalCapacity": {},
|
|
367
|
+
"allocatedCapacity": {},
|
|
368
|
+
"reservedCapacity": {},
|
|
369
|
+
"availableCapacity": {}
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"resourceType": "VR_NETWORK",
|
|
373
|
+
"capacityMeasurementName": "string",
|
|
374
|
+
"totalCapacity": {},
|
|
375
|
+
"allocatedCapacity": {},
|
|
376
|
+
"reservedCapacity": {},
|
|
377
|
+
"availableCapacity": {}
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"resourceType": "VR_COMPUTE",
|
|
381
|
+
"capacityMeasurementName": "string",
|
|
382
|
+
"totalCapacity": {},
|
|
383
|
+
"allocatedCapacity": {},
|
|
384
|
+
"reservedCapacity": {},
|
|
385
|
+
"availableCapacity": {}
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"resourceType": "HOST_COMPUTE",
|
|
389
|
+
"capacityMeasurementName": "string",
|
|
390
|
+
"totalCapacity": {},
|
|
391
|
+
"allocatedCapacity": {},
|
|
392
|
+
"reservedCapacity": {},
|
|
393
|
+
"availableCapacity": {}
|
|
394
|
+
}
|
|
395
|
+
]
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"resourceZoneId": "string",
|
|
399
|
+
"capacityMeasurements": [
|
|
400
|
+
{
|
|
401
|
+
"resourceType": "VR_COMPUTE",
|
|
402
|
+
"capacityMeasurementName": "string",
|
|
403
|
+
"totalCapacity": {},
|
|
404
|
+
"allocatedCapacity": {},
|
|
405
|
+
"reservedCapacity": {},
|
|
406
|
+
"availableCapacity": {}
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"resourceType": "VR_NETWORK",
|
|
410
|
+
"capacityMeasurementName": "string",
|
|
411
|
+
"totalCapacity": {},
|
|
412
|
+
"allocatedCapacity": {},
|
|
413
|
+
"reservedCapacity": {},
|
|
414
|
+
"availableCapacity": {}
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"resourceType": "VR_COMPUTE",
|
|
418
|
+
"capacityMeasurementName": "string",
|
|
419
|
+
"totalCapacity": {},
|
|
420
|
+
"allocatedCapacity": {},
|
|
421
|
+
"reservedCapacity": {},
|
|
422
|
+
"availableCapacity": {}
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"resourceType": "VR_STORAGE",
|
|
426
|
+
"capacityMeasurementName": "string",
|
|
427
|
+
"totalCapacity": {},
|
|
428
|
+
"allocatedCapacity": {},
|
|
429
|
+
"reservedCapacity": {},
|
|
430
|
+
"availableCapacity": {}
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"resourceType": "HOST_COMPUTE",
|
|
434
|
+
"capacityMeasurementName": "string",
|
|
435
|
+
"totalCapacity": {},
|
|
436
|
+
"allocatedCapacity": {},
|
|
437
|
+
"reservedCapacity": {},
|
|
438
|
+
"availableCapacity": {}
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"resourceType": "VR_COMPUTE",
|
|
442
|
+
"capacityMeasurementName": "string",
|
|
443
|
+
"totalCapacity": {},
|
|
444
|
+
"allocatedCapacity": {},
|
|
445
|
+
"reservedCapacity": {},
|
|
446
|
+
"availableCapacity": {}
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"resourceType": "HOST_COMPUTE",
|
|
450
|
+
"capacityMeasurementName": "string",
|
|
451
|
+
"totalCapacity": {},
|
|
452
|
+
"allocatedCapacity": {},
|
|
453
|
+
"reservedCapacity": {},
|
|
454
|
+
"availableCapacity": {}
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"resourceType": "VR_STORAGE",
|
|
458
|
+
"capacityMeasurementName": "string",
|
|
459
|
+
"totalCapacity": {},
|
|
460
|
+
"allocatedCapacity": {},
|
|
461
|
+
"reservedCapacity": {},
|
|
462
|
+
"availableCapacity": {}
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"resourceType": "VR_NETWORK",
|
|
466
|
+
"capacityMeasurementName": "string",
|
|
467
|
+
"totalCapacity": {},
|
|
468
|
+
"allocatedCapacity": {},
|
|
469
|
+
"reservedCapacity": {},
|
|
470
|
+
"availableCapacity": {}
|
|
471
|
+
}
|
|
472
|
+
]
|
|
473
|
+
}
|
|
474
|
+
],
|
|
475
|
+
"totalCapacityInfo": {
|
|
476
|
+
"resourceType": "HOST_COMPUTE",
|
|
477
|
+
"capacityMeasurementName": "string",
|
|
478
|
+
"totalCapacity": {},
|
|
479
|
+
"allocatedCapacity": {},
|
|
480
|
+
"reservedCapacity": {},
|
|
481
|
+
"availableCapacity": {}
|
|
482
|
+
},
|
|
483
|
+
"timeInterval": {
|
|
484
|
+
"aTime": null,
|
|
485
|
+
"bTime": null
|
|
486
|
+
}
|
|
487
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": false,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getNfviCapacityInfos",
|
|
14
|
+
"getNfviCapacityInfosVimId"
|
|
15
|
+
],
|
|
16
|
+
"external_name": "ph_request_type"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"definitions": {}
|
|
20
|
+
}
|