@itentialopensource/adapter-calix_smx 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 +42 -0
- package/BROKER.md +211 -0
- package/CALLS.md +207 -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 +676 -0
- package/README.md +344 -0
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +35 -0
- package/TROUBLESHOOT.md +56 -0
- package/UTILITIES.md +473 -0
- package/adapter.js +189915 -0
- package/adapterBase.js +1526 -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/Config/action.json +861 -0
- package/entities/Config/schema.json +136 -0
- package/entities/ConfigDevice/action.json +12813 -0
- package/entities/ConfigDevice/schema.json +1281 -0
- package/entities/ConfigProfile/action.json +2608 -0
- package/entities/ConfigProfile/schema.json +164 -0
- package/entities/ConfigTemplate/action.json +841 -0
- package/entities/ConfigTemplate/schema.json +147 -0
- package/entities/EMS/action.json +1565 -0
- package/entities/EMS/schema.json +182 -0
- package/entities/EMSProfile/action.json +14871 -0
- package/entities/EMSProfile/schema.json +1001 -0
- package/entities/EMSRegion/action.json +127 -0
- package/entities/EMSRegion/schema.json +24 -0
- package/entities/EMSService/action.json +855 -0
- package/entities/EMSService/schema.json +269 -0
- package/entities/EMSSubscriber/action.json +190 -0
- package/entities/EMSSubscriber/schema.json +104 -0
- package/entities/Fault/action.json +209 -0
- package/entities/Fault/schema.json +61 -0
- package/entities/Log/action.json +25 -0
- package/entities/Log/schema.json +19 -0
- package/entities/PerformanceMonitoring/action.json +1114 -0
- package/entities/PerformanceMonitoring/schema.json +302 -0
- package/entities/Port/action.json +24 -0
- package/entities/Port/schema.json +30 -0
- package/error.json +190 -0
- package/metadata.json +81 -0
- package/package.json +76 -0
- package/pronghorn.json +119022 -0
- package/propertiesDecorators.json +18 -0
- package/propertiesSchema.json +1765 -0
- package/report/creationReport.json +9189 -0
- package/report/smx_modified_rename.json +97860 -0
- package/report/updateReport1766175812348.json +120 -0
- package/sampleProperties.json +263 -0
- package/test/integration/adapterTestBasicGet.js +117 -0
- package/test/integration/adapterTestConnectivity.js +117 -0
- package/test/integration/adapterTestIntegration.js +45491 -0
- package/test/unit/adapterBaseTestUnit.js +1628 -0
- package/test/unit/adapterTestUnit.js +66088 -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,136 @@
|
|
|
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": "getBngStatePersistByDevice",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getBngStatePersistByDevice",
|
|
14
|
+
"getDhcpErrorStatisticsByDevice",
|
|
15
|
+
"getInfoByDevice",
|
|
16
|
+
"getIpRouteAllByDevice",
|
|
17
|
+
"getIpRouteConfigByDevice",
|
|
18
|
+
"getSensorDetailsByDevice",
|
|
19
|
+
"getAllSyslog",
|
|
20
|
+
"getSyslogByIp",
|
|
21
|
+
"getAllBaseboard",
|
|
22
|
+
"getAllDevice",
|
|
23
|
+
"createDevice",
|
|
24
|
+
"getGui",
|
|
25
|
+
"updateRefreshOntsCount",
|
|
26
|
+
"getFeaturesByDevice",
|
|
27
|
+
"getTspByDevice",
|
|
28
|
+
"getDeviceByName",
|
|
29
|
+
"updateDeviceByName",
|
|
30
|
+
"deleteDeviceByName",
|
|
31
|
+
"getProfileSynFailRecordsByName",
|
|
32
|
+
"getAllEnvironmentAlarm",
|
|
33
|
+
"getAllGlobalont",
|
|
34
|
+
"getAllGlobalVlanid",
|
|
35
|
+
"getAllUnassignedOnt",
|
|
36
|
+
"getUnassignedOnt",
|
|
37
|
+
"getGlobalont",
|
|
38
|
+
"getAllHostname",
|
|
39
|
+
"getAllInbandManagementInterface",
|
|
40
|
+
"getAllIpStaticRoute",
|
|
41
|
+
"getAllMgtInterface",
|
|
42
|
+
"getAllNtp",
|
|
43
|
+
"getAllReserveVlanSetting",
|
|
44
|
+
"getAllRouteConfig",
|
|
45
|
+
"getAllSyslog1",
|
|
46
|
+
"getSyslogByIp1",
|
|
47
|
+
"getAllTacacs",
|
|
48
|
+
"getAllTime",
|
|
49
|
+
"getAllTimezone",
|
|
50
|
+
"getAllVersion",
|
|
51
|
+
"getAllCosqProfile1",
|
|
52
|
+
"getRingmembersByDevice",
|
|
53
|
+
"getAllRouteConfig1"
|
|
54
|
+
],
|
|
55
|
+
"external_name": "ph_request_type"
|
|
56
|
+
},
|
|
57
|
+
"deviceName": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"description": "deviceName",
|
|
60
|
+
"parse": false,
|
|
61
|
+
"encode": false,
|
|
62
|
+
"encrypt": {
|
|
63
|
+
"type": "AES",
|
|
64
|
+
"key": ""
|
|
65
|
+
},
|
|
66
|
+
"external_name": "device-name"
|
|
67
|
+
},
|
|
68
|
+
"aTagName": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"description": "tag-name, action in [assign-tag,unassign-tag] required",
|
|
71
|
+
"parse": false,
|
|
72
|
+
"encode": false,
|
|
73
|
+
"encrypt": {
|
|
74
|
+
"type": "AES",
|
|
75
|
+
"key": ""
|
|
76
|
+
},
|
|
77
|
+
"external_name": "a_tag-name"
|
|
78
|
+
},
|
|
79
|
+
"deltaSyncEnable": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"description": "delta-sync-enable, action in [set-configs] required",
|
|
82
|
+
"parse": false,
|
|
83
|
+
"encode": false,
|
|
84
|
+
"encrypt": {
|
|
85
|
+
"type": "AES",
|
|
86
|
+
"key": ""
|
|
87
|
+
},
|
|
88
|
+
"external_name": "delta-sync-enable"
|
|
89
|
+
},
|
|
90
|
+
"defaultLockEnable": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"description": "default-lock-enable, action in [set-configs] required",
|
|
93
|
+
"parse": false,
|
|
94
|
+
"encode": false,
|
|
95
|
+
"encrypt": {
|
|
96
|
+
"type": "AES",
|
|
97
|
+
"key": ""
|
|
98
|
+
},
|
|
99
|
+
"external_name": "default-lock-enable"
|
|
100
|
+
},
|
|
101
|
+
"deltaSyncManual": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"description": "delta-sync-manual, action in [set-configs] required",
|
|
104
|
+
"parse": false,
|
|
105
|
+
"encode": false,
|
|
106
|
+
"encrypt": {
|
|
107
|
+
"type": "AES",
|
|
108
|
+
"key": ""
|
|
109
|
+
},
|
|
110
|
+
"external_name": "delta-sync-manual"
|
|
111
|
+
},
|
|
112
|
+
"deltaSyncDirection": {
|
|
113
|
+
"type": "string",
|
|
114
|
+
"description": "delta-sync-direction, action in [set-configs,delta-sync-data] required, \"to\" means do delta sync from Activate to device; \"from\" means do delta sync from device to Activa...(description truncated)",
|
|
115
|
+
"parse": false,
|
|
116
|
+
"encode": false,
|
|
117
|
+
"encrypt": {
|
|
118
|
+
"type": "AES",
|
|
119
|
+
"key": ""
|
|
120
|
+
},
|
|
121
|
+
"external_name": "delta-sync-direction"
|
|
122
|
+
},
|
|
123
|
+
"forceDelete": {
|
|
124
|
+
"type": "boolean",
|
|
125
|
+
"description": "",
|
|
126
|
+
"parse": false,
|
|
127
|
+
"encode": false,
|
|
128
|
+
"encrypt": {
|
|
129
|
+
"type": "AES",
|
|
130
|
+
"key": ""
|
|
131
|
+
},
|
|
132
|
+
"external_name": "force-delete"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"definitions": {}
|
|
136
|
+
}
|