@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,164 @@
|
|
|
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": "getClassMapIpByDeviceByProfile",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getClassMapIpByDeviceByProfile",
|
|
14
|
+
"getClassMapEthernetByDevice",
|
|
15
|
+
"getClassMapIpByDevice",
|
|
16
|
+
"getAllG8032Ring",
|
|
17
|
+
"getAllAccessList",
|
|
18
|
+
"getAllAccessListIpv4",
|
|
19
|
+
"getAccessListIpv4ByProfile",
|
|
20
|
+
"getAllAccessListIpv6",
|
|
21
|
+
"getAccessListIpv6ByProfile",
|
|
22
|
+
"getAccessListByProfile",
|
|
23
|
+
"getAllAggregateShaperProfile",
|
|
24
|
+
"getAllAggregatedService",
|
|
25
|
+
"getAggregatedServiceByProfile",
|
|
26
|
+
"getAllAuthenticationProfile",
|
|
27
|
+
"getAuthenticationProfileByProfile",
|
|
28
|
+
"getAllBandwidthProfile",
|
|
29
|
+
"getBandwidthProfileByProfile",
|
|
30
|
+
"getAllClassMapIp",
|
|
31
|
+
"getAllCosqProfile",
|
|
32
|
+
"getCosqProfileByProfile",
|
|
33
|
+
"getAllDelayMeasurementProfile",
|
|
34
|
+
"getAllDhcpProfile",
|
|
35
|
+
"getDhcpProfileByProfile",
|
|
36
|
+
"getAllDhcpV4RelayProfile",
|
|
37
|
+
"getDhcpV4RelayProfileByProfile",
|
|
38
|
+
"getAllDhcpV4ServerPool",
|
|
39
|
+
"getDhcpV4ServerPoolByProfile",
|
|
40
|
+
"getAllDhcpV4ServerProfile",
|
|
41
|
+
"getDhcpV4ServerProfileByProfile",
|
|
42
|
+
"getAllDhcpV6RelayProfile",
|
|
43
|
+
"getDhcpV6RelayProfileByProfile",
|
|
44
|
+
"getAllDhcpV6ServerProfile",
|
|
45
|
+
"getDhcpV6ServerProfileByProfile",
|
|
46
|
+
"getAllDialplanProfile",
|
|
47
|
+
"getAllDiameterClientInstance",
|
|
48
|
+
"getAllDiameterPeerProfile",
|
|
49
|
+
"getAllDownstreamDataRateProfile",
|
|
50
|
+
"getDownstreamDataRateProfileByProfile",
|
|
51
|
+
"getAllDscpmapProfile",
|
|
52
|
+
"getDscpmapProfileByProfile",
|
|
53
|
+
"getAllDtaProfile",
|
|
54
|
+
"getDtaProfileByProfile",
|
|
55
|
+
"getAllErps",
|
|
56
|
+
"getAllFastRateAdaptationProfile",
|
|
57
|
+
"getFastRateAdaptationProfileByProfile",
|
|
58
|
+
"getAllH248Profile",
|
|
59
|
+
"getH248ProfileByProfile",
|
|
60
|
+
"getAllIdProfile",
|
|
61
|
+
"getIdProfileByProfile",
|
|
62
|
+
"getAllIgmpProfile",
|
|
63
|
+
"getIgmpProfileByProfile",
|
|
64
|
+
"getAllL2DhcpProxyProfile",
|
|
65
|
+
"getAllL2cpProfile",
|
|
66
|
+
"getL2cpProfileByProfile",
|
|
67
|
+
"getAllL3DhcpProfile",
|
|
68
|
+
"getL3DhcpProfileByProfile",
|
|
69
|
+
"getAllLineConfigVector",
|
|
70
|
+
"getLineConfigVectorByProfile",
|
|
71
|
+
"getAllLineSpectrumProfile",
|
|
72
|
+
"getLineSpectrumProfileByProfile",
|
|
73
|
+
"getAllLldpProfile",
|
|
74
|
+
"getLldpProfileByProfile",
|
|
75
|
+
"getAllLossMeasurementProfile",
|
|
76
|
+
"getAllMatchlistProfile",
|
|
77
|
+
"getMatchlistProfileByProfile",
|
|
78
|
+
"getAllMeg",
|
|
79
|
+
"getMegByProfile",
|
|
80
|
+
"getAllMgcpProfile",
|
|
81
|
+
"getMgcpProfileByProfile",
|
|
82
|
+
"getAllMulticastProfile",
|
|
83
|
+
"getMulticastProfileByProfile",
|
|
84
|
+
"getAllMulticastWhitelistProfile",
|
|
85
|
+
"getMulticastWhitelistProfileByProfile",
|
|
86
|
+
"getAllMvrProfile",
|
|
87
|
+
"getMvrProfileByProfile",
|
|
88
|
+
"getAllNoiseMarginProfile",
|
|
89
|
+
"getNoiseMarginProfileByProfile",
|
|
90
|
+
"getAllOamPmProfile",
|
|
91
|
+
"getOamPmProfileByProfile",
|
|
92
|
+
"getAllOntTimingProfile",
|
|
93
|
+
"getOntTimingProfileByProfile",
|
|
94
|
+
"getAllOuiMatchList",
|
|
95
|
+
"getOuiMatchListByProfile",
|
|
96
|
+
"getAllPcpMap",
|
|
97
|
+
"getAllPolicyActions",
|
|
98
|
+
"getAllPolicyMap",
|
|
99
|
+
"getAllPonupstreampolicy",
|
|
100
|
+
"getAllPppoeIaProfile",
|
|
101
|
+
"getPppoeIaProfileByProfile",
|
|
102
|
+
"getAllPppoeProfile",
|
|
103
|
+
"getPppoeProfileByProfile",
|
|
104
|
+
"getAllPriorityMapProfile",
|
|
105
|
+
"getPriorityMapProfileByProfile",
|
|
106
|
+
"getProvisionedDevices",
|
|
107
|
+
"getAllPwe3GosProfile",
|
|
108
|
+
"getAllPwe3Profile",
|
|
109
|
+
"getAllRadiusClientInstance",
|
|
110
|
+
"getAllRadiusServerProfile",
|
|
111
|
+
"getAllReinitializationPolicyProfile",
|
|
112
|
+
"getReinitializationPolicyProfileByProfile",
|
|
113
|
+
"getAllRetransmissionProfile",
|
|
114
|
+
"getRetransmissionProfileByProfile",
|
|
115
|
+
"getAllRfiProfile",
|
|
116
|
+
"getRfiProfileByProfile",
|
|
117
|
+
"getAllRgMgmtProfile",
|
|
118
|
+
"getRgMgmtProfileByProfile",
|
|
119
|
+
"getAllRmongosProfile",
|
|
120
|
+
"getRmongosProfileByProfile",
|
|
121
|
+
"getAllSipProfile",
|
|
122
|
+
"getSipProfileByProfile",
|
|
123
|
+
"getAllSubscriberServiceTemplate",
|
|
124
|
+
"getSubscriberServiceTemplateByProfile",
|
|
125
|
+
"getAllTddProfile",
|
|
126
|
+
"getTddProfileByProfile",
|
|
127
|
+
"getAllTdmProfile",
|
|
128
|
+
"getTdmProfileByProfile1",
|
|
129
|
+
"getAllTransportServiceProfile",
|
|
130
|
+
"getTransportServiceProfileByProfile1",
|
|
131
|
+
"getAllUpstreamDataRateProfile",
|
|
132
|
+
"getUpstreamDataRateProfileByProfile",
|
|
133
|
+
"getAllUpstreamPowerBackOffProfile",
|
|
134
|
+
"getUpstreamPowerBackOffProfileByProfile",
|
|
135
|
+
"getAllVectoring",
|
|
136
|
+
"getVectoringByProfile"
|
|
137
|
+
],
|
|
138
|
+
"external_name": "ph_request_type"
|
|
139
|
+
},
|
|
140
|
+
"deviceName": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"description": "device name",
|
|
143
|
+
"parse": false,
|
|
144
|
+
"encode": false,
|
|
145
|
+
"encrypt": {
|
|
146
|
+
"type": "AES",
|
|
147
|
+
"key": ""
|
|
148
|
+
},
|
|
149
|
+
"external_name": "device-name"
|
|
150
|
+
},
|
|
151
|
+
"profileName": {
|
|
152
|
+
"type": "string",
|
|
153
|
+
"description": "",
|
|
154
|
+
"parse": false,
|
|
155
|
+
"encode": false,
|
|
156
|
+
"encrypt": {
|
|
157
|
+
"type": "AES",
|
|
158
|
+
"key": ""
|
|
159
|
+
},
|
|
160
|
+
"external_name": "profile-name"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"definitions": {}
|
|
164
|
+
}
|