@itentialopensource/adapter-checkpoint_gaia 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 +6 -0
- package/.eslintrc.js +18 -0
- package/.gitlab/.gitkeep +0 -0
- package/.gitlab/issue_templates/.gitkeep +0 -0
- package/.gitlab/issue_templates/Default.md +17 -0
- package/.gitlab/issue_templates/bugReportTemplate.md +76 -0
- package/.gitlab/issue_templates/featureRequestTemplate.md +14 -0
- package/.jshintrc +0 -0
- package/AUTH.md +38 -0
- package/BROKER.md +199 -0
- package/CALLS.md +1112 -0
- package/CHANGELOG.md +9 -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 +641 -0
- package/README.md +346 -0
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +11 -0
- package/TAB1.md +5 -0
- package/TAB2.md +2333 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +16218 -0
- package/adapterBase.js +1452 -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/01SessionManagement/action.json +64 -0
- package/entities/01SessionManagement/schema.json +21 -0
- package/entities/04Interfaces/action.json +64 -0
- package/entities/04Interfaces/schema.json +21 -0
- package/entities/06AllowedClients/action.json +44 -0
- package/entities/06AllowedClients/schema.json +20 -0
- package/entities/08System/action.json +144 -0
- package/entities/08System/schema.json +25 -0
- package/entities/10Snmp/action.json +44 -0
- package/entities/10Snmp/schema.json +20 -0
- package/entities/11Cluster/action.json +24 -0
- package/entities/11Cluster/schema.json +19 -0
- package/entities/13Files/action.json +24 -0
- package/entities/13Files/schema.json +19 -0
- package/entities/14Misc/action.json +44 -0
- package/entities/14Misc/schema.json +20 -0
- package/entities/15Licensing/action.json +64 -0
- package/entities/15Licensing/schema.json +21 -0
- package/entities/AliasInterface/action.json +84 -0
- package/entities/AliasInterface/schema.json +22 -0
- package/entities/BondInterfaces/action.json +104 -0
- package/entities/BondInterfaces/schema.json +23 -0
- package/entities/BridgeInterface/action.json +104 -0
- package/entities/BridgeInterface/schema.json +23 -0
- package/entities/CustomIntelligenceFeeds/action.json +144 -0
- package/entities/CustomIntelligenceFeeds/schema.json +25 -0
- package/entities/CustomTrap/action.json +104 -0
- package/entities/CustomTrap/schema.json +23 -0
- package/entities/DHCP/action.json +44 -0
- package/entities/DHCP/schema.json +20 -0
- package/entities/DNS/action.json +44 -0
- package/entities/DNS/schema.json +20 -0
- package/entities/DateAndTime/action.json +104 -0
- package/entities/DateAndTime/schema.json +23 -0
- package/entities/GREInterfaces/action.json +104 -0
- package/entities/GREInterfaces/schema.json +23 -0
- package/entities/Groups/action.json +104 -0
- package/entities/Groups/schema.json +23 -0
- package/entities/Hostname/action.json +44 -0
- package/entities/Hostname/schema.json +20 -0
- package/entities/IPv6/action.json +44 -0
- package/entities/IPv6/schema.json +20 -0
- package/entities/LoopbackInterfaces/action.json +104 -0
- package/entities/LoopbackInterfaces/schema.json +23 -0
- package/entities/Messages/action.json +124 -0
- package/entities/Messages/schema.json +24 -0
- package/entities/PhysicalInterfaces/action.json +64 -0
- package/entities/PhysicalInterfaces/schema.json +21 -0
- package/entities/PolicyBasedRouting/action.json +184 -0
- package/entities/PolicyBasedRouting/schema.json +27 -0
- package/entities/PreDefinedTrap/action.json +44 -0
- package/entities/PreDefinedTrap/schema.json +20 -0
- package/entities/Proxy/action.json +64 -0
- package/entities/Proxy/schema.json +21 -0
- package/entities/Radius/action.json +44 -0
- package/entities/Radius/schema.json +20 -0
- package/entities/Routes/action.json +164 -0
- package/entities/Routes/schema.json +26 -0
- package/entities/ScheduledBackups/action.json +104 -0
- package/entities/ScheduledBackups/schema.json +23 -0
- package/entities/ScheduledSnapshots/action.json +44 -0
- package/entities/ScheduledSnapshots/schema.json +20 -0
- package/entities/StaticRoutes/action.json +104 -0
- package/entities/StaticRoutes/schema.json +23 -0
- package/entities/Syslog/action.json +144 -0
- package/entities/Syslog/schema.json +25 -0
- package/entities/Tacacs/action.json +44 -0
- package/entities/Tacacs/schema.json +20 -0
- package/entities/TrapReceiver/action.json +104 -0
- package/entities/TrapReceiver/schema.json +23 -0
- package/entities/USM/action.json +104 -0
- package/entities/USM/schema.json +23 -0
- package/entities/Users/action.json +104 -0
- package/entities/Users/schema.json +23 -0
- package/entities/VlanInterface/action.json +104 -0
- package/entities/VlanInterface/schema.json +23 -0
- package/entities/VxlanInterface/action.json +104 -0
- package/entities/VxlanInterface/schema.json +23 -0
- package/error.json +190 -0
- package/metadata.json +53 -0
- package/package.json +83 -0
- package/pronghorn.json +7737 -0
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +1569 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/GAIA API-1.6.postman_collection.json-OpenApi3Json.json +12507 -0
- package/report/adapterInfo.json +10 -0
- package/report/creationReport.json +1565 -0
- package/sampleProperties.json +256 -0
- package/test/integration/adapterTestBasicGet.js +83 -0
- package/test/integration/adapterTestConnectivity.js +142 -0
- package/test/integration/adapterTestIntegration.js +5145 -0
- package/test/unit/adapterBaseTestUnit.js +1024 -0
- package/test/unit/adapterTestUnit.js +6055 -0
- package/utils/adapterInfo.js +206 -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 +179 -0
- package/utils/findPath.js +74 -0
- package/utils/methodDocumentor.js +273 -0
- package/utils/modify.js +152 -0
- package/utils/packModificationScript.js +35 -0
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/pre-commit.sh +32 -0
- package/utils/removeHooks.js +20 -0
- package/utils/setup.js +33 -0
- package/utils/taskMover.js +309 -0
- package/utils/tbScript.js +239 -0
- package/utils/tbUtils.js +489 -0
- package/utils/testRunner.js +298 -0
- package/utils/troubleshootingAdapter.js +193 -0
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "sethostnameonloginpage",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/{version}/v1.6/set-hostname-on-login-page?{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": "setbanner",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "POST",
|
|
27
|
+
"entitypath": "{base_path}/{version}/v1.6/set-banner?{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": "setmessageoftheday",
|
|
45
|
+
"protocol": "REST",
|
|
46
|
+
"method": "POST",
|
|
47
|
+
"entitypath": "{base_path}/{version}/v1.6/set-message-of-the-day?{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": "showbanner",
|
|
65
|
+
"protocol": "REST",
|
|
66
|
+
"method": "POST",
|
|
67
|
+
"entitypath": "{base_path}/{version}/v1.6/show-banner?{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": "showmessageoftheday",
|
|
85
|
+
"protocol": "REST",
|
|
86
|
+
"method": "POST",
|
|
87
|
+
"entitypath": "{base_path}/{version}/v1.6/show-message-of-the-day?{query}",
|
|
88
|
+
"requestSchema": "schema.json",
|
|
89
|
+
"responseSchema": "schema.json",
|
|
90
|
+
"timeout": 0,
|
|
91
|
+
"sendEmpty": false,
|
|
92
|
+
"requestDatatype": "JSON",
|
|
93
|
+
"responseDatatype": "JSON",
|
|
94
|
+
"headers": {},
|
|
95
|
+
"responseObjects": [
|
|
96
|
+
{
|
|
97
|
+
"type": "default",
|
|
98
|
+
"key": "",
|
|
99
|
+
"mockFile": ""
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "showhostnameonloginpage",
|
|
105
|
+
"protocol": "REST",
|
|
106
|
+
"method": "POST",
|
|
107
|
+
"entitypath": "{base_path}/{version}/v1.6/show-hostname-on-login-page?{query}",
|
|
108
|
+
"requestSchema": "schema.json",
|
|
109
|
+
"responseSchema": "schema.json",
|
|
110
|
+
"timeout": 0,
|
|
111
|
+
"sendEmpty": false,
|
|
112
|
+
"requestDatatype": "JSON",
|
|
113
|
+
"responseDatatype": "JSON",
|
|
114
|
+
"headers": {},
|
|
115
|
+
"responseObjects": [
|
|
116
|
+
{
|
|
117
|
+
"type": "default",
|
|
118
|
+
"key": "",
|
|
119
|
+
"mockFile": ""
|
|
120
|
+
}
|
|
121
|
+
]
|
|
122
|
+
}
|
|
123
|
+
]
|
|
124
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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": "sethostnameonloginpage",
|
|
12
|
+
"enum": [
|
|
13
|
+
"sethostnameonloginpage",
|
|
14
|
+
"setbanner",
|
|
15
|
+
"setmessageoftheday",
|
|
16
|
+
"showbanner",
|
|
17
|
+
"showmessageoftheday",
|
|
18
|
+
"showhostnameonloginpage"
|
|
19
|
+
],
|
|
20
|
+
"external_name": "ph_request_type"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"definitions": {}
|
|
24
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "showphysicalinterfaces",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/{version}/v1.6/show-physical-interfaces?{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": "setphysicalinterface",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "POST",
|
|
27
|
+
"entitypath": "{base_path}/{version}/v1.6/set-physical-interface?{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": "showphysicalinterface",
|
|
45
|
+
"protocol": "REST",
|
|
46
|
+
"method": "POST",
|
|
47
|
+
"entitypath": "{base_path}/{version}/v1.6/show-physical-interface?{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
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
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": "showphysicalinterfaces",
|
|
12
|
+
"enum": [
|
|
13
|
+
"showphysicalinterfaces",
|
|
14
|
+
"setphysicalinterface",
|
|
15
|
+
"showphysicalinterface"
|
|
16
|
+
],
|
|
17
|
+
"external_name": "ph_request_type"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"definitions": {}
|
|
21
|
+
}
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "setpbrrule",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/{version}/v1.6/set-pbr-rule?{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": "setpbrtablestaticnexthoppriority",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "POST",
|
|
27
|
+
"entitypath": "{base_path}/{version}/v1.6/set-pbr-table-static-next-hop-priority?{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": "showpbrrules",
|
|
45
|
+
"protocol": "REST",
|
|
46
|
+
"method": "POST",
|
|
47
|
+
"entitypath": "{base_path}/{version}/v1.6/show-pbr-rules?{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": "deletepbrrule",
|
|
65
|
+
"protocol": "REST",
|
|
66
|
+
"method": "POST",
|
|
67
|
+
"entitypath": "{base_path}/{version}/v1.6/delete-pbr-rule?{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": "setpbrtable",
|
|
85
|
+
"protocol": "REST",
|
|
86
|
+
"method": "POST",
|
|
87
|
+
"entitypath": "{base_path}/{version}/v1.6/set-pbr-table?{query}",
|
|
88
|
+
"requestSchema": "schema.json",
|
|
89
|
+
"responseSchema": "schema.json",
|
|
90
|
+
"timeout": 0,
|
|
91
|
+
"sendEmpty": false,
|
|
92
|
+
"requestDatatype": "JSON",
|
|
93
|
+
"responseDatatype": "JSON",
|
|
94
|
+
"headers": {},
|
|
95
|
+
"responseObjects": [
|
|
96
|
+
{
|
|
97
|
+
"type": "default",
|
|
98
|
+
"key": "",
|
|
99
|
+
"mockFile": ""
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "showpbrtable",
|
|
105
|
+
"protocol": "REST",
|
|
106
|
+
"method": "POST",
|
|
107
|
+
"entitypath": "{base_path}/{version}/v1.6/show-pbr-table?{query}",
|
|
108
|
+
"requestSchema": "schema.json",
|
|
109
|
+
"responseSchema": "schema.json",
|
|
110
|
+
"timeout": 0,
|
|
111
|
+
"sendEmpty": false,
|
|
112
|
+
"requestDatatype": "JSON",
|
|
113
|
+
"responseDatatype": "JSON",
|
|
114
|
+
"headers": {},
|
|
115
|
+
"responseObjects": [
|
|
116
|
+
{
|
|
117
|
+
"type": "default",
|
|
118
|
+
"key": "",
|
|
119
|
+
"mockFile": ""
|
|
120
|
+
}
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "showpbrrule",
|
|
125
|
+
"protocol": "REST",
|
|
126
|
+
"method": "POST",
|
|
127
|
+
"entitypath": "{base_path}/{version}/v1.6/show-pbr-rule?{query}",
|
|
128
|
+
"requestSchema": "schema.json",
|
|
129
|
+
"responseSchema": "schema.json",
|
|
130
|
+
"timeout": 0,
|
|
131
|
+
"sendEmpty": false,
|
|
132
|
+
"requestDatatype": "JSON",
|
|
133
|
+
"responseDatatype": "JSON",
|
|
134
|
+
"headers": {},
|
|
135
|
+
"responseObjects": [
|
|
136
|
+
{
|
|
137
|
+
"type": "default",
|
|
138
|
+
"key": "",
|
|
139
|
+
"mockFile": ""
|
|
140
|
+
}
|
|
141
|
+
]
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"name": "showpbrtables",
|
|
145
|
+
"protocol": "REST",
|
|
146
|
+
"method": "POST",
|
|
147
|
+
"entitypath": "{base_path}/{version}/v1.6/show-pbr-tables?{query}",
|
|
148
|
+
"requestSchema": "schema.json",
|
|
149
|
+
"responseSchema": "schema.json",
|
|
150
|
+
"timeout": 0,
|
|
151
|
+
"sendEmpty": false,
|
|
152
|
+
"requestDatatype": "JSON",
|
|
153
|
+
"responseDatatype": "JSON",
|
|
154
|
+
"headers": {},
|
|
155
|
+
"responseObjects": [
|
|
156
|
+
{
|
|
157
|
+
"type": "default",
|
|
158
|
+
"key": "",
|
|
159
|
+
"mockFile": ""
|
|
160
|
+
}
|
|
161
|
+
]
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "deletepbrtable",
|
|
165
|
+
"protocol": "REST",
|
|
166
|
+
"method": "POST",
|
|
167
|
+
"entitypath": "{base_path}/{version}/v1.6/delete-pbr-table?{query}",
|
|
168
|
+
"requestSchema": "schema.json",
|
|
169
|
+
"responseSchema": "schema.json",
|
|
170
|
+
"timeout": 0,
|
|
171
|
+
"sendEmpty": false,
|
|
172
|
+
"requestDatatype": "JSON",
|
|
173
|
+
"responseDatatype": "JSON",
|
|
174
|
+
"headers": {},
|
|
175
|
+
"responseObjects": [
|
|
176
|
+
{
|
|
177
|
+
"type": "default",
|
|
178
|
+
"key": "",
|
|
179
|
+
"mockFile": ""
|
|
180
|
+
}
|
|
181
|
+
]
|
|
182
|
+
}
|
|
183
|
+
]
|
|
184
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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": "setpbrrule",
|
|
12
|
+
"enum": [
|
|
13
|
+
"setpbrrule",
|
|
14
|
+
"setpbrtablestaticnexthoppriority",
|
|
15
|
+
"showpbrrules",
|
|
16
|
+
"deletepbrrule",
|
|
17
|
+
"setpbrtable",
|
|
18
|
+
"showpbrtable",
|
|
19
|
+
"showpbrrule",
|
|
20
|
+
"showpbrtables",
|
|
21
|
+
"deletepbrtable"
|
|
22
|
+
],
|
|
23
|
+
"external_name": "ph_request_type"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"definitions": {}
|
|
27
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "showsnmppredefinedtraps",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/{version}/v1.5/show-snmp-pre-defined-traps?{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": "setsnmppredefinedtraps",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "POST",
|
|
27
|
+
"entitypath": "{base_path}/{version}/v1.5/set-snmp-pre-defined-traps?{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
|
+
}
|
|
@@ -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": "showsnmppredefinedtraps",
|
|
12
|
+
"enum": [
|
|
13
|
+
"showsnmppredefinedtraps",
|
|
14
|
+
"setsnmppredefinedtraps"
|
|
15
|
+
],
|
|
16
|
+
"external_name": "ph_request_type"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"definitions": {}
|
|
20
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "deleteproxy",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/{version}/v1/delete-proxy?{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": "setproxy",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "POST",
|
|
27
|
+
"entitypath": "{base_path}/{version}/v1/set-proxy?{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": "showproxy",
|
|
45
|
+
"protocol": "REST",
|
|
46
|
+
"method": "POST",
|
|
47
|
+
"entitypath": "{base_path}/{version}/v1/show-proxy?{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
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
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": "deleteproxy",
|
|
12
|
+
"enum": [
|
|
13
|
+
"deleteproxy",
|
|
14
|
+
"setproxy",
|
|
15
|
+
"showproxy"
|
|
16
|
+
],
|
|
17
|
+
"external_name": "ph_request_type"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"definitions": {}
|
|
21
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "setradius",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/{version}/v1/set-radius?{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": "showradius",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "POST",
|
|
27
|
+
"entitypath": "{base_path}/{version}/v1/show-radius?{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
|
+
}
|
|
@@ -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": "setradius",
|
|
12
|
+
"enum": [
|
|
13
|
+
"setradius",
|
|
14
|
+
"showradius"
|
|
15
|
+
],
|
|
16
|
+
"external_name": "ph_request_type"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"definitions": {}
|
|
20
|
+
}
|