@itentialopensource/adapter-infoblox_universal_ddi 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 +19 -0
- package/.jshintrc +3 -0
- package/AUTH.md +39 -0
- package/BROKER.md +211 -0
- package/CALLS.md +923 -0
- package/CODE_OF_CONDUCT.md +43 -0
- package/CONTRIBUTING.md +13 -0
- package/ENHANCE.md +69 -0
- package/LICENSE +201 -0
- package/PROPERTIES.md +661 -0
- package/README.md +344 -0
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +16 -0
- package/TAB1.md +10 -0
- package/TAB2.md +314 -0
- package/TROUBLESHOOT.md +56 -0
- package/UTILITIES.md +473 -0
- package/adapter.js +13131 -0
- package/adapterBase.js +1488 -0
- package/entities/.generic/action.json +214 -0
- package/entities/.generic/schema.json +28 -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/Address/action.json +106 -0
- package/entities/Address/schema.json +122 -0
- package/entities/AddressBlock/action.json +270 -0
- package/entities/AddressBlock/schema.json +163 -0
- package/entities/Asm/action.json +66 -0
- package/entities/Asm/schema.json +43 -0
- package/entities/ConfigProfile/action.json +126 -0
- package/entities/ConfigProfile/schema.json +90 -0
- package/entities/DhcpHost/action.json +87 -0
- package/entities/DhcpHost/schema.json +110 -0
- package/entities/DhcpUniversalService/action.json +46 -0
- package/entities/DhcpUniversalService/schema.json +20 -0
- package/entities/DnsUsage/action.json +46 -0
- package/entities/DnsUsage/schema.json +86 -0
- package/entities/Filter/action.json +25 -0
- package/entities/Filter/schema.json +107 -0
- package/entities/FixedAddress/action.json +106 -0
- package/entities/FixedAddress/schema.json +111 -0
- package/entities/Global/action.json +86 -0
- package/entities/Global/schema.json +33 -0
- package/entities/HaGroup/action.json +106 -0
- package/entities/HaGroup/schema.json +122 -0
- package/entities/HardwareFilter/action.json +106 -0
- package/entities/HardwareFilter/schema.json +111 -0
- package/entities/IpSpace/action.json +167 -0
- package/entities/IpSpace/schema.json +136 -0
- package/entities/IpamHost/action.json +106 -0
- package/entities/IpamHost/schema.json +111 -0
- package/entities/LeasesCommand/action.json +24 -0
- package/entities/LeasesCommand/schema.json +19 -0
- package/entities/MacAddressItem/action.json +146 -0
- package/entities/MacAddressItem/schema.json +91 -0
- package/entities/OptionCode/action.json +106 -0
- package/entities/OptionCode/schema.json +89 -0
- package/entities/OptionFilter/action.json +106 -0
- package/entities/OptionFilter/schema.json +111 -0
- package/entities/OptionGroup/action.json +106 -0
- package/entities/OptionGroup/schema.json +111 -0
- package/entities/OptionSpace/action.json +106 -0
- package/entities/OptionSpace/schema.json +111 -0
- package/entities/Range/action.json +147 -0
- package/entities/Range/schema.json +113 -0
- package/entities/Server/action.json +106 -0
- package/entities/Server/schema.json +111 -0
- package/entities/Service/action.json +46 -0
- package/entities/Service/schema.json +108 -0
- package/entities/Subnet/action.json +188 -0
- package/entities/Subnet/schema.json +137 -0
- package/error.json +190 -0
- package/metadata.json +61 -0
- package/package.json +75 -0
- package/pronghorn.json +8232 -0
- package/propertiesDecorators.json +18 -0
- package/propertiesSchema.json +1727 -0
- package/report/adapterInfo.json +10 -0
- package/report/auto-adapter-openapi.json +6163 -0
- package/report/creationReport.json +1150 -0
- package/report/universal_ddi_v1.json +10288 -0
- package/sampleProperties.json +260 -0
- package/test/integration/adapterTestBasicGet.js +117 -0
- package/test/integration/adapterTestConnectivity.js +117 -0
- package/test/integration/adapterTestIntegration.js +3484 -0
- package/test/unit/adapterBaseTestUnit.js +1628 -0
- package/test/unit/adapterTestUnit.js +4871 -0
- package/utils/adapterInfo.js +156 -0
- package/utils/argParser.js +44 -0
- package/utils/checkMigrate.js +102 -0
- package/utils/entitiesToDB.js +190 -0
- package/utils/findPath.js +74 -0
- package/utils/logger.js +26 -0
- package/utils/methodDocumentor.js +273 -0
- package/utils/modify.js +153 -0
- package/utils/mongoDbConnection.js +79 -0
- package/utils/mongoUtils.js +162 -0
- package/utils/pre-commit.sh +32 -0
- package/utils/removeHooks.js +20 -0
- package/utils/setup.js +33 -0
- package/utils/taskMover.js +308 -0
- package/utils/tbScript.js +103 -0
- package/utils/tbUtils.js +347 -0
- package/utils/testRunner.js +298 -0
- package/utils/troubleshootingAdapter.js +177 -0
- package/utils/updateAdapterConfig.js +158 -0
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "addressBlockList",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/ipam/address_block?{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": "addressBlockCreate",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "POST",
|
|
28
|
+
"entitypath": "{base_path}/{version}/ipam/address_block?{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": "addressBlockRead",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "GET",
|
|
48
|
+
"entitypath": "{base_path}/{version}/ipam/address_block/{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": "addressBlockDelete",
|
|
67
|
+
"protocol": "REST",
|
|
68
|
+
"method": "DELETE",
|
|
69
|
+
"entitypath": "{base_path}/{version}/ipam/address_block/{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": "addressBlockUpdate",
|
|
87
|
+
"protocol": "REST",
|
|
88
|
+
"method": "PATCH",
|
|
89
|
+
"entitypath": "{base_path}/{version}/ipam/address_block/{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": "addressBlockListAncestor",
|
|
107
|
+
"protocol": "REST",
|
|
108
|
+
"method": "GET",
|
|
109
|
+
"entitypath": "{base_path}/{version}/ipam/address_block/{pathv1}/ancestor?{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": "addressBlockCopy",
|
|
128
|
+
"protocol": "REST",
|
|
129
|
+
"method": "POST",
|
|
130
|
+
"entitypath": "{base_path}/{version}/ipam/address_block/{pathv1}/copy?{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": "addressBlockListNextAvailableAB",
|
|
148
|
+
"protocol": "REST",
|
|
149
|
+
"method": "GET",
|
|
150
|
+
"entitypath": "{base_path}/{version}/ipam/address_block/{pathv1}/nextavailableaddressblock?{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": "addressBlockCreateNextAvailableAB",
|
|
169
|
+
"protocol": "REST",
|
|
170
|
+
"method": "POST",
|
|
171
|
+
"entitypath": "{base_path}/{version}/ipam/address_block/{pathv1}/nextavailableaddressblock?{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": "addressBlockListNextAvailableIP",
|
|
189
|
+
"protocol": "REST",
|
|
190
|
+
"method": "GET",
|
|
191
|
+
"entitypath": "{base_path}/{version}/ipam/address_block/{pathv1}/nextavailableip?{query}",
|
|
192
|
+
"requestSchema": "schema.json",
|
|
193
|
+
"responseSchema": "schema.json",
|
|
194
|
+
"timeout": 0,
|
|
195
|
+
"sendEmpty": false,
|
|
196
|
+
"sendGetBody": false,
|
|
197
|
+
"requestDatatype": "JSON",
|
|
198
|
+
"responseDatatype": "JSON",
|
|
199
|
+
"headers": {},
|
|
200
|
+
"responseObjects": [
|
|
201
|
+
{
|
|
202
|
+
"type": "default",
|
|
203
|
+
"key": "",
|
|
204
|
+
"mockFile": ""
|
|
205
|
+
}
|
|
206
|
+
]
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "addressBlockCreateNextAvailableIP",
|
|
210
|
+
"protocol": "REST",
|
|
211
|
+
"method": "POST",
|
|
212
|
+
"entitypath": "{base_path}/{version}/ipam/address_block/{pathv1}/nextavailableip?{query}",
|
|
213
|
+
"requestSchema": "schema.json",
|
|
214
|
+
"responseSchema": "schema.json",
|
|
215
|
+
"timeout": 0,
|
|
216
|
+
"sendEmpty": 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": "addressBlockListNextAvailableSubnet",
|
|
230
|
+
"protocol": "REST",
|
|
231
|
+
"method": "GET",
|
|
232
|
+
"entitypath": "{base_path}/{version}/ipam/address_block/{pathv1}/nextavailablesubnet?{query}",
|
|
233
|
+
"requestSchema": "schema.json",
|
|
234
|
+
"responseSchema": "schema.json",
|
|
235
|
+
"timeout": 0,
|
|
236
|
+
"sendEmpty": false,
|
|
237
|
+
"sendGetBody": false,
|
|
238
|
+
"requestDatatype": "JSON",
|
|
239
|
+
"responseDatatype": "JSON",
|
|
240
|
+
"headers": {},
|
|
241
|
+
"responseObjects": [
|
|
242
|
+
{
|
|
243
|
+
"type": "default",
|
|
244
|
+
"key": "",
|
|
245
|
+
"mockFile": ""
|
|
246
|
+
}
|
|
247
|
+
]
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"name": "addressBlockCreateNextAvailableSubnet",
|
|
251
|
+
"protocol": "REST",
|
|
252
|
+
"method": "POST",
|
|
253
|
+
"entitypath": "{base_path}/{version}/ipam/address_block/{pathv1}/nextavailablesubnet?{query}",
|
|
254
|
+
"requestSchema": "schema.json",
|
|
255
|
+
"responseSchema": "schema.json",
|
|
256
|
+
"timeout": 0,
|
|
257
|
+
"sendEmpty": false,
|
|
258
|
+
"requestDatatype": "JSON",
|
|
259
|
+
"responseDatatype": "JSON",
|
|
260
|
+
"headers": {},
|
|
261
|
+
"responseObjects": [
|
|
262
|
+
{
|
|
263
|
+
"type": "default",
|
|
264
|
+
"key": "",
|
|
265
|
+
"mockFile": ""
|
|
266
|
+
}
|
|
267
|
+
]
|
|
268
|
+
}
|
|
269
|
+
]
|
|
270
|
+
}
|
|
@@ -0,0 +1,163 @@
|
|
|
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": "addressBlockList",
|
|
12
|
+
"enum": [
|
|
13
|
+
"addressBlockList",
|
|
14
|
+
"addressBlockCreate",
|
|
15
|
+
"addressBlockRead",
|
|
16
|
+
"addressBlockDelete",
|
|
17
|
+
"addressBlockUpdate",
|
|
18
|
+
"addressBlockListAncestor",
|
|
19
|
+
"addressBlockCopy",
|
|
20
|
+
"addressBlockListNextAvailableAB",
|
|
21
|
+
"addressBlockCreateNextAvailableAB",
|
|
22
|
+
"addressBlockListNextAvailableIP",
|
|
23
|
+
"addressBlockCreateNextAvailableIP",
|
|
24
|
+
"addressBlockListNextAvailableSubnet",
|
|
25
|
+
"addressBlockCreateNextAvailableSubnet"
|
|
26
|
+
],
|
|
27
|
+
"external_name": "ph_request_type"
|
|
28
|
+
},
|
|
29
|
+
"fields": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"description": "A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field ...(description truncated)",
|
|
32
|
+
"parse": false,
|
|
33
|
+
"encode": false,
|
|
34
|
+
"encrypt": {
|
|
35
|
+
"type": "AES",
|
|
36
|
+
"key": ""
|
|
37
|
+
},
|
|
38
|
+
"external_name": "_fields"
|
|
39
|
+
},
|
|
40
|
+
"filter": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"description": "A collection of response resources can be filtered by a logical expression string that includes JSON tag references to values in each resource, literal values, and logi...(description truncated)",
|
|
43
|
+
"parse": false,
|
|
44
|
+
"encode": false,
|
|
45
|
+
"encrypt": {
|
|
46
|
+
"type": "AES",
|
|
47
|
+
"key": ""
|
|
48
|
+
},
|
|
49
|
+
"external_name": "_filter"
|
|
50
|
+
},
|
|
51
|
+
"offset": {
|
|
52
|
+
"type": "number",
|
|
53
|
+
"description": "The integer index (zero-origin) of the offset into a collection of resources. If omitted or null the value is assumed to be '0'.",
|
|
54
|
+
"parse": false,
|
|
55
|
+
"encode": false,
|
|
56
|
+
"encrypt": {
|
|
57
|
+
"type": "AES",
|
|
58
|
+
"key": ""
|
|
59
|
+
},
|
|
60
|
+
"external_name": "_offset"
|
|
61
|
+
},
|
|
62
|
+
"limit": {
|
|
63
|
+
"type": "number",
|
|
64
|
+
"description": "The integer number of resources to be returned in the response. The service may impose maximum value. If omitted the service may impose a default value.",
|
|
65
|
+
"parse": false,
|
|
66
|
+
"encode": false,
|
|
67
|
+
"encrypt": {
|
|
68
|
+
"type": "AES",
|
|
69
|
+
"key": ""
|
|
70
|
+
},
|
|
71
|
+
"external_name": "_limit"
|
|
72
|
+
},
|
|
73
|
+
"pageToken": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"description": "The service-defined string used to identify a page of resources. A null value indicates the first page.",
|
|
76
|
+
"parse": false,
|
|
77
|
+
"encode": false,
|
|
78
|
+
"encrypt": {
|
|
79
|
+
"type": "AES",
|
|
80
|
+
"key": ""
|
|
81
|
+
},
|
|
82
|
+
"external_name": "_page_token"
|
|
83
|
+
},
|
|
84
|
+
"orderBy": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"description": "A collection of response resources can be sorted by their JSON tags. For a 'flat' resource, the tag name is straightforward. If sorting is allowed on non-flat hierarchi...(description truncated)",
|
|
87
|
+
"parse": false,
|
|
88
|
+
"encode": false,
|
|
89
|
+
"encrypt": {
|
|
90
|
+
"type": "AES",
|
|
91
|
+
"key": ""
|
|
92
|
+
},
|
|
93
|
+
"external_name": "_order_by"
|
|
94
|
+
},
|
|
95
|
+
"torderBy": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"description": "This parameter is used for sorting by tags.",
|
|
98
|
+
"parse": false,
|
|
99
|
+
"encode": false,
|
|
100
|
+
"encrypt": {
|
|
101
|
+
"type": "AES",
|
|
102
|
+
"key": ""
|
|
103
|
+
},
|
|
104
|
+
"external_name": "_torder_by"
|
|
105
|
+
},
|
|
106
|
+
"tfilter": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"description": "This parameter is used for filtering by tags.",
|
|
109
|
+
"parse": false,
|
|
110
|
+
"encode": false,
|
|
111
|
+
"encrypt": {
|
|
112
|
+
"type": "AES",
|
|
113
|
+
"key": ""
|
|
114
|
+
},
|
|
115
|
+
"external_name": "_tfilter"
|
|
116
|
+
},
|
|
117
|
+
"federatedRealm": {
|
|
118
|
+
"type": "string",
|
|
119
|
+
"description": "This parameter is used for filtering by realm.",
|
|
120
|
+
"parse": false,
|
|
121
|
+
"encode": false,
|
|
122
|
+
"encrypt": {
|
|
123
|
+
"type": "AES",
|
|
124
|
+
"key": ""
|
|
125
|
+
},
|
|
126
|
+
"external_name": "federated_realm"
|
|
127
|
+
},
|
|
128
|
+
"federatedRealms": {
|
|
129
|
+
"type": "array",
|
|
130
|
+
"description": "federated realms for searching next available subnets.",
|
|
131
|
+
"parse": false,
|
|
132
|
+
"encode": false,
|
|
133
|
+
"encrypt": {
|
|
134
|
+
"type": "AES",
|
|
135
|
+
"key": ""
|
|
136
|
+
},
|
|
137
|
+
"external_name": "federated_realms"
|
|
138
|
+
},
|
|
139
|
+
"compartmentId": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"description": "The access view id of the address blocks to be created.",
|
|
142
|
+
"parse": false,
|
|
143
|
+
"encode": false,
|
|
144
|
+
"encrypt": {
|
|
145
|
+
"type": "AES",
|
|
146
|
+
"key": ""
|
|
147
|
+
},
|
|
148
|
+
"external_name": "compartment_id"
|
|
149
|
+
},
|
|
150
|
+
"dhcpHost": {
|
|
151
|
+
"type": "string",
|
|
152
|
+
"description": "Reference of OnPrem Host associated with the next available subnets to be created.",
|
|
153
|
+
"parse": false,
|
|
154
|
+
"encode": false,
|
|
155
|
+
"encrypt": {
|
|
156
|
+
"type": "AES",
|
|
157
|
+
"key": ""
|
|
158
|
+
},
|
|
159
|
+
"external_name": "dhcp_host"
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"definitions": {}
|
|
163
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "asmList",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/ipam/asm?{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": "asmCreate",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "POST",
|
|
28
|
+
"entitypath": "{base_path}/{version}/ipam/asm?{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": "asmRead",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "GET",
|
|
48
|
+
"entitypath": "{base_path}/{version}/ipam/asm/{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
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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": "asmList",
|
|
12
|
+
"enum": [
|
|
13
|
+
"asmList",
|
|
14
|
+
"asmCreate",
|
|
15
|
+
"asmRead"
|
|
16
|
+
],
|
|
17
|
+
"external_name": "ph_request_type"
|
|
18
|
+
},
|
|
19
|
+
"fields": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"description": "A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field ...(description truncated)",
|
|
22
|
+
"parse": false,
|
|
23
|
+
"encode": false,
|
|
24
|
+
"encrypt": {
|
|
25
|
+
"type": "AES",
|
|
26
|
+
"key": ""
|
|
27
|
+
},
|
|
28
|
+
"external_name": "_fields"
|
|
29
|
+
},
|
|
30
|
+
"subnetId": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"description": "",
|
|
33
|
+
"parse": false,
|
|
34
|
+
"encode": false,
|
|
35
|
+
"encrypt": {
|
|
36
|
+
"type": "AES",
|
|
37
|
+
"key": ""
|
|
38
|
+
},
|
|
39
|
+
"external_name": "subnet_id"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"definitions": {}
|
|
43
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "configProfileDisassociateObjectFromConfigProfiles",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/{version}/dhcp/config_profile/delink_object?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"requestDatatype": "JSON",
|
|
13
|
+
"responseDatatype": "JSON",
|
|
14
|
+
"headers": {},
|
|
15
|
+
"responseObjects": [
|
|
16
|
+
{
|
|
17
|
+
"type": "default",
|
|
18
|
+
"key": "",
|
|
19
|
+
"mockFile": ""
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "configProfileDisassociateConfigProfileFromObjects",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "POST",
|
|
27
|
+
"entitypath": "{base_path}/{version}/dhcp/config_profile/delink_profile?{query}",
|
|
28
|
+
"requestSchema": "schema.json",
|
|
29
|
+
"responseSchema": "schema.json",
|
|
30
|
+
"timeout": 0,
|
|
31
|
+
"sendEmpty": false,
|
|
32
|
+
"requestDatatype": "JSON",
|
|
33
|
+
"responseDatatype": "JSON",
|
|
34
|
+
"headers": {},
|
|
35
|
+
"responseObjects": [
|
|
36
|
+
{
|
|
37
|
+
"type": "default",
|
|
38
|
+
"key": "",
|
|
39
|
+
"mockFile": ""
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "configProfileAssociateObjectToConfigProfiles",
|
|
45
|
+
"protocol": "REST",
|
|
46
|
+
"method": "POST",
|
|
47
|
+
"entitypath": "{base_path}/{version}/dhcp/config_profile/link_object?{query}",
|
|
48
|
+
"requestSchema": "schema.json",
|
|
49
|
+
"responseSchema": "schema.json",
|
|
50
|
+
"timeout": 0,
|
|
51
|
+
"sendEmpty": false,
|
|
52
|
+
"requestDatatype": "JSON",
|
|
53
|
+
"responseDatatype": "JSON",
|
|
54
|
+
"headers": {},
|
|
55
|
+
"responseObjects": [
|
|
56
|
+
{
|
|
57
|
+
"type": "default",
|
|
58
|
+
"key": "",
|
|
59
|
+
"mockFile": ""
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "configProfileAssociateConfigProfileToObjects",
|
|
65
|
+
"protocol": "REST",
|
|
66
|
+
"method": "POST",
|
|
67
|
+
"entitypath": "{base_path}/{version}/dhcp/config_profile/link_profile?{query}",
|
|
68
|
+
"requestSchema": "schema.json",
|
|
69
|
+
"responseSchema": "schema.json",
|
|
70
|
+
"timeout": 0,
|
|
71
|
+
"sendEmpty": false,
|
|
72
|
+
"requestDatatype": "JSON",
|
|
73
|
+
"responseDatatype": "JSON",
|
|
74
|
+
"headers": {},
|
|
75
|
+
"responseObjects": [
|
|
76
|
+
{
|
|
77
|
+
"type": "default",
|
|
78
|
+
"key": "",
|
|
79
|
+
"mockFile": ""
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "configProfileListConfigProfiles",
|
|
85
|
+
"protocol": "REST",
|
|
86
|
+
"method": "GET",
|
|
87
|
+
"entitypath": "{base_path}/{version}/dhcp/config_profile/profiles?{query}",
|
|
88
|
+
"requestSchema": "schema.json",
|
|
89
|
+
"responseSchema": "schema.json",
|
|
90
|
+
"timeout": 0,
|
|
91
|
+
"sendEmpty": false,
|
|
92
|
+
"sendGetBody": false,
|
|
93
|
+
"requestDatatype": "JSON",
|
|
94
|
+
"responseDatatype": "JSON",
|
|
95
|
+
"headers": {},
|
|
96
|
+
"responseObjects": [
|
|
97
|
+
{
|
|
98
|
+
"type": "default",
|
|
99
|
+
"key": "",
|
|
100
|
+
"mockFile": ""
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "configProfileListSubnets",
|
|
106
|
+
"protocol": "REST",
|
|
107
|
+
"method": "GET",
|
|
108
|
+
"entitypath": "{base_path}/{version}/dhcp/config_profile/subnets?{query}",
|
|
109
|
+
"requestSchema": "schema.json",
|
|
110
|
+
"responseSchema": "schema.json",
|
|
111
|
+
"timeout": 0,
|
|
112
|
+
"sendEmpty": false,
|
|
113
|
+
"sendGetBody": false,
|
|
114
|
+
"requestDatatype": "JSON",
|
|
115
|
+
"responseDatatype": "JSON",
|
|
116
|
+
"headers": {},
|
|
117
|
+
"responseObjects": [
|
|
118
|
+
{
|
|
119
|
+
"type": "default",
|
|
120
|
+
"key": "",
|
|
121
|
+
"mockFile": ""
|
|
122
|
+
}
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
}
|