@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,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "fixedAddressList",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/dhcp/fixed_address?{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": "fixedAddressCreate",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "POST",
|
|
28
|
+
"entitypath": "{base_path}/{version}/dhcp/fixed_address?{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": "fixedAddressRead",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "GET",
|
|
48
|
+
"entitypath": "{base_path}/{version}/dhcp/fixed_address/{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": "fixedAddressDelete",
|
|
67
|
+
"protocol": "REST",
|
|
68
|
+
"method": "DELETE",
|
|
69
|
+
"entitypath": "{base_path}/{version}/dhcp/fixed_address/{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": "fixedAddressUpdate",
|
|
87
|
+
"protocol": "REST",
|
|
88
|
+
"method": "PATCH",
|
|
89
|
+
"entitypath": "{base_path}/{version}/dhcp/fixed_address/{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
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
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": "fixedAddressList",
|
|
12
|
+
"enum": [
|
|
13
|
+
"fixedAddressList",
|
|
14
|
+
"fixedAddressCreate",
|
|
15
|
+
"fixedAddressRead",
|
|
16
|
+
"fixedAddressDelete",
|
|
17
|
+
"fixedAddressUpdate"
|
|
18
|
+
],
|
|
19
|
+
"external_name": "ph_request_type"
|
|
20
|
+
},
|
|
21
|
+
"filter": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"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)",
|
|
24
|
+
"parse": false,
|
|
25
|
+
"encode": false,
|
|
26
|
+
"encrypt": {
|
|
27
|
+
"type": "AES",
|
|
28
|
+
"key": ""
|
|
29
|
+
},
|
|
30
|
+
"external_name": "_filter"
|
|
31
|
+
},
|
|
32
|
+
"orderBy": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"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)",
|
|
35
|
+
"parse": false,
|
|
36
|
+
"encode": false,
|
|
37
|
+
"encrypt": {
|
|
38
|
+
"type": "AES",
|
|
39
|
+
"key": ""
|
|
40
|
+
},
|
|
41
|
+
"external_name": "_order_by"
|
|
42
|
+
},
|
|
43
|
+
"fields": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"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)",
|
|
46
|
+
"parse": false,
|
|
47
|
+
"encode": false,
|
|
48
|
+
"encrypt": {
|
|
49
|
+
"type": "AES",
|
|
50
|
+
"key": ""
|
|
51
|
+
},
|
|
52
|
+
"external_name": "_fields"
|
|
53
|
+
},
|
|
54
|
+
"offset": {
|
|
55
|
+
"type": "number",
|
|
56
|
+
"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'.",
|
|
57
|
+
"parse": false,
|
|
58
|
+
"encode": false,
|
|
59
|
+
"encrypt": {
|
|
60
|
+
"type": "AES",
|
|
61
|
+
"key": ""
|
|
62
|
+
},
|
|
63
|
+
"external_name": "_offset"
|
|
64
|
+
},
|
|
65
|
+
"limit": {
|
|
66
|
+
"type": "number",
|
|
67
|
+
"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.",
|
|
68
|
+
"parse": false,
|
|
69
|
+
"encode": false,
|
|
70
|
+
"encrypt": {
|
|
71
|
+
"type": "AES",
|
|
72
|
+
"key": ""
|
|
73
|
+
},
|
|
74
|
+
"external_name": "_limit"
|
|
75
|
+
},
|
|
76
|
+
"pageToken": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"description": "The service-defined string used to identify a page of resources. A null value indicates the first page.",
|
|
79
|
+
"parse": false,
|
|
80
|
+
"encode": false,
|
|
81
|
+
"encrypt": {
|
|
82
|
+
"type": "AES",
|
|
83
|
+
"key": ""
|
|
84
|
+
},
|
|
85
|
+
"external_name": "_page_token"
|
|
86
|
+
},
|
|
87
|
+
"torderBy": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"description": "This parameter is used for sorting by tags.",
|
|
90
|
+
"parse": false,
|
|
91
|
+
"encode": false,
|
|
92
|
+
"encrypt": {
|
|
93
|
+
"type": "AES",
|
|
94
|
+
"key": ""
|
|
95
|
+
},
|
|
96
|
+
"external_name": "_torder_by"
|
|
97
|
+
},
|
|
98
|
+
"tfilter": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"description": "This parameter is used for filtering by tags.",
|
|
101
|
+
"parse": false,
|
|
102
|
+
"encode": false,
|
|
103
|
+
"encrypt": {
|
|
104
|
+
"type": "AES",
|
|
105
|
+
"key": ""
|
|
106
|
+
},
|
|
107
|
+
"external_name": "_tfilter"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"definitions": {}
|
|
111
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "globalRead",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/dhcp/global?{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": "globalUpdate",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "PATCH",
|
|
28
|
+
"entitypath": "{base_path}/{version}/dhcp/global?{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": "globalRead2",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "GET",
|
|
48
|
+
"entitypath": "{base_path}/{version}/dhcp/global/{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": "globalUpdate2",
|
|
67
|
+
"protocol": "REST",
|
|
68
|
+
"method": "PATCH",
|
|
69
|
+
"entitypath": "{base_path}/{version}/dhcp/global/{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
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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": "globalRead",
|
|
12
|
+
"enum": [
|
|
13
|
+
"globalRead",
|
|
14
|
+
"globalUpdate",
|
|
15
|
+
"globalRead2",
|
|
16
|
+
"globalUpdate2"
|
|
17
|
+
],
|
|
18
|
+
"external_name": "ph_request_type"
|
|
19
|
+
},
|
|
20
|
+
"fields": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"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)",
|
|
23
|
+
"parse": false,
|
|
24
|
+
"encode": false,
|
|
25
|
+
"encrypt": {
|
|
26
|
+
"type": "AES",
|
|
27
|
+
"key": ""
|
|
28
|
+
},
|
|
29
|
+
"external_name": "_fields"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"definitions": {}
|
|
33
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "haGroupList",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/dhcp/ha_group?{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": "haGroupCreate",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "POST",
|
|
28
|
+
"entitypath": "{base_path}/{version}/dhcp/ha_group?{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": "haGroupRead",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "GET",
|
|
48
|
+
"entitypath": "{base_path}/{version}/dhcp/ha_group/{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": "haGroupDelete",
|
|
67
|
+
"protocol": "REST",
|
|
68
|
+
"method": "DELETE",
|
|
69
|
+
"entitypath": "{base_path}/{version}/dhcp/ha_group/{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": "haGroupUpdate",
|
|
87
|
+
"protocol": "REST",
|
|
88
|
+
"method": "PATCH",
|
|
89
|
+
"entitypath": "{base_path}/{version}/dhcp/ha_group/{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
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
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": "haGroupList",
|
|
12
|
+
"enum": [
|
|
13
|
+
"haGroupList",
|
|
14
|
+
"haGroupCreate",
|
|
15
|
+
"haGroupRead",
|
|
16
|
+
"haGroupDelete",
|
|
17
|
+
"haGroupUpdate"
|
|
18
|
+
],
|
|
19
|
+
"external_name": "ph_request_type"
|
|
20
|
+
},
|
|
21
|
+
"filter": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"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)",
|
|
24
|
+
"parse": false,
|
|
25
|
+
"encode": false,
|
|
26
|
+
"encrypt": {
|
|
27
|
+
"type": "AES",
|
|
28
|
+
"key": ""
|
|
29
|
+
},
|
|
30
|
+
"external_name": "_filter"
|
|
31
|
+
},
|
|
32
|
+
"orderBy": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"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)",
|
|
35
|
+
"parse": false,
|
|
36
|
+
"encode": false,
|
|
37
|
+
"encrypt": {
|
|
38
|
+
"type": "AES",
|
|
39
|
+
"key": ""
|
|
40
|
+
},
|
|
41
|
+
"external_name": "_order_by"
|
|
42
|
+
},
|
|
43
|
+
"fields": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"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)",
|
|
46
|
+
"parse": false,
|
|
47
|
+
"encode": false,
|
|
48
|
+
"encrypt": {
|
|
49
|
+
"type": "AES",
|
|
50
|
+
"key": ""
|
|
51
|
+
},
|
|
52
|
+
"external_name": "_fields"
|
|
53
|
+
},
|
|
54
|
+
"offset": {
|
|
55
|
+
"type": "number",
|
|
56
|
+
"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'.",
|
|
57
|
+
"parse": false,
|
|
58
|
+
"encode": false,
|
|
59
|
+
"encrypt": {
|
|
60
|
+
"type": "AES",
|
|
61
|
+
"key": ""
|
|
62
|
+
},
|
|
63
|
+
"external_name": "_offset"
|
|
64
|
+
},
|
|
65
|
+
"limit": {
|
|
66
|
+
"type": "number",
|
|
67
|
+
"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.",
|
|
68
|
+
"parse": false,
|
|
69
|
+
"encode": false,
|
|
70
|
+
"encrypt": {
|
|
71
|
+
"type": "AES",
|
|
72
|
+
"key": ""
|
|
73
|
+
},
|
|
74
|
+
"external_name": "_limit"
|
|
75
|
+
},
|
|
76
|
+
"pageToken": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"description": "The service-defined string used to identify a page of resources. A null value indicates the first page.",
|
|
79
|
+
"parse": false,
|
|
80
|
+
"encode": false,
|
|
81
|
+
"encrypt": {
|
|
82
|
+
"type": "AES",
|
|
83
|
+
"key": ""
|
|
84
|
+
},
|
|
85
|
+
"external_name": "_page_token"
|
|
86
|
+
},
|
|
87
|
+
"torderBy": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"description": "This parameter is used for sorting by tags.",
|
|
90
|
+
"parse": false,
|
|
91
|
+
"encode": false,
|
|
92
|
+
"encrypt": {
|
|
93
|
+
"type": "AES",
|
|
94
|
+
"key": ""
|
|
95
|
+
},
|
|
96
|
+
"external_name": "_torder_by"
|
|
97
|
+
},
|
|
98
|
+
"tfilter": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"description": "This parameter is used for filtering by tags.",
|
|
101
|
+
"parse": false,
|
|
102
|
+
"encode": false,
|
|
103
|
+
"encrypt": {
|
|
104
|
+
"type": "AES",
|
|
105
|
+
"key": ""
|
|
106
|
+
},
|
|
107
|
+
"external_name": "_tfilter"
|
|
108
|
+
},
|
|
109
|
+
"collectStats": {
|
|
110
|
+
"type": "boolean",
|
|
111
|
+
"description": "collect_stats gets the HA group stats(state, status, heartbeat) if set to _true_ in the _GET_ _/dhcp/ha_group_ request.",
|
|
112
|
+
"parse": false,
|
|
113
|
+
"encode": false,
|
|
114
|
+
"encrypt": {
|
|
115
|
+
"type": "AES",
|
|
116
|
+
"key": ""
|
|
117
|
+
},
|
|
118
|
+
"external_name": "collect_stats"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"definitions": {}
|
|
122
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "hardwareFilterList",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/dhcp/hardware_filter?{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": "hardwareFilterCreate",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "POST",
|
|
28
|
+
"entitypath": "{base_path}/{version}/dhcp/hardware_filter?{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": "hardwareFilterRead",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "GET",
|
|
48
|
+
"entitypath": "{base_path}/{version}/dhcp/hardware_filter/{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": "hardwareFilterDelete",
|
|
67
|
+
"protocol": "REST",
|
|
68
|
+
"method": "DELETE",
|
|
69
|
+
"entitypath": "{base_path}/{version}/dhcp/hardware_filter/{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": "hardwareFilterUpdate",
|
|
87
|
+
"protocol": "REST",
|
|
88
|
+
"method": "PATCH",
|
|
89
|
+
"entitypath": "{base_path}/{version}/dhcp/hardware_filter/{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
|
+
}
|