@itentialopensource/adapter-openstack_neutron 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.
Files changed (175) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +18 -0
  3. package/.jshintrc +3 -0
  4. package/AUTH.md +44 -0
  5. package/BROKER.md +199 -0
  6. package/CALLS.md +2000 -0
  7. package/CHANGELOG.md +9 -0
  8. package/CODE_OF_CONDUCT.md +43 -0
  9. package/CONTRIBUTING.md +172 -0
  10. package/ENHANCE.md +69 -0
  11. package/LICENSE +201 -0
  12. package/PROPERTIES.md +641 -0
  13. package/README.md +337 -0
  14. package/SUMMARY.md +9 -0
  15. package/SYSTEMINFO.md +11 -0
  16. package/TROUBLESHOOT.md +47 -0
  17. package/adapter.js +37134 -0
  18. package/adapterBase.js +1788 -0
  19. package/entities/.generic/action.json +214 -0
  20. package/entities/.generic/schema.json +28 -0
  21. package/entities/.system/action.json +50 -0
  22. package/entities/.system/mockdatafiles/getToken-default.json +242 -0
  23. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  24. package/entities/.system/schema.json +19 -0
  25. package/entities/.system/schemaTokenReq.json +53 -0
  26. package/entities/.system/schemaTokenResp.json +49 -0
  27. package/entities/APIVersions/action.json +46 -0
  28. package/entities/APIVersions/schema.json +20 -0
  29. package/entities/AddressGroups/action.json +146 -0
  30. package/entities/AddressGroups/schema.json +69 -0
  31. package/entities/AddressScopes/action.json +106 -0
  32. package/entities/AddressScopes/schema.json +78 -0
  33. package/entities/Agents/action.json +86 -0
  34. package/entities/Agents/schema.json +88 -0
  35. package/entities/AutoAllocatedTopologies/action.json +45 -0
  36. package/entities/AutoAllocatedTopologies/schema.json +31 -0
  37. package/entities/AvailabilityZones/action.json +25 -0
  38. package/entities/AvailabilityZones/schema.json +19 -0
  39. package/entities/BGPPeer/action.json +106 -0
  40. package/entities/BGPPeer/schema.json +34 -0
  41. package/entities/BGPSpeaker/action.json +228 -0
  42. package/entities/BGPSpeaker/schema.json +40 -0
  43. package/entities/BGPVPNs/action.json +106 -0
  44. package/entities/BGPVPNs/schema.json +34 -0
  45. package/entities/DHCPAgentScheduler/action.json +86 -0
  46. package/entities/DHCPAgentScheduler/schema.json +44 -0
  47. package/entities/Extensions/action.json +46 -0
  48. package/entities/Extensions/schema.json +20 -0
  49. package/entities/FWaaSV20CURRENTFwaasFirewallGroupsFirewallPoliciesFirewallRules/action.json +350 -0
  50. package/entities/FWaaSV20CURRENTFwaasFirewallGroupsFirewallPoliciesFirewallRules/schema.json +68 -0
  51. package/entities/FirewallLogs/action.json +106 -0
  52. package/entities/FirewallLogs/schema.json +45 -0
  53. package/entities/FloatingIPPoolsFloatingipPools/action.json +25 -0
  54. package/entities/FloatingIPPoolsFloatingipPools/schema.json +19 -0
  55. package/entities/FloatingIPsFloatingips/action.json +106 -0
  56. package/entities/FloatingIPsFloatingips/schema.json +177 -0
  57. package/entities/FloatingIPsPortForwarding/action.json +106 -0
  58. package/entities/FloatingIPsPortForwarding/schema.json +100 -0
  59. package/entities/L3AgentScheduler/action.json +86 -0
  60. package/entities/L3AgentScheduler/schema.json +44 -0
  61. package/entities/LocalIPAssociationsPortAssociations/action.json +65 -0
  62. package/entities/LocalIPAssociationsPortAssociations/schema.json +76 -0
  63. package/entities/LocalIPsLocalIps/action.json +106 -0
  64. package/entities/LocalIPsLocalIps/schema.json +122 -0
  65. package/entities/LogResource/action.json +106 -0
  66. package/entities/LogResource/schema.json +122 -0
  67. package/entities/LoggableResource/action.json +25 -0
  68. package/entities/LoggableResource/schema.json +19 -0
  69. package/entities/LoggingResources/action.json +106 -0
  70. package/entities/LoggingResources/schema.json +34 -0
  71. package/entities/MeteringLabelsAndRulesMeteringLabelsMeteringLabelRules/action.json +168 -0
  72. package/entities/MeteringLabelsAndRulesMeteringLabelsMeteringLabelRules/schema.json +125 -0
  73. package/entities/NetworkAssociations/action.json +86 -0
  74. package/entities/NetworkAssociations/schema.json +44 -0
  75. package/entities/NetworkIPAvailabilityAndUsageStats/action.json +46 -0
  76. package/entities/NetworkIPAvailabilityAndUsageStats/schema.json +75 -0
  77. package/entities/NetworkSegmentRanges/action.json +106 -0
  78. package/entities/NetworkSegmentRanges/schema.json +133 -0
  79. package/entities/NetworkingFlavorsFrameworkV20CURRENTFlavorServiceProfile/action.json +248 -0
  80. package/entities/NetworkingFlavorsFrameworkV20CURRENTFlavorServiceProfile/schema.json +85 -0
  81. package/entities/Networks/action.json +106 -0
  82. package/entities/Networks/schema.json +199 -0
  83. package/entities/PortAssociations/action.json +106 -0
  84. package/entities/PortAssociations/schema.json +45 -0
  85. package/entities/Ports/action.json +106 -0
  86. package/entities/Ports/schema.json +221 -0
  87. package/entities/QoSBandwidthLimitRules/action.json +106 -0
  88. package/entities/QoSBandwidthLimitRules/schema.json +89 -0
  89. package/entities/QoSDSCPMarkingRules/action.json +106 -0
  90. package/entities/QoSDSCPMarkingRules/schema.json +78 -0
  91. package/entities/QoSMinimumBandwidthRules/action.json +106 -0
  92. package/entities/QoSMinimumBandwidthRules/schema.json +78 -0
  93. package/entities/QoSMinimumPacketRateRules/action.json +106 -0
  94. package/entities/QoSMinimumPacketRateRules/schema.json +78 -0
  95. package/entities/QoSPacketRateLimitRules/action.json +106 -0
  96. package/entities/QoSPacketRateLimitRules/schema.json +89 -0
  97. package/entities/QoSPoliciesQos/action.json +106 -0
  98. package/entities/QoSPoliciesQos/schema.json +133 -0
  99. package/entities/QoSRuleTypes/action.json +46 -0
  100. package/entities/QoSRuleTypes/schema.json +53 -0
  101. package/entities/QualityOfServiceMinimumPacketRateRuleAliasAPI/action.json +65 -0
  102. package/entities/QualityOfServiceMinimumPacketRateRuleAliasAPI/schema.json +32 -0
  103. package/entities/QualityOfServiceRulesAliasAPI/action.json +187 -0
  104. package/entities/QualityOfServiceRulesAliasAPI/schema.json +49 -0
  105. package/entities/QuotasDetailsExtensionQuotaDetails/action.json +25 -0
  106. package/entities/QuotasDetailsExtensionQuotaDetails/schema.json +30 -0
  107. package/entities/QuotasExtensionQuotas/action.json +107 -0
  108. package/entities/QuotasExtensionQuotas/schema.json +34 -0
  109. package/entities/RBACPolicies/action.json +106 -0
  110. package/entities/RBACPolicies/schema.json +111 -0
  111. package/entities/RouterAssociations/action.json +106 -0
  112. package/entities/RouterAssociations/schema.json +45 -0
  113. package/entities/RouterNDPProxyNdpProxies/action.json +106 -0
  114. package/entities/RouterNDPProxyNdpProxies/schema.json +122 -0
  115. package/entities/RoutersConntrackHelperCTTargetRules/action.json +106 -0
  116. package/entities/RoutersConntrackHelperCTTargetRules/schema.json +67 -0
  117. package/entities/RoutersRouters/action.json +186 -0
  118. package/entities/RoutersRouters/schema.json +137 -0
  119. package/entities/SecurityGroupRulesSecurityGroupRules/action.json +86 -0
  120. package/entities/SecurityGroupRulesSecurityGroupRules/schema.json +143 -0
  121. package/entities/SecurityGroupsSecurityGroups/action.json +106 -0
  122. package/entities/SecurityGroupsSecurityGroups/schema.json +122 -0
  123. package/entities/Segments/action.json +106 -0
  124. package/entities/Segments/schema.json +111 -0
  125. package/entities/ServiceProviders/action.json +25 -0
  126. package/entities/ServiceProviders/schema.json +19 -0
  127. package/entities/SubnetPoolPrefixOperationsSubnetpoolPrefixOps/action.json +44 -0
  128. package/entities/SubnetPoolPrefixOperationsSubnetpoolPrefixOps/schema.json +31 -0
  129. package/entities/SubnetPoolsExtensionSubnetpools/action.json +106 -0
  130. package/entities/SubnetPoolsExtensionSubnetpools/schema.json +199 -0
  131. package/entities/Subnets/action.json +106 -0
  132. package/entities/Subnets/schema.json +221 -0
  133. package/entities/TagExtensionTags/action.json +126 -0
  134. package/entities/TagExtensionTags/schema.json +46 -0
  135. package/entities/TapAsAService/action.json +208 -0
  136. package/entities/TapAsAService/schema.json +72 -0
  137. package/entities/TrunkNetworking/action.json +167 -0
  138. package/entities/TrunkNetworking/schema.json +147 -0
  139. package/entities/VPNaaS20VpnVpnservicesIkepoliciesIpsecpoliciesEndpointGroupsIpsecSiteConnections/action.json +514 -0
  140. package/entities/VPNaaS20VpnVpnservicesIkepoliciesIpsecpoliciesEndpointGroupsIpsecSiteConnections/schema.json +98 -0
  141. package/error.json +190 -0
  142. package/package.json +87 -0
  143. package/pronghorn.json +17931 -0
  144. package/propertiesDecorators.json +14 -0
  145. package/propertiesSchema.json +1284 -0
  146. package/refs?service=git-upload-pack +0 -0
  147. package/report/adapterInfo.json +10 -0
  148. package/report/creationReport.json +2575 -0
  149. package/report/neutron-openapi.json +14594 -0
  150. package/report/updateReport1662381141928.json +120 -0
  151. package/sampleProperties.json +198 -0
  152. package/test/integration/adapterTestBasicGet.js +85 -0
  153. package/test/integration/adapterTestConnectivity.js +93 -0
  154. package/test/integration/adapterTestIntegration.js +8868 -0
  155. package/test/unit/adapterBaseTestUnit.js +952 -0
  156. package/test/unit/adapterTestUnit.js +9550 -0
  157. package/utils/adapterInfo.js +206 -0
  158. package/utils/addAuth.js +94 -0
  159. package/utils/artifactize.js +146 -0
  160. package/utils/basicGet.js +50 -0
  161. package/utils/checkMigrate.js +63 -0
  162. package/utils/entitiesToDB.js +179 -0
  163. package/utils/findPath.js +74 -0
  164. package/utils/methodDocumentor.js +225 -0
  165. package/utils/modify.js +154 -0
  166. package/utils/packModificationScript.js +35 -0
  167. package/utils/patches2bundledDeps.js +90 -0
  168. package/utils/pre-commit.sh +32 -0
  169. package/utils/removeHooks.js +20 -0
  170. package/utils/setup.js +33 -0
  171. package/utils/tbScript.js +184 -0
  172. package/utils/tbUtils.js +469 -0
  173. package/utils/testRunner.js +298 -0
  174. package/utils/troubleshootingAdapter.js +190 -0
  175. package/workflows/README.md +3 -0
@@ -0,0 +1,514 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "listIKEPolicies",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/v2.0/vpn/ikepolicies?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "createIKEPolicy",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/v2.0/vpn/ikepolicies?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "requestDatatype": "JSON",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": ""
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "showIKEPolicyDetails",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/v2.0/vpn/ikepolicies/{pathv1}?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "sendGetBody": false,
54
+ "requestDatatype": "JSON",
55
+ "responseDatatype": "JSON",
56
+ "headers": {},
57
+ "responseObjects": [
58
+ {
59
+ "type": "default",
60
+ "key": "",
61
+ "mockFile": ""
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ "name": "updateIKEPolicy",
67
+ "protocol": "REST",
68
+ "method": "PUT",
69
+ "entitypath": "{base_path}/{version}/v2.0/vpn/ikepolicies/{pathv1}?{query}",
70
+ "requestSchema": "schema.json",
71
+ "responseSchema": "schema.json",
72
+ "timeout": 0,
73
+ "sendEmpty": false,
74
+ "requestDatatype": "JSON",
75
+ "responseDatatype": "JSON",
76
+ "headers": {},
77
+ "responseObjects": [
78
+ {
79
+ "type": "default",
80
+ "key": "",
81
+ "mockFile": ""
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "name": "removeIKEPolicy",
87
+ "protocol": "REST",
88
+ "method": "DELETE",
89
+ "entitypath": "{base_path}/{version}/v2.0/vpn/ikepolicies/{pathv1}?{query}",
90
+ "requestSchema": "schema.json",
91
+ "responseSchema": "schema.json",
92
+ "timeout": 0,
93
+ "sendEmpty": false,
94
+ "requestDatatype": "JSON",
95
+ "responseDatatype": "JSON",
96
+ "headers": {},
97
+ "responseObjects": [
98
+ {
99
+ "type": "default",
100
+ "key": "",
101
+ "mockFile": ""
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "name": "listIPsecPolicies",
107
+ "protocol": "REST",
108
+ "method": "GET",
109
+ "entitypath": "{base_path}/{version}/v2.0/vpn/ipsecpolicies?{query}",
110
+ "requestSchema": "schema.json",
111
+ "responseSchema": "schema.json",
112
+ "timeout": 0,
113
+ "sendEmpty": false,
114
+ "sendGetBody": false,
115
+ "requestDatatype": "JSON",
116
+ "responseDatatype": "JSON",
117
+ "headers": {},
118
+ "responseObjects": [
119
+ {
120
+ "type": "default",
121
+ "key": "",
122
+ "mockFile": ""
123
+ }
124
+ ]
125
+ },
126
+ {
127
+ "name": "createIPsecPolicy",
128
+ "protocol": "REST",
129
+ "method": "POST",
130
+ "entitypath": "{base_path}/{version}/v2.0/vpn/ipsecpolicies?{query}",
131
+ "requestSchema": "schema.json",
132
+ "responseSchema": "schema.json",
133
+ "timeout": 0,
134
+ "sendEmpty": false,
135
+ "requestDatatype": "JSON",
136
+ "responseDatatype": "JSON",
137
+ "headers": {},
138
+ "responseObjects": [
139
+ {
140
+ "type": "default",
141
+ "key": "",
142
+ "mockFile": ""
143
+ }
144
+ ]
145
+ },
146
+ {
147
+ "name": "showIPsecPolicy",
148
+ "protocol": "REST",
149
+ "method": "GET",
150
+ "entitypath": "{base_path}/{version}/v2.0/vpn/ipsecpolicies/{pathv1}?{query}",
151
+ "requestSchema": "schema.json",
152
+ "responseSchema": "schema.json",
153
+ "timeout": 0,
154
+ "sendEmpty": false,
155
+ "sendGetBody": false,
156
+ "requestDatatype": "JSON",
157
+ "responseDatatype": "JSON",
158
+ "headers": {},
159
+ "responseObjects": [
160
+ {
161
+ "type": "default",
162
+ "key": "",
163
+ "mockFile": ""
164
+ }
165
+ ]
166
+ },
167
+ {
168
+ "name": "updateIPsecPolicy",
169
+ "protocol": "REST",
170
+ "method": "PUT",
171
+ "entitypath": "{base_path}/{version}/v2.0/vpn/ipsecpolicies/{pathv1}?{query}",
172
+ "requestSchema": "schema.json",
173
+ "responseSchema": "schema.json",
174
+ "timeout": 0,
175
+ "sendEmpty": false,
176
+ "requestDatatype": "JSON",
177
+ "responseDatatype": "JSON",
178
+ "headers": {},
179
+ "responseObjects": [
180
+ {
181
+ "type": "default",
182
+ "key": "",
183
+ "mockFile": ""
184
+ }
185
+ ]
186
+ },
187
+ {
188
+ "name": "removeIPsecPolicy",
189
+ "protocol": "REST",
190
+ "method": "DELETE",
191
+ "entitypath": "{base_path}/{version}/v2.0/vpn/ipsecpolicies/{pathv1}?{query}",
192
+ "requestSchema": "schema.json",
193
+ "responseSchema": "schema.json",
194
+ "timeout": 0,
195
+ "sendEmpty": false,
196
+ "requestDatatype": "JSON",
197
+ "responseDatatype": "JSON",
198
+ "headers": {},
199
+ "responseObjects": [
200
+ {
201
+ "type": "default",
202
+ "key": "",
203
+ "mockFile": ""
204
+ }
205
+ ]
206
+ },
207
+ {
208
+ "name": "listIPsecConnections",
209
+ "protocol": "REST",
210
+ "method": "GET",
211
+ "entitypath": "{base_path}/{version}/v2.0/vpn/ipsec-site-connections?{query}",
212
+ "requestSchema": "schema.json",
213
+ "responseSchema": "schema.json",
214
+ "timeout": 0,
215
+ "sendEmpty": false,
216
+ "sendGetBody": false,
217
+ "requestDatatype": "JSON",
218
+ "responseDatatype": "JSON",
219
+ "headers": {},
220
+ "responseObjects": [
221
+ {
222
+ "type": "default",
223
+ "key": "",
224
+ "mockFile": ""
225
+ }
226
+ ]
227
+ },
228
+ {
229
+ "name": "createIPsecConnection",
230
+ "protocol": "REST",
231
+ "method": "POST",
232
+ "entitypath": "{base_path}/{version}/v2.0/vpn/ipsec-site-connections?{query}",
233
+ "requestSchema": "schema.json",
234
+ "responseSchema": "schema.json",
235
+ "timeout": 0,
236
+ "sendEmpty": false,
237
+ "requestDatatype": "JSON",
238
+ "responseDatatype": "JSON",
239
+ "headers": {},
240
+ "responseObjects": [
241
+ {
242
+ "type": "default",
243
+ "key": "",
244
+ "mockFile": ""
245
+ }
246
+ ]
247
+ },
248
+ {
249
+ "name": "showIPsecConnection",
250
+ "protocol": "REST",
251
+ "method": "GET",
252
+ "entitypath": "{base_path}/{version}/v2.0/vpn/ipsec-site-connections/{pathv1}?{query}",
253
+ "requestSchema": "schema.json",
254
+ "responseSchema": "schema.json",
255
+ "timeout": 0,
256
+ "sendEmpty": false,
257
+ "sendGetBody": false,
258
+ "requestDatatype": "JSON",
259
+ "responseDatatype": "JSON",
260
+ "headers": {},
261
+ "responseObjects": [
262
+ {
263
+ "type": "default",
264
+ "key": "",
265
+ "mockFile": ""
266
+ }
267
+ ]
268
+ },
269
+ {
270
+ "name": "updateIPsecConnection",
271
+ "protocol": "REST",
272
+ "method": "PUT",
273
+ "entitypath": "{base_path}/{version}/v2.0/vpn/ipsec-site-connections/{pathv1}?{query}",
274
+ "requestSchema": "schema.json",
275
+ "responseSchema": "schema.json",
276
+ "timeout": 0,
277
+ "sendEmpty": false,
278
+ "requestDatatype": "JSON",
279
+ "responseDatatype": "JSON",
280
+ "headers": {},
281
+ "responseObjects": [
282
+ {
283
+ "type": "default",
284
+ "key": "",
285
+ "mockFile": ""
286
+ }
287
+ ]
288
+ },
289
+ {
290
+ "name": "removeIPsecConnection",
291
+ "protocol": "REST",
292
+ "method": "DELETE",
293
+ "entitypath": "{base_path}/{version}/v2.0/vpn/ipsec-site-connections/{pathv1}?{query}",
294
+ "requestSchema": "schema.json",
295
+ "responseSchema": "schema.json",
296
+ "timeout": 0,
297
+ "sendEmpty": false,
298
+ "requestDatatype": "JSON",
299
+ "responseDatatype": "JSON",
300
+ "headers": {},
301
+ "responseObjects": [
302
+ {
303
+ "type": "default",
304
+ "key": "",
305
+ "mockFile": ""
306
+ }
307
+ ]
308
+ },
309
+ {
310
+ "name": "listVPNEndpointGroups",
311
+ "protocol": "REST",
312
+ "method": "GET",
313
+ "entitypath": "{base_path}/{version}/v2.0/vpn/endpoint-groups?{query}",
314
+ "requestSchema": "schema.json",
315
+ "responseSchema": "schema.json",
316
+ "timeout": 0,
317
+ "sendEmpty": false,
318
+ "sendGetBody": false,
319
+ "requestDatatype": "JSON",
320
+ "responseDatatype": "JSON",
321
+ "headers": {},
322
+ "responseObjects": [
323
+ {
324
+ "type": "default",
325
+ "key": "",
326
+ "mockFile": ""
327
+ }
328
+ ]
329
+ },
330
+ {
331
+ "name": "createVPNEndpointGroup",
332
+ "protocol": "REST",
333
+ "method": "POST",
334
+ "entitypath": "{base_path}/{version}/v2.0/vpn/endpoint-groups?{query}",
335
+ "requestSchema": "schema.json",
336
+ "responseSchema": "schema.json",
337
+ "timeout": 0,
338
+ "sendEmpty": false,
339
+ "requestDatatype": "JSON",
340
+ "responseDatatype": "JSON",
341
+ "headers": {},
342
+ "responseObjects": [
343
+ {
344
+ "type": "default",
345
+ "key": "",
346
+ "mockFile": ""
347
+ }
348
+ ]
349
+ },
350
+ {
351
+ "name": "showVPNEndpointGroup",
352
+ "protocol": "REST",
353
+ "method": "GET",
354
+ "entitypath": "{base_path}/{version}/v2.0/vpn/endpoint-groups/{pathv1}?{query}",
355
+ "requestSchema": "schema.json",
356
+ "responseSchema": "schema.json",
357
+ "timeout": 0,
358
+ "sendEmpty": false,
359
+ "sendGetBody": false,
360
+ "requestDatatype": "JSON",
361
+ "responseDatatype": "JSON",
362
+ "headers": {},
363
+ "responseObjects": [
364
+ {
365
+ "type": "default",
366
+ "key": "",
367
+ "mockFile": ""
368
+ }
369
+ ]
370
+ },
371
+ {
372
+ "name": "updateVPNEndpointGroup",
373
+ "protocol": "REST",
374
+ "method": "PUT",
375
+ "entitypath": "{base_path}/{version}/v2.0/vpn/endpoint-groups/{pathv1}?{query}",
376
+ "requestSchema": "schema.json",
377
+ "responseSchema": "schema.json",
378
+ "timeout": 0,
379
+ "sendEmpty": false,
380
+ "requestDatatype": "JSON",
381
+ "responseDatatype": "JSON",
382
+ "headers": {},
383
+ "responseObjects": [
384
+ {
385
+ "type": "default",
386
+ "key": "",
387
+ "mockFile": ""
388
+ }
389
+ ]
390
+ },
391
+ {
392
+ "name": "removeVPNEndpointGroup",
393
+ "protocol": "REST",
394
+ "method": "DELETE",
395
+ "entitypath": "{base_path}/{version}/v2.0/vpn/endpoint-groups/{pathv1}?{query}",
396
+ "requestSchema": "schema.json",
397
+ "responseSchema": "schema.json",
398
+ "timeout": 0,
399
+ "sendEmpty": false,
400
+ "requestDatatype": "JSON",
401
+ "responseDatatype": "JSON",
402
+ "headers": {},
403
+ "responseObjects": [
404
+ {
405
+ "type": "default",
406
+ "key": "",
407
+ "mockFile": ""
408
+ }
409
+ ]
410
+ },
411
+ {
412
+ "name": "listVPNServices",
413
+ "protocol": "REST",
414
+ "method": "GET",
415
+ "entitypath": "{base_path}/{version}/v2.0/vpn/vpnservices?{query}",
416
+ "requestSchema": "schema.json",
417
+ "responseSchema": "schema.json",
418
+ "timeout": 0,
419
+ "sendEmpty": false,
420
+ "sendGetBody": false,
421
+ "requestDatatype": "JSON",
422
+ "responseDatatype": "JSON",
423
+ "headers": {},
424
+ "responseObjects": [
425
+ {
426
+ "type": "default",
427
+ "key": "",
428
+ "mockFile": ""
429
+ }
430
+ ]
431
+ },
432
+ {
433
+ "name": "createVPNService",
434
+ "protocol": "REST",
435
+ "method": "POST",
436
+ "entitypath": "{base_path}/{version}/v2.0/vpn/vpnservices?{query}",
437
+ "requestSchema": "schema.json",
438
+ "responseSchema": "schema.json",
439
+ "timeout": 0,
440
+ "sendEmpty": false,
441
+ "requestDatatype": "JSON",
442
+ "responseDatatype": "JSON",
443
+ "headers": {},
444
+ "responseObjects": [
445
+ {
446
+ "type": "default",
447
+ "key": "",
448
+ "mockFile": ""
449
+ }
450
+ ]
451
+ },
452
+ {
453
+ "name": "showVPNServiceDetails",
454
+ "protocol": "REST",
455
+ "method": "GET",
456
+ "entitypath": "{base_path}/{version}/v2.0/vpn/vpnservices/{pathv1}?{query}",
457
+ "requestSchema": "schema.json",
458
+ "responseSchema": "schema.json",
459
+ "timeout": 0,
460
+ "sendEmpty": false,
461
+ "sendGetBody": false,
462
+ "requestDatatype": "JSON",
463
+ "responseDatatype": "JSON",
464
+ "headers": {},
465
+ "responseObjects": [
466
+ {
467
+ "type": "default",
468
+ "key": "",
469
+ "mockFile": ""
470
+ }
471
+ ]
472
+ },
473
+ {
474
+ "name": "updateVPNService",
475
+ "protocol": "REST",
476
+ "method": "PUT",
477
+ "entitypath": "{base_path}/{version}/v2.0/vpn/vpnservices/{pathv1}?{query}",
478
+ "requestSchema": "schema.json",
479
+ "responseSchema": "schema.json",
480
+ "timeout": 0,
481
+ "sendEmpty": false,
482
+ "requestDatatype": "JSON",
483
+ "responseDatatype": "JSON",
484
+ "headers": {},
485
+ "responseObjects": [
486
+ {
487
+ "type": "default",
488
+ "key": "",
489
+ "mockFile": ""
490
+ }
491
+ ]
492
+ },
493
+ {
494
+ "name": "removeVPNService",
495
+ "protocol": "REST",
496
+ "method": "DELETE",
497
+ "entitypath": "{base_path}/{version}/v2.0/vpn/vpnservices/{pathv1}?{query}",
498
+ "requestSchema": "schema.json",
499
+ "responseSchema": "schema.json",
500
+ "timeout": 0,
501
+ "sendEmpty": false,
502
+ "requestDatatype": "JSON",
503
+ "responseDatatype": "JSON",
504
+ "headers": {},
505
+ "responseObjects": [
506
+ {
507
+ "type": "default",
508
+ "key": "",
509
+ "mockFile": ""
510
+ }
511
+ ]
512
+ }
513
+ ]
514
+ }
@@ -0,0 +1,98 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": true,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "listIKEPolicies",
12
+ "enum": [
13
+ "listIKEPolicies",
14
+ "createIKEPolicy",
15
+ "showIKEPolicyDetails",
16
+ "updateIKEPolicy",
17
+ "removeIKEPolicy",
18
+ "listIPsecPolicies",
19
+ "createIPsecPolicy",
20
+ "showIPsecPolicy",
21
+ "updateIPsecPolicy",
22
+ "removeIPsecPolicy",
23
+ "listIPsecConnections",
24
+ "createIPsecConnection",
25
+ "showIPsecConnection",
26
+ "updateIPsecConnection",
27
+ "removeIPsecConnection",
28
+ "listVPNEndpointGroups",
29
+ "createVPNEndpointGroup",
30
+ "showVPNEndpointGroup",
31
+ "updateVPNEndpointGroup",
32
+ "removeVPNEndpointGroup",
33
+ "listVPNServices",
34
+ "createVPNService",
35
+ "showVPNServiceDetails",
36
+ "updateVPNService",
37
+ "removeVPNService"
38
+ ],
39
+ "external_name": "ph_request_type"
40
+ },
41
+ "ikepolicyId": {
42
+ "type": "string",
43
+ "description": "The ID of the IKE policy.",
44
+ "parse": false,
45
+ "encode": false,
46
+ "encrypt": {
47
+ "type": "AES",
48
+ "key": ""
49
+ },
50
+ "external_name": "ikepolicy_id"
51
+ },
52
+ "ipsecpolicyId": {
53
+ "type": "string",
54
+ "description": "The ID of the IPsec policy.",
55
+ "parse": false,
56
+ "encode": false,
57
+ "encrypt": {
58
+ "type": "AES",
59
+ "key": ""
60
+ },
61
+ "external_name": "ipsecpolicy_id"
62
+ },
63
+ "connectionId": {
64
+ "type": "string",
65
+ "description": "The ID of the IPsec site-to-site connection.",
66
+ "parse": false,
67
+ "encode": false,
68
+ "encrypt": {
69
+ "type": "AES",
70
+ "key": ""
71
+ },
72
+ "external_name": "connection_id"
73
+ },
74
+ "endpointGroupId": {
75
+ "type": "string",
76
+ "description": "The ID of the VPN endpoint group.",
77
+ "parse": false,
78
+ "encode": false,
79
+ "encrypt": {
80
+ "type": "AES",
81
+ "key": ""
82
+ },
83
+ "external_name": "endpoint_group_id"
84
+ },
85
+ "serviceId": {
86
+ "type": "string",
87
+ "description": "The ID of the VPN service.",
88
+ "parse": false,
89
+ "encode": false,
90
+ "encrypt": {
91
+ "type": "AES",
92
+ "key": ""
93
+ },
94
+ "external_name": "service_id"
95
+ }
96
+ },
97
+ "definitions": {}
98
+ }