1
|
program_name:testcapi_VF3.00.0022_20250108_arm_superelectron_MIXK510
|
2
|
build_time:Jan 8 2025
|
3
|
itemName:MODE_TEST_ALL_APIS
|
4
|
TestTime:2025-2-11 9:56:28
|
5
|
****************************************************************************
|
6
|
[Interface]: api_getGatewayName
|
7
|
[Result]: PASS
|
8
|
[Return Value]: 0
|
9
|
[Time]: 14
|
10
|
[Input]:
|
11
|
[Output]: DevName: SmartHGW
|
12
|
[Interface]: api_setGatewayName
|
13
|
[Result]: PASS
|
14
|
[Return Value]: 0
|
15
|
[Time]: 2
|
16
|
[Input]: Name: SmartHGW
|
17
|
[Output]:
|
18
|
[Interface]: api_getDevInfo
|
19
|
[Result]: PASS
|
20
|
[Return Value]: 0
|
21
|
[Time]: 16
|
22
|
[Input]:
|
23
|
[Output]: BusinessStatus: 0; Vendor: ZNXT; MAC: 081074000061; SWVersion: V02.00.1; HDVersion: V02.00.0; SpecVersion: iHGU_2.4.0; DBusInterfaceVersion: 1.3.0; ProductClass: ZN501G-D2-G; MainChipClass: HISILICON Hi5662YV200; GPONSN: ZTEG00112269; ModelName: ZN501G-D2; POTSNum: 1; LANNum: 4; FlashSize: 256; RamSize: 512; DevName: SmartHGW; CPUUsage: 1%; MEMUsage: 25%; FlashUsage: 57%; UpTime: 58738; ManufacturerOUI: 081074; SerialNumber: 01FFFFFFFF010FFF2AZTEG0011226906; HGUSleep: 1; WiFiVersion: 0; DevWiFi: 0; DevUSB: 1; KernelVersion: 5.10.0; KernelBit: 32; IfName: br0; DevType: 0; WorkMode: 0;
|
24
|
[Interface]: api_getDeviceInfo
|
25
|
[Result]: PASS
|
26
|
[Return Value]: 0
|
27
|
[Time]: 16
|
28
|
[Input]:
|
29
|
[Output]: Vendor: ZNXT; ProductClass: ZN501G-D2-G; MainChipClass: HISILICON Hi5662YV200; HardwareVer: V02.00.0; FirmwareVer: V02.00.1; FlashSize: 256; RamSize: 512; KernelVersion: 5.10.0; KernelBit: 32; DevType: 0; WorkMode: 0;
|
30
|
[Interface]: api_getDeviceMAC
|
31
|
[Result]: PASS
|
32
|
[Return Value]: 0
|
33
|
[Time]: 14
|
34
|
[Input]:
|
35
|
[Output]: MAC: 081074000061
|
36
|
[Interface]: api_getDeviceUpTime
|
37
|
[Result]: PASS
|
38
|
[Return Value]: 0
|
39
|
[Time]: 14
|
40
|
[Input]:
|
41
|
[Output]: UpTime: 58738
|
42
|
[Interface]: api_getCPUOccupancyRate
|
43
|
[Result]: PASS
|
44
|
[Return Value]: 0
|
45
|
[Time]: 14
|
46
|
[Input]:
|
47
|
[Output]: CPUUsage: 1
|
48
|
[Interface]: api_getRAMOccupancyRate
|
49
|
[Result]: PASS
|
50
|
[Return Value]: 0
|
51
|
[Time]: 15
|
52
|
[Input]:
|
53
|
[Output]: MEMUsage: 25
|
54
|
[Interface]: api_getDeviceWiFi
|
55
|
[Result]: PASS
|
56
|
[Return Value]: 0
|
57
|
[Time]: 14
|
58
|
[Input]:
|
59
|
[Output]:
|
60
|
[Interface]: api_getDeviceUSB
|
61
|
[Result]: PASS
|
62
|
[Return Value]: 1
|
63
|
[Time]: 15
|
64
|
[Input]:
|
65
|
[Output]:
|
66
|
[Interface]: api_getDeviceWiFiVersion
|
67
|
[Result]: PASS
|
68
|
[Return Value]: 0
|
69
|
[Time]: 14
|
70
|
[Input]:
|
71
|
[Output]:
|
72
|
[Interface]: api_getDevType
|
73
|
[Result]: PASS
|
74
|
[Return Value]: 0
|
75
|
[Time]: 14
|
76
|
[Input]:
|
77
|
[Output]:
|
78
|
[Interface]: api_getWorkMode
|
79
|
[Result]: PASS
|
80
|
[Return Value]: 0
|
81
|
[Time]: 14
|
82
|
[Input]:
|
83
|
[Output]:
|
84
|
[Interface]: api_getUSCC
|
85
|
[Result]: PASS
|
86
|
[Return Value]: 0
|
87
|
[Time]: 15
|
88
|
[Input]:
|
89
|
[Output]: uscc: 91440300758610056Q
|
90
|
[Interface]: api_getDeviceManufacturerOUI
|
91
|
[Result]: PASS
|
92
|
[Return Value]: 0
|
93
|
[Time]: 14
|
94
|
[Input]:
|
95
|
[Output]: oui: 081074
|
96
|
[Interface]: api_getDeviceSerialNumber
|
97
|
[Result]: PASS
|
98
|
[Return Value]: 0
|
99
|
[Time]: 17
|
100
|
[Input]:
|
101
|
[Output]: sn: 01FFFFFFFF010FFF2AZTEG0011226906
|
102
|
[Interface]: api_getDeviceLOID
|
103
|
[Result]: PASS
|
104
|
[Return Value]: 0
|
105
|
[Time]: 5
|
106
|
[Input]:
|
107
|
[Output]: loid: gtest0506
|
108
|
[Interface]: api_addFTPRight
|
109
|
[Result]: FAIL
|
110
|
[Return Value]: -1
|
111
|
[Time]: 9235
|
112
|
[Input]: {Right: 1; Anonymous: 1; Port: 1111; UserName: user1; Password: passwd1; FTPPath: /mnt/tmp1}{Right: 1; Anonymous: 0; Port: 2222; UserName: user2; Password: passwd2; FTPPath: /mnt/tmp2}{Right: 1; Anonymous: 1; Port: 3333; UserName: user3; Password: passwd3; FTPPath: /mnt/tmp3}{Right: 1; Anonymous: 0; Port: 4444; UserName: user4; Password: passwd4; FTPPath: /mnt/tmp4}{Right: 1; Anonymous: 1; Port: 5555; UserName: user5; Password: passwd5; FTPPath: /mnt/tmp5}{Right: 0; Anonymous: 0; Port: 6666; UserName: user6; Password: passwd6; FTPPath: /mnt/tmp6}{Right: 0; Anonymous: 1; Port: 7777; UserName: user7; Password: passwd7; FTPPath: /mnt/tmp7}
|
113
|
[Output]: Fail Line: 757
|
114
|
[Interface]: api_setFTPRight
|
115
|
[Result]: FAIL
|
116
|
[Return Value]: -1
|
117
|
[Time]: 0
|
118
|
[Input]:
|
119
|
[Output]: Fail Line: 800
|
120
|
[Interface]: api_deleteFTPRight
|
121
|
[Result]: FAIL
|
122
|
[Return Value]: -1
|
123
|
[Time]: 0
|
124
|
[Input]:
|
125
|
[Output]: Fail Line: 943
|
126
|
[Interface]: api_getFTPRightInfo
|
127
|
[Result]: FAIL
|
128
|
[Return Value]: -1
|
129
|
[Time]: 0
|
130
|
[Input]:
|
131
|
[Output]: Fail Line: 842
|
132
|
[Interface]: api_releaseFTPRightInfo
|
133
|
[Result]: FAIL
|
134
|
[Return Value]: -1
|
135
|
[Time]: 0
|
136
|
[Input]:
|
137
|
[Output]: Fail Line: 904
|
138
|
[Interface]: api_deleteAllFTPRight
|
139
|
[Result]: FAIL
|
140
|
[Return Value]: -1
|
141
|
[Time]: 0
|
142
|
[Input]:
|
143
|
[Output]: Fail Line: 976
|
144
|
[Interface]: api_setSambaRight
|
145
|
[Result]: FAIL
|
146
|
[Return Value]: -1
|
147
|
[Time]: 6
|
148
|
[Input]:
|
149
|
[Output]: Fail Line: 1007
|
150
|
[Interface]: api_addSambaAccount
|
151
|
[Result]: FAIL
|
152
|
[Return Value]: -1
|
153
|
[Time]: 0
|
154
|
[Input]:
|
155
|
[Output]: Fail Line: 1037
|
156
|
[Interface]: api_deleteSambaAccount
|
157
|
[Result]: FAIL
|
158
|
[Return Value]: -1
|
159
|
[Time]: 0
|
160
|
[Input]:
|
161
|
[Output]: Fail Line: 1175
|
162
|
[Interface]: api_getSambaRightInfo
|
163
|
[Result]: FAIL
|
164
|
[Return Value]: -1
|
165
|
[Time]: 0
|
166
|
[Input]:
|
167
|
[Output]: Fail Line: 1074
|
168
|
[Interface]: api_releaseSambaRightInfo
|
169
|
[Result]: FAIL
|
170
|
[Return Value]: -1
|
171
|
[Time]: 0
|
172
|
[Input]:
|
173
|
[Output]: Fail Line: 1137
|
174
|
[Interface]: api_deleteAllSambaAccount
|
175
|
[Result]: FAIL
|
176
|
[Return Value]: -1
|
177
|
[Time]: 0
|
178
|
[Input]:
|
179
|
[Output]: Fail Line: 1209
|
180
|
[Interface]: api_setHTTPRight
|
181
|
[Result]: PASS
|
182
|
[Return Value]: 0
|
183
|
[Time]: 2
|
184
|
[Input]: right: 1
|
185
|
[Output]:
|
186
|
[Interface]: api_setHTTPUserPassword
|
187
|
[Result]: FAIL
|
188
|
[Return Value]: -1
|
189
|
[Time]: 3
|
190
|
[Input]: password: pwd123
|
191
|
[Output]: Fail Line: 1268
|
192
|
[Interface]: api_getHTTPRightInfo
|
193
|
[Result]: PASS
|
194
|
[Return Value]: 0
|
195
|
[Time]: 2
|
196
|
[Input]:
|
197
|
[Output]: Right: 1; passwd: 12345678
|
198
|
[Interface]: api_setLedSwitch
|
199
|
[Result]: FAIL
|
200
|
[Return Value]: -1
|
201
|
[Time]: 11
|
202
|
[Input]: {api_setLedSwitch(FALSE): -1, api_setLedSwitch(TRUE): 0}
|
203
|
[Output]: Fail Line: 1319
|
204
|
[Interface]: api_getBridgeIfName
|
205
|
[Result]: PASS
|
206
|
[Return Value]: 0
|
207
|
[Time]: 3
|
208
|
[Input]:
|
209
|
[Output]: BridgeIfName: br0
|
210
|
[Interface]: api_getWANIfName
|
211
|
[Result]: PASS
|
212
|
[Return Value]: 0
|
213
|
[Time]: 6
|
214
|
[Input]:
|
215
|
[Output]: {Name: 1_INTERNET_R_VID_100; IfName: pppoe-wan1_100; ConnectionType: PPPoE_Routed; IPAddress: 10.10.100.169; IPv6IPAddress:}
|
216
|
[Interface]: api_releaseWANIfName
|
217
|
[Result]: PASS
|
218
|
[Return Value]: 0
|
219
|
[Time]: 0
|
220
|
[Input]:
|
221
|
[Output]:
|
222
|
[Interface]: api_getLANIfName
|
223
|
[Result]: PASS
|
224
|
[Return Value]: 0
|
225
|
[Time]: 7
|
226
|
[Input]:
|
227
|
[Output]: {Name: LAN1; Status: NoLink; IfName: eth0}{Name: LAN2; Status: NoLink; IfName: eth1}{Name: LAN3; Status: NoLink; IfName: eth2}{Name: LAN4; Status: Up; IfName: eth3}
|
228
|
[Interface]: api_releaseLANIfName
|
229
|
[Result]: PASS
|
230
|
[Return Value]: 0
|
231
|
[Time]: 0
|
232
|
[Input]:
|
233
|
[Output]:
|
234
|
[Interface]: api_getUFWInfo
|
235
|
[Result]: PASS
|
236
|
[Return Value]: 0
|
237
|
[Time]: 39
|
238
|
[Input]:
|
239
|
[Output]: CPUArch: arm_superelectron_MIXK510
|
240
|
; UfwmgVersion: VF3.00.0022; UfwVersion: VF3.00.0022; UfwBVersion: VF3.00.0022; CAPIVersion: VF3.00.0022; HpsrvVersion: VF3.00.0022; UappdVersion: VF3.00.0022; ProxyVersion: VF3.00.0022; TaskdVersion: VF3.00.0022; ActiveMTD: 13; BackupMTD: 12; UfwmgLogLevel: 3;
|
241
|
[Interface]: api_getPlatformStatus
|
242
|
[Result]: PASS
|
243
|
[Return Value]: 0
|
244
|
[Time]: 2
|
245
|
[Input]:
|
246
|
[Output]: dnsname: 42.236.3.114; srvip: 42.236.3.114; port: 7686; status: 4
|
247
|
[Interface]: api_getListApp
|
248
|
[Result]: PASS
|
249
|
[Return Value]: 0
|
250
|
[Time]: 2
|
251
|
[Input]:
|
252
|
[Output]:
|
253
|
[Interface]: api_releaseListApp
|
254
|
[Result]: PASS
|
255
|
[Return Value]: -1
|
256
|
[Time]: 0
|
257
|
[Input]:
|
258
|
[Output]:
|
259
|
[Interface]: api_getAppStatus
|
260
|
[Result]: PASS
|
261
|
[Return Value]: 0
|
262
|
[Time]: 2
|
263
|
[Input]: PluginName: test
|
264
|
[Output]: PluginStatus: EEXIST
|
265
|
[Interface]: api_getPONIfPhyStatus
|
266
|
[Result]: PASS
|
267
|
[Return Value]: 0
|
268
|
[Time]: 3
|
269
|
[Input]:
|
270
|
[Output]: TXPower: -100.000000; RXPower: -100.000000; TransceiverTemperature: 0.000000; SupplyVoltage: 0.000000; BiasCurrent: 0.000000
|
271
|
[Interface]: api_getPONIfUpTime
|
272
|
[Result]: PASS
|
273
|
[Return Value]: 0
|
274
|
[Time]: 3
|
275
|
[Input]:
|
276
|
[Output]: PONDuration: 58512
|
277
|
[Interface]: api_getPONIfRegisterStatus
|
278
|
[Result]: PASS
|
279
|
[Return Value]: 0
|
280
|
[Time]: 3
|
281
|
[Input]:
|
282
|
[Output]: RegisterStatus: REG_AUTH
|
283
|
[Interface]: api_getUplinkIfStats
|
284
|
[Result]: PASS
|
285
|
[Return Value]: 0
|
286
|
[Time]: 3
|
287
|
[Input]:
|
288
|
[Output]: UsStats: 0; DsStats: 0
|
289
|
[Interface]: api_getInternetWANIndex
|
290
|
[Result]: FAIL
|
291
|
[Return Value]: 0
|
292
|
[Time]: 5
|
293
|
[Input]:
|
294
|
[Output]: Fail Line: 198
|
295
|
[Interface]: api_getPPPoEInfo
|
296
|
[Result]: PASS
|
297
|
[Return Value]: -1
|
298
|
[Time]: 2
|
299
|
[Input]:
|
300
|
[Output]:
|
301
|
[Interface]: api_getWANInfo
|
302
|
[Result]: PASS
|
303
|
[Return Value]: 0
|
304
|
[Time]: 6
|
305
|
[Input]:
|
306
|
[Output]: {Index: ; WANName: ; IfName: ; ServiceList: ; LanInterface: ; VLANMode: 0; VLANID: 0; VLAN8021P: 0; MulticastVlan: 0; LanDHCPEnable: 0; Protocol: 0; ConnectionStatus: ; ConnectionType: ; NATEnabled: 0; AddressingType: ; IPAddress: ; SubnetMask: ; Gateway: ; DNSEnabled: 0; DNSServers: ; MACAddress: ; ConnectionTrigger: ; IPv6IPAddressOrigin: ; IPv6ConnectionStatus: ; IPv6IPAddress: ; IPv6IPAddressAlias: ; IPv6DNSServers: ; IPv6PrefixDelegationEnabled: 0; IPv6PrefixAlias: ; IPv6PrefixOrigin: ; IPv6Prefix: ; IPv6PrefixLength: ; IPv6PrefixPltime: 0; IPv6PrefixVltime: 0; IPv6Gateway: ; UpTime: 0; LastConnectionError: ; LastIPv6ConnectionError: ; RxBytes: 388692; TxBytes: 388708; RxPkts: 388724; TxPkts: 388740}
|
307
|
[Interface]: api_releaseWANInfo
|
308
|
[Result]: PASS
|
309
|
[Return Value]: 0
|
310
|
[Time]: 0
|
311
|
[Input]:
|
312
|
[Output]:
|
313
|
[Interface]: api_getWANIfList
|
314
|
[Result]: PASS
|
315
|
[Return Value]: 0
|
316
|
[Time]: 5
|
317
|
[Input]:
|
318
|
[Output]: {Index: ; Name: }
|
319
|
[Interface]: api_releaseWANIfList
|
320
|
[Result]: PASS
|
321
|
[Return Value]: 0
|
322
|
[Time]: 0
|
323
|
[Input]:
|
324
|
[Output]:
|
325
|
[Interface]: api_getWANIfStats
|
326
|
[Result]: FAIL
|
327
|
[Return Value]: -1
|
328
|
[Time]: 6
|
329
|
[Input]: wanIndex: 1
|
330
|
[Output]: Fail Line: 436
|
331
|
[Interface]: api_getWANIfInfo
|
332
|
[Result]: FAIL
|
333
|
[Return Value]: -1
|
334
|
[Time]: 6
|
335
|
[Input]: wanIndex: 1
|
336
|
[Output]: Fail Line: 492
|
337
|
[Interface]: api_getWANIfStatus
|
338
|
[Result]: PASS
|
339
|
[Return Value]: 0
|
340
|
[Time]: 6
|
341
|
[Input]: wanIndex: 1
|
342
|
[Output]: Uptime 0; ConnectionStatus ; IPv6ConnStatus ; LastConnectionError ; LastIPv6ConnectionError ;
|
343
|
[Interface]: api_startIPPingDiagnostics
|
344
|
[Result]: FAIL
|
345
|
[Return Value]: -1
|
346
|
[Time]: 3
|
347
|
[Input]: InterfaceIndex: 1; Host: www.baidu.com; NumberOfRepetitions: 4; Timout: 10000,DataBlockSize: 56; DSCP: 0
|
348
|
[Output]: Fail Line: 173
|
349
|
[Interface]: api_startTraceRouteDiagnostics
|
350
|
[Result]: FAIL
|
351
|
[Return Value]: -1
|
352
|
[Time]: 3
|
353
|
[Input]: InterfaceIndex: 1; Host: www.baidu.com; NumberOfTries: 3; Timout 5000; DataBlockSize: 38; DSCP: 0; MaxHopCount: 30
|
354
|
[Output]: Fail Line: 215
|
355
|
[Interface]: api_addLayer3ForwardingStatic
|
356
|
[Result]: FAIL
|
357
|
[Return Value]: -1
|
358
|
[Time]: 5
|
359
|
[Input]: DestIPAddress: 10.10.10.0; DestSubnetMask: 255.255.255.0; GatewayIPAddress: 10.10.100.1; Interface: 1_INTERNET_R_VID_100;
|
360
|
[Output]: Fail Line: 766
|
361
|
[Interface]: api_getLayer3ForwardingStaticConfigInfo
|
362
|
[Result]: PASS
|
363
|
[Return Value]: 0
|
364
|
[Time]: 2
|
365
|
[Input]:
|
366
|
[Output]: objNum: 0;
|
367
|
[Interface]: api_releaseLayer3ForwardingStaticConfigInfo
|
368
|
[Result]: PASS
|
369
|
[Return Value]: 0
|
370
|
[Time]: 0
|
371
|
[Input]: objNum: 0
|
372
|
[Output]:
|
373
|
[Interface]: api_deleteLayer3ForwardingStatic
|
374
|
[Result]: FAIL
|
375
|
[Return Value]: -1
|
376
|
[Time]: 0
|
377
|
[Input]:
|
378
|
[Output]: Fail Line: 817
|
379
|
[Interface]: api_addIPv6Layer3ForwardingStatic
|
380
|
[Result]: FAIL
|
381
|
[Return Value]: -1
|
382
|
[Time]: 5
|
383
|
[Input]: iDestIPPrefix: 2400:da00::dbf:0:100/64; NextHop: ::; Interface: 1_INTERNET_R_VID_100
|
384
|
[Output]: Fail Line: 866
|
385
|
[Interface]: api_getIPv6Layer3ForwardingStaticConfigInfo
|
386
|
[Result]: PASS
|
387
|
[Return Value]: 0
|
388
|
[Time]: 3
|
389
|
[Input]:
|
390
|
[Output]: objNum: 0;
|
391
|
[Interface]: api_releaseIPv6Layer3ForwardingStaticConfigInfo
|
392
|
[Result]: PASS
|
393
|
[Return Value]: 0
|
394
|
[Time]: 0
|
395
|
[Input]: objNum: 0
|
396
|
[Output]:
|
397
|
[Interface]: api_deleteIPv6Layer3ForwardingStatic
|
398
|
[Result]: FAIL
|
399
|
[Return Value]: -1
|
400
|
[Time]: 0
|
401
|
[Input]:
|
402
|
[Output]: Fail Line: 914
|
403
|
[Interface]: api_getLayer3ForwardingCurrent
|
404
|
[Result]: PASS
|
405
|
[Return Value]: 0
|
406
|
[Time]: 2
|
407
|
[Input]:
|
408
|
[Output]: objNum: 0;
|
409
|
[Interface]: api_releaseLayer3ForwardingCurrent
|
410
|
[Result]: PASS
|
411
|
[Return Value]: 0
|
412
|
[Time]: 0
|
413
|
[Input]: objNum: 0
|
414
|
[Output]:
|
415
|
[Interface]: api_getIPv6Layer3ForwardingCurrent
|
416
|
[Result]: PASS
|
417
|
[Return Value]: 0
|
418
|
[Time]: 2
|
419
|
[Input]:
|
420
|
[Output]: objNum: 0;
|
421
|
[Interface]: api_releaseIPv6Layer3ForwardingCurrent
|
422
|
[Result]: PASS
|
423
|
[Return Value]: 0
|
424
|
[Time]: 0
|
425
|
[Input]: objNum: 0
|
426
|
[Output]:
|
427
|
[Interface]: api_setLANEthernetEnable
|
428
|
[Result]: PASS
|
429
|
[Return Value]: 0
|
430
|
[Time]: 2
|
431
|
[Input]: portIndex: 1; enable: TRUE
|
432
|
[Output]:
|
433
|
[Interface]: api_getVLANBindInfo
|
434
|
[Result]: PASS
|
435
|
[Return Value]: 0
|
436
|
[Time]: 9
|
437
|
[Input]:
|
438
|
[Output]: objNum: 0;
|
439
|
[Interface]: api_releaseVLANBindInfo
|
440
|
[Result]: PASS
|
441
|
[Return Value]: 0
|
442
|
[Time]: 0
|
443
|
[Input]: objNum: 0
|
444
|
[Output]:
|
445
|
[Interface]: api_getLANEthernetInfo
|
446
|
[Result]: PASS
|
447
|
[Return Value]: 0
|
448
|
[Time]: 3
|
449
|
[Input]: PortIndex: 1
|
450
|
[Output]: Enable: 1; Status: NoLink; BitRate: 1000; DuplexMode: Full
|
451
|
[Interface]: api_getLANEthernetStats
|
452
|
[Result]: PASS
|
453
|
[Return Value]: 0
|
454
|
[Time]: 4
|
455
|
[Input]: PortIndex: 1
|
456
|
[Output]: BytesSent: 0; BytesReceived: 0; PacketsSent: 0; PacketsReceived: 0
|
457
|
[Interface]: api_getLANHostIP
|
458
|
[Result]: PASS
|
459
|
[Return Value]: 0
|
460
|
[Time]: 3
|
461
|
[Input]:
|
462
|
[Output]: LocalIP: 192.168.1.1; Submask: 255.255.255.0
|
463
|
[Interface]: api_setLANHostIP
|
464
|
[Result]: PASS
|
465
|
[Return Value]: 0
|
466
|
[Time]: 6
|
467
|
[Input]: LocalIP: 192.168.1.1; Submask: 255.255.255.0
|
468
|
[Output]:
|
469
|
[Interface]: api_getLANDHCPInfo
|
470
|
[Result]: PASS
|
471
|
[Return Value]: 0
|
472
|
[Time]: 3
|
473
|
[Input]:
|
474
|
[Output]: EnableDHCPServer: 1; DHCPStartIP: 192.168.1.2; DHCPEndIP: 192.168.1.254; DHCPDuration: 86400
|
475
|
[Interface]: api_setLANDHCPInfo
|
476
|
[Result]: PASS
|
477
|
[Return Value]: 0
|
478
|
[Time]: 6
|
479
|
[Input]: EnableDHCPServer: 1; DHCPStartIP: 192.168.1.2; DHCPEndIP: 192.168.1.254; DHCPDuration: 86400
|
480
|
[Output]:
|
481
|
[Interface]: api_addPortMapping
|
482
|
[Result]: FAIL
|
483
|
[Return Value]: -1
|
484
|
[Time]: 5
|
485
|
[Input]: wanIndex: 1; externalPort: 80; internalPort: 50001; portMappingProtocol: TCP; internalClient: 192.168.1.100
|
486
|
[Output]: Fail Line: 521
|
487
|
[Interface]: api_addPortMapping
|
488
|
[Result]: FAIL
|
489
|
[Return Value]: -1
|
490
|
[Time]: 7
|
491
|
[Input]: wanIndex: 1; externalPort: 80; internalPort: 50001; portMappingProtocol: UDP; internalClient: 192.168.1.100
|
492
|
[Output]: Fail Line: 538
|
493
|
[Interface]: api_getPortMappingInfo
|
494
|
[Result]: PASS
|
495
|
[Return Value]: 0
|
496
|
[Time]: 8
|
497
|
[Input]:
|
498
|
[Output]: objNum: 0;
|
499
|
[Interface]: api_releasePortMappingInfo
|
500
|
[Result]: PASS
|
501
|
[Return Value]: 0
|
502
|
[Time]: 0
|
503
|
[Input]: objNum: 0
|
504
|
[Output]:
|
505
|
[Interface]: api_getIPv6LANConfig
|
506
|
[Result]: PASS
|
507
|
[Return Value]: 0
|
508
|
[Time]: 3
|
509
|
[Input]:
|
510
|
[Output]: LocalAddress: fe80::1; ConfigType: HGWProxy; DNSWAN: ; Servers: ; PrefixMode: WANDelegated; DelegatedWAN: /com/cuc/igd1/Info/Network/WANConnectionDb/1; Prefix: ; PreferredLifeTime:0; ValidLifeTime:0
|
511
|
[Interface]: api_setIPv6LANConfig
|
512
|
[Result]: PASS
|
513
|
[Return Value]: 0
|
514
|
[Time]: 3
|
515
|
[Input]: LocalAddress: fe80::1; ConfigType: HGWProxy; DNSWAN: ; Servers: ; PrefixMode: WANDelegated; DelegatedWAN: /com/cuc/igd1/Info/Network/WANConnectionDb/1; Prefix: ; PreferredLifeTime:0; ValidLifeTime:0
|
516
|
[Output]:
|
517
|
[Interface]: api_getDHCPv6Server
|
518
|
[Result]: PASS
|
519
|
[Return Value]: 0
|
520
|
[Time]: 3
|
521
|
[Input]:
|
522
|
[Output]: Enable: 1; MinAddress: 0000:0000:0000:0001; MaxAddress: 0000:0000:0000:00fe; PreferredLifeTime: 0; ValidLifeTime:0; Option16Enable:1; Option17Enable:1
|
523
|
[Interface]: api_setDHCPv6Server
|
524
|
[Result]: PASS
|
525
|
[Return Value]: 0
|
526
|
[Time]: 3
|
527
|
[Input]: Enable: 1; MinAddress: 0000:0000:0000:0001; MaxAddress: 0000:0000:0000:00fe; PreferredLifeTime: 0; ValidLifeTime:0; Option16Enable:1; Option17Enable:1
|
528
|
[Output]:
|
529
|
[Interface]: api_getRouterAdvertisement
|
530
|
[Result]: PASS
|
531
|
[Return Value]: 0
|
532
|
[Time]: 0
|
533
|
[Input]:
|
534
|
[Output]: Enable: 1; MaxRtrAdvInterval: 600; MinRtrAdvInterval: 200; AdvManagedFlag: 0; AdvOtherConfigFlag: 1
|
535
|
[Interface]: api_setRouterAdvertisement
|
536
|
[Result]: PASS
|
537
|
[Return Value]: 0
|
538
|
[Time]: 3
|
539
|
[Input]: Enable: 1; MaxRtrAdvInterval: 600; MinRtrAdvInterval: 200; AdvManagedFlag: 0; AdvOtherConfigFlag: 1
|
540
|
[Output]:
|
541
|
[Interface]: api_getDeviceDefaultSSID1Name
|
542
|
[Result]: PASS
|
543
|
[Return Value]: -50
|
544
|
[Time]: 0
|
545
|
[Input]:
|
546
|
[Output]: api_getDeviceDefaultSSID1Name::Gateway not support wifi
|
547
|
[Interface]: api_getDeviceDefaultSSID1Password
|
548
|
[Result]: PASS
|
549
|
[Return Value]: 0
|
550
|
[Time]: 3
|
551
|
[Input]:
|
552
|
[Output]: Passwd:
|
553
|
[Interface]: api_setWLANHardwareSwitch
|
554
|
[Result]: PASS
|
555
|
[Return Value]: -50
|
556
|
[Time]: 0
|
557
|
[Input]:
|
558
|
[Output]: set 2.4G close, Gateway not support wifi
|
559
|
[Interface]: api_setWLANHardwareSwitch
|
560
|
[Result]: PASS
|
561
|
[Return Value]: -50
|
562
|
[Time]: 0
|
563
|
[Input]:
|
564
|
[Output]: set 2.4G open, Gateway not support wifi
|
565
|
[Interface]: api_setWLANHardwareSwitch
|
566
|
[Result]: PASS
|
567
|
[Return Value]: -50
|
568
|
[Time]: 0
|
569
|
[Input]:
|
570
|
[Output]: set 5G close, Gateway not support wifi
|
571
|
[Interface]: api_setWLANHardwareSwitch
|
572
|
[Result]: PASS
|
573
|
[Return Value]: -50
|
574
|
[Time]: 0
|
575
|
[Input]:
|
576
|
[Output]: set 5G open, Gateway not support wifi
|
577
|
[Interface]: api_getWLANHardwareSwitch
|
578
|
[Result]: PASS
|
579
|
[Return Value]: -50
|
580
|
[Time]: 0
|
581
|
[Input]:
|
582
|
[Output]: 2.4G, Gateway not support wifi
|
583
|
[Interface]: api_getWLANHardwareSwitch
|
584
|
[Result]: PASS
|
585
|
[Return Value]: -50
|
586
|
[Time]: 0
|
587
|
[Input]:
|
588
|
[Output]: 5G, Gateway not support wifi
|
589
|
[Interface]: api_getWLANSSIDPassword
|
590
|
[Result]: PASS
|
591
|
[Return Value]: -50
|
592
|
[Time]: 0
|
593
|
[Input]:
|
594
|
[Output]: api_getWLANSSIDPassword::Gateway not support wifi
|
595
|
[Interface]: api_setWLANSSIDSwitch
|
596
|
[Result]: PASS
|
597
|
[Return Value]: -50
|
598
|
[Time]: 0
|
599
|
[Input]:
|
600
|
[Output]: api_setWLANSSIDSwitch::Gateway not support wifi
|
601
|
[Interface]: api_setWLANStandard
|
602
|
[Result]: PASS
|
603
|
[Return Value]: -50
|
604
|
[Time]: 0
|
605
|
[Input]:
|
606
|
[Output]: 2.4G n, Gateway not support wifi
|
607
|
[Interface]: api_setWLANStandard
|
608
|
[Result]: PASS
|
609
|
[Return Value]: -50
|
610
|
[Time]: 0
|
611
|
[Input]:
|
612
|
[Output]: 5G a, Gateway not support wifi
|
613
|
[Interface]: api_setWLANRadioChannel
|
614
|
[Result]: PASS
|
615
|
[Return Value]: -50
|
616
|
[Time]: 0
|
617
|
[Input]:
|
618
|
[Output]: api_setWLANRadioChannel::2.4G, Gateway not support wifi
|
619
|
[Interface]: api_setWLANRadioChannel
|
620
|
[Result]: PASS
|
621
|
[Return Value]: -50
|
622
|
[Time]: 0
|
623
|
[Input]:
|
624
|
[Output]: api_setWLANRadioChannel::5G, Gateway not support wifi
|
625
|
[Interface]: api_setWLANRadioPower
|
626
|
[Result]: PASS
|
627
|
[Return Value]: -50
|
628
|
[Time]: 0
|
629
|
[Input]:
|
630
|
[Output]: 2.4G, Gateway not support wifi
|
631
|
[Interface]: api_setWLANRadioPower
|
632
|
[Result]: PASS
|
633
|
[Return Value]: -50
|
634
|
[Time]: 0
|
635
|
[Input]:
|
636
|
[Output]: 5G, Gateway not support wifi
|
637
|
[Interface]: api_setWLANRadioFrequencyWidth
|
638
|
[Result]: PASS
|
639
|
[Return Value]: -50
|
640
|
[Time]: 0
|
641
|
[Input]:
|
642
|
[Output]: 2.4G, Gateway not support wifi
|
643
|
[Interface]: api_setWLANRadioFrequencyWidth
|
644
|
[Result]: PASS
|
645
|
[Return Value]: -50
|
646
|
[Time]: 0
|
647
|
[Input]:
|
648
|
[Output]: 5G, Gateway not support wifi
|
649
|
[Interface]: api_getWLANRadioInfo
|
650
|
[Result]: PASS
|
651
|
[Return Value]: -50
|
652
|
[Time]: 0
|
653
|
[Input]:
|
654
|
[Output]: 2.4G, Gateway not support wifi
|
655
|
[Interface]: api_getWLANRadioInfo
|
656
|
[Result]: PASS
|
657
|
[Return Value]: -50
|
658
|
[Time]: 0
|
659
|
[Input]:
|
660
|
[Output]: 5G, Gateway not support wifi
|
661
|
[Interface]: api_setGuestSSID
|
662
|
[Result]: PASS
|
663
|
[Return Value]: -50
|
664
|
[Time]: 0
|
665
|
[Input]:
|
666
|
[Output]: api_setGuestSSID::Gateway not support wifi
|
667
|
[Interface]: api_getGuestSSIDInfo
|
668
|
[Result]: PASS
|
669
|
[Return Value]: -50
|
670
|
[Time]: 0
|
671
|
[Input]:
|
672
|
[Output]: api_getGuestSSIDInfo::Gateway not support wifi
|
673
|
[Interface]: api_releaseGuestSSIDInfo
|
674
|
[Result]: PASS
|
675
|
[Return Value]: -1
|
676
|
[Time]: 0
|
677
|
[Input]:
|
678
|
[Output]: api_releaseGuestSSIDInfo::Gateway not support wifi
|
679
|
[Interface]: api_setWLANSSIDSecurity
|
680
|
[Result]: PASS
|
681
|
[Return Value]: -50
|
682
|
[Time]: 0
|
683
|
[Input]:
|
684
|
[Output]: api_setWLANSSIDSecurity::Gateway not support wifi
|
685
|
[Interface]: api_setWLANSSIDAdvertisement
|
686
|
[Result]: PASS
|
687
|
[Return Value]: -50
|
688
|
[Time]: 0
|
689
|
[Input]:
|
690
|
[Output]: api_setWLANSSIDAdvertisement::Gateway not support wifi
|
691
|
[Interface]: api_getWLANSSIDInfo
|
692
|
[Result]: PASS
|
693
|
[Return Value]: -50
|
694
|
[Time]: 0
|
695
|
[Input]:
|
696
|
[Output]: api_getWLANSSIDInfo::Gateway not support wifi
|
697
|
[Interface]: api_getWLANSSIDStats
|
698
|
[Result]: PASS
|
699
|
[Return Value]: -50
|
700
|
[Time]: 0
|
701
|
[Input]:
|
702
|
[Output]: api_getWLANSSIDStats::Gateway not support wifi
|
703
|
[Interface]: api_getWLANNeighbor
|
704
|
[Result]: PASS
|
705
|
[Return Value]: -50
|
706
|
[Time]: 0
|
707
|
[Input]:
|
708
|
[Output]: 2.4G, Gateway not support wifi
|
709
|
[Interface]: api_getWLANNeighbor
|
710
|
[Result]: PASS
|
711
|
[Return Value]: -50
|
712
|
[Time]: 0
|
713
|
[Input]:
|
714
|
[Output]: api_getWLANNeighbor::5G, Gateway not support wifi
|
715
|
[Interface]: api_getWLANHostInfo
|
716
|
[Result]: PASS
|
717
|
[Return Value]: -50
|
718
|
[Time]: 0
|
719
|
[Input]:
|
720
|
[Output]: api_getWLANHostInfo::Gateway not support wifi
|
721
|
[Interface]: api_releaseWLANHostInfo
|
722
|
[Result]: PASS
|
723
|
[Return Value]: -1
|
724
|
[Time]: 0
|
725
|
[Input]:
|
726
|
[Output]: api_releaseWLANHostInfo::Gateway not support wifi
|
727
|
[Interface]: api_SetSSIDMerge
|
728
|
[Result]: PASS
|
729
|
[Return Value]: -1
|
730
|
[Time]: 0
|
731
|
[Input]:
|
732
|
[Output]: devWifi=[0],Gateway not support wifi or only wifi 2.4G
|
733
|
[Interface]: api_CancelSSIDMerge
|
734
|
[Result]: PASS
|
735
|
[Return Value]: -1
|
736
|
[Time]: 0
|
737
|
[Input]:
|
738
|
[Output]: devWifi=[0],Gateway not support wifi or only wifi 2.4G
|
739
|
[Interface]: FastSSID
|
740
|
[Result]: PASS
|
741
|
[Return Value]: -50
|
742
|
[Time]: 0
|
743
|
[Input]:
|
744
|
[Output]: api_setFastSSID::Gateway not support wifi
|
745
|
[Interface]: api_setWLANSSIDAccessRule
|
746
|
[Result]: PASS
|
747
|
[Return Value]: -1
|
748
|
[Time]: 0
|
749
|
[Input]:
|
750
|
[Output]: Gateway not support wifi
|
751
|
[Interface]: api_getWLANSSIDAccessRule
|
752
|
[Result]: PASS
|
753
|
[Return Value]: -1
|
754
|
[Time]: 0
|
755
|
[Input]:
|
756
|
[Output]: Gateway not support wifi
|
757
|
[Interface]: api_getLANHostInfoByMAC
|
758
|
[Result]: PASS
|
759
|
[Return Value]: 0
|
760
|
[Time]: 10
|
761
|
[Input]: iHostMAC:
|
762
|
[Output]: objNum: 2; {Class: OFFLINE; MAC: 000000000000; DhcpName: ; DeviceName: ; IP: ; DevType: Other; ConnectInterface: LAN0; OnlineTime: 0; StorageAccessStatus: ON} {Class: OFFLINE; MAC: 000000000000; DhcpName: ; DeviceName: ; IP: ; DevType: Other; ConnectInterface: LAN0; OnlineTime: 0; StorageAccessStatus: ON}
|
763
|
[Interface]: api_releaseLANHostInfoByMAC
|
764
|
[Result]: PASS
|
765
|
[Return Value]: 0
|
766
|
[Time]: 0
|
767
|
[Input]: objNum: 2
|
768
|
[Output]:
|
769
|
[Interface]: api_getLANHostInfoByInterface
|
770
|
[Result]: PASS
|
771
|
[Return Value]: -50
|
772
|
[Time]: 0
|
773
|
[Input]:
|
774
|
[Output]: Gateway not support wifi
|
775
|
[Interface]: api_getLANHostInfoByInterface
|
776
|
[Result]: PASS
|
777
|
[Return Value]: 0
|
778
|
[Time]: 8
|
779
|
[Input]: ConnectInterface: LAN1
|
780
|
[Output]: objNum: 0;
|
781
|
[Interface]: api_releaseLANHostInfoByInterface
|
782
|
[Result]: PASS
|
783
|
[Return Value]: 0
|
784
|
[Time]: 0
|
785
|
[Input]: objNum: 0
|
786
|
[Output]:
|
787
|
[Interface]: api_getLANHostInfoByClass
|
788
|
[Result]: PASS
|
789
|
[Return Value]: 0
|
790
|
[Time]: 11
|
791
|
[Input]: HostClass: ONLINE
|
792
|
[Output]: objNum: 0;
|
793
|
[Interface]: api_releaseLANHostInfoByClass
|
794
|
[Result]: PASS
|
795
|
[Return Value]: 0
|
796
|
[Time]: 0
|
797
|
[Input]: objNum: 0
|
798
|
[Output]:
|
799
|
[Interface]: api_getLANHostStats
|
800
|
[Result]: PASS
|
801
|
[Return Value]: 0
|
802
|
[Time]: 8
|
803
|
[Input]: HostMac:
|
804
|
[Output]: objNum: 2; {UsStats: 0; DsStats: 0} {UsStats: 0; DsStats: 0}
|
805
|
[Interface]: api_releaseLANHostStats
|
806
|
[Result]: PASS
|
807
|
[Return Value]: 0
|
808
|
[Time]: 0
|
809
|
[Input]: objNum: 2
|
810
|
[Output]:
|
811
|
[Interface]: api_getLANHostSpeedLimitInfo
|
812
|
[Result]: PASS
|
813
|
[Return Value]: 0
|
814
|
[Time]: 8
|
815
|
[Input]: HostMac:
|
816
|
[Output]: objNum: 2; {UpSpeed: 0; DownSpeed: 0} {UpSpeed: 0; DownSpeed: 0}
|
817
|
[Interface]: api_releaseLANHostSpeedLimitInfo
|
818
|
[Result]: PASS
|
819
|
[Return Value]: 0
|
820
|
[Time]: 0
|
821
|
[Input]: objNum: 2
|
822
|
[Output]:
|
823
|
[Interface]: api_getLANHostInfo
|
824
|
[Result]: PASS
|
825
|
[Return Value]: 0
|
826
|
[Time]: 8
|
827
|
[Input]:
|
828
|
[Output]: objNum: 2; {MAC: 000000000000; HostClass: OFFLINE; HostName: ; DevName: ; IP: ; DevType: Other; ConnectDevice: 0; ConnectDeviceMAC: 000000000000; ConnectDeviceSN: ; ConnectInterface: LAN0; ConnectionType: 0; SSIDName: ; Channel: 0; Antenna: ; Protocol: ; RadioType: ; FrequencyWidth: ; Speedupstate: 0; RSSI: 0; Speed: 0M; Noise: 0; SNR: 0; Brand: ; OS: ; Model: ; SWVersion: ; KernelVersion: ; OnlineTime: 0; UsBandwidth: 0; DsBandwidth: 0; UsGuaranteeBandwidth: 0; DsGuaranteeBandwidth: 0; UpSpeed: 0; DownSpeed: 0; RxBytes: 0; TxBytes: 0} {MAC: 000000000000; HostClass: OFFLINE; HostName: ; DevName: ; IP: ; DevType: Other; ConnectDevice: 0; ConnectDeviceMAC: 000000000000; ConnectDeviceSN: ; ConnectInterface: LAN0; ConnectionType: 0; SSIDName: ; Channel: 0; Antenna: ; Protocol: ; RadioType: ; FrequencyWidth: ; Speedupstate: 0; RSSI: 0; Speed: 0M; Noise: 0; SNR: 0; Brand: ; OS: ; Model: ; SWVersion: ; KernelVersion: ; OnlineTime: 0; UsBandwidth: 0; DsBandwidth: 0; UsGuaranteeBandwidth: 0; DsGuaranteeBandwidth: 0; UpSpeed: 0; DownSpeed: 0; RxBytes: 0; TxBytes: 0}
|
829
|
[Interface]: api_releaseLANHostInfo
|
830
|
[Result]: PASS
|
831
|
[Return Value]: 0
|
832
|
[Time]: 0
|
833
|
[Input]: objNum: 2
|
834
|
[Output]:
|
835
|
[Interface]: api_setLANHostName
|
836
|
[Result]: FAIL
|
837
|
[Return Value]: -1
|
838
|
[Time]: 9
|
839
|
[Input]: HostMac: ; HostName: testHost
|
840
|
[Output]: Fail Line: 1001
|
841
|
[Interface]: api_setLANHostName
|
842
|
[Result]: PASS
|
843
|
[Return Value]: -2
|
844
|
[Time]: 0
|
845
|
[Input]: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
846
|
[Output]:
|
847
|
[Interface]: api_setLANHostType
|
848
|
[Result]: FAIL
|
849
|
[Return Value]: -1
|
850
|
[Time]: 8
|
851
|
[Input]: HostMac: ; HostType: PC
|
852
|
[Output]: Fail Line: 1075
|
853
|
[Interface]: api_setLANHostType
|
854
|
[Result]: PASS
|
855
|
[Return Value]: -2
|
856
|
[Time]: 0
|
857
|
[Input]: HostMac: ; HostType: testLongNameHostType
|
858
|
[Output]:
|
859
|
[Interface]: api_setLANHostSpeedLimit
|
860
|
[Result]: FAIL
|
861
|
[Return Value]: -1
|
862
|
[Time]: 8
|
863
|
[Input]: HostMac: ; UpSpeed: 2048; DownSpeed: 4096
|
864
|
[Output]: Fail Line: 1151
|
865
|
[Interface]: api_setLANHostSpeedLimit
|
866
|
[Result]: FAIL
|
867
|
[Return Value]: -1
|
868
|
[Time]: 9
|
869
|
[Input]: HostMac:
|
870
|
[Output]: Fail Line: 1173
|
871
|
[Interface]: api_setLANHostSpeedLimit
|
872
|
[Result]: FAIL
|
873
|
[Return Value]: -1
|
874
|
[Time]: 8
|
875
|
[Input]: HostMac: ; UpSpeed: 0; DownSpeed: 0
|
876
|
[Output]: Fail Line: 1194
|
877
|
[Interface]: api_setLANHostSpeedLimit
|
878
|
[Result]: FAIL
|
879
|
[Return Value]: -1
|
880
|
[Time]: 340
|
881
|
[Input]: HostMac:
|
882
|
[Output]: Fail Line: 1216
|
883
|
[Interface]: api_getLANHostSpeed
|
884
|
[Result]: FAIL
|
885
|
[Return Value]: -1
|
886
|
[Time]: 9
|
887
|
[Input]: HostMac:
|
888
|
[Output]: Fail Line: 1263
|
889
|
[Interface]: api_addLANHostToBlackList
|
890
|
[Result]: FAIL
|
891
|
[Return Value]: -1
|
892
|
[Time]: 5
|
893
|
[Input]: HostMac:
|
894
|
[Output]: Fail Line: 1307
|
895
|
[Interface]: api_deleteLANHostFromBlackList
|
896
|
[Result]: PASS
|
897
|
[Return Value]: 0
|
898
|
[Time]: 2
|
899
|
[Input]: HostMac:
|
900
|
[Output]:
|
901
|
[Interface]: api_addLANHostToStorageBlackList
|
902
|
[Result]: FAIL
|
903
|
[Return Value]: -1
|
904
|
[Time]: 5
|
905
|
[Input]: HostMac:
|
906
|
[Output]: Fail Line: 1419
|
907
|
[Interface]: api_deleteLANHostFromStorageBlackList
|
908
|
[Result]: PASS
|
909
|
[Return Value]: 0
|
910
|
[Time]: 3
|
911
|
[Input]: HostMac:
|
912
|
[Output]:
|
913
|
[Interface]: api_InformGetData
|
914
|
[Result]: PASS
|
915
|
[Return Value]: 0
|
916
|
[Time]: 516
|
917
|
[Input]:
|
918
|
[Output]: objNum: 1; {pppoe: ; loid: ; ponTXPower: -100.00; ponRXPower: -100.00; szDeviceMac: 081074000061; onlineTime: 58739; recvTraffic: 407796; sendTraffic: 407816; sendSpeed: 407836; recvSpeed: 407852; cpuRate: 1; memRate: 25; szLANMac: (081074000061:081074000061:081074000061:081074000061); ponTemperature: 0.00; deviceNum: 2; {StaOnlineTime: 0; szStaName: ; pszStaType: Other; szStaMac: 000000000000; szStaIP: -1265088766; szStaBrand: ; szStaOS: ; StaWIFIIntensity: 0; StaSpeed: 408120; StaRecvTraffic: 408136; StaSendTraffic: 408160; status: 0; szRadioType: ; szWifiProtocol: ; connectionType: 0; usBandwidth: 0; dsBandwidth: 0; usGuaranteeBandwidth: 0; dsGuaranteeBandwidth: 0; upSpeed: 408364; downSpeed: 408380} {StaOnlineTime: 0; szStaName: ; pszStaType: Other; szStaMac: 000000000000; szStaIP: -1265088238; szStaBrand: ; szStaOS: ; StaWIFIIntensity: 0; StaSpeed: 408120; StaRecvTraffic: 408136; StaSendTraffic: 408160; status: 0; szRadioType: ; szWifiProtocol: ; connectionType: 0; usBandwidth: 0; dsBandwidth: 0; usGuaranteeBandwidth: 0; dsGuaranteeBandwidth: 0; upSpeed: 408364; downSpeed: 408380} }
|
919
|
[Interface]: api_InformReleaseData
|
920
|
[Result]: PASS
|
921
|
[Return Value]: 0
|
922
|
[Time]: 0
|
923
|
[Input]: objNum: 1
|
924
|
[Output]:
|
925
|
[Interface]: api_getPOTSInfo
|
926
|
[Result]: PASS
|
927
|
[Return Value]: 0
|
928
|
[Time]: 7
|
929
|
[Input]:
|
930
|
[Output]: objNum: 1; POTSNum: 1; {POTSIndex: 1; PhoneNumber: ; LineStatus: DISABLE}
|
931
|
[Interface]: api_releasePOTSInfo
|
932
|
[Result]: PASS
|
933
|
[Return Value]: 0
|
934
|
[Time]: 0
|
935
|
[Input]: objNum: 1
|
936
|
[Output]:
|
937
|
[Interface]: api_subscribeVoIPEvent
|
938
|
[Result]: PASS
|
939
|
[Return Value]: 2
|
940
|
[Time]: 3
|
941
|
[Input]: event:
|
942
|
[Output]:
|
943
|
[Interface]: api_unSubscribeVoIPEvent
|
944
|
[Result]: PASS
|
945
|
[Return Value]: 0
|
946
|
[Time]: 0
|
947
|
[Input]: subID: 3
|
948
|
[Output]:
|
949
|
[Interface]: api_getDiagInfo
|
950
|
[Result]: PASS
|
951
|
[Return Value]: 0
|
952
|
[Time]: 15
|
953
|
[Input]:
|
954
|
[Output]: PPPoEUserName: ; MAC: ZTEG00112269; LOID: ; SWVersion: V02.00.1; HDVersion: V02.00.0; ProductClass: ZN501G-D2-G; MainChipClass: HISILICON Hi5662YV200; CPUUsage: 1%; MEMUsage: 25%; FlashUsage: 57%; Temperature: 0.00; WiFiMode: ; RxErrorPkts: 389648; RxDropPkts: 389668; TxErrorPkts: 389688; TxDropPkts: 389708; RSSIList: ; SpeedList: ; WLANNeighborList:
|
955
|
[Interface]: api_subscribeFaultEvent
|
956
|
[Result]: PASS
|
957
|
[Return Value]: 0
|
958
|
[Time]: 0
|
959
|
[Input]: FaultEnable: 1; func: test_api_FaultEventFunc
|
960
|
[Output]:
|
961
|
[Interface]: api_setRedirect
|
962
|
[Result]: FAIL
|
963
|
[Return Value]: -1
|
964
|
[Time]: 7
|
965
|
[Input]: RedirectEnable: 1; RedirectURL: www.baidu.com
|
966
|
[Output]: Fail Line: 144
|
967
|
[Interface]: api_addIPSets
|
968
|
[Result]: PASS
|
969
|
[Return Value]: 0
|
970
|
[Time]: 371
|
971
|
[Input]: {SetName: ipset_hns4;SetType: hash:net;Protocol: 1;Direction: 1;EntryNum: 3;{value: 10.10.10.0/24;value: 10.10.20.0/24;value: 10.10.30.0/24;}}{SetName: ipset_hnd4;SetType: hash:net;Protocol: 1;Direction: 2;EntryNum: 3;{value: 10.20.10.0/24;value: 10.20.20.0/24;value: 10.20.30.0/24;}}{SetName: ipset_hms4;SetType: hash:mac;Protocol: 1;Direction: 1;EntryNum: 3;{value: 6E:61:99:0C:9B:70;value: 6E:61:99:0C:9B:77;value: 6E:61:99:0C:9B:AB;}}{SetName: ipset_hmd4;SetType: hash:mac;Protocol: 1;Direction: 2;EntryNum: 3;{value: 6E:61:90:0C:9B:70;value: 6E:61:09:0C:9B:77;value: 6E:61:79:0C:9B:AB;}}{SetName: ipset_his4;SetType: hash:ip;Protocol: 1;Direction: 1;EntryNum: 3;{value: 172.24.17.3;value: 172.24.57.3;value: 172.24.14.23;}}{SetName: ipset_hid4;SetType: hash:ip;Protocol: 1;Direction: 2;EntryNum: 3;{value: 172.34.17.3;value: 172.34.57.3;value: 172.34.14.23;}}{SetName: ipset_hips4;SetType: hash:ip,port;Protocol: 1;Direction: 1;EntryNum: 3;{value: 172.25.17.3,tcp:10;value: 172.25.57.3,tcp:20;value: 172.25.14.23,tcp:30;}}{SetName: ipset_hipd4;SetType: hash:ip,port;Protocol: 1;Direction: 2;EntryNum: 3;{value: 172.34.17.3,tcp:10;value: 172.34.57.3,tcp:20;value: 172.34.14.23,tcp:30;}}{SetName: ipset_hbps4;SetType: bitmap:port;Protocol: 1;Direction: 1;EntryNum: 3;{value: 2345;value: 4534;value: 23565;}}{SetName: ipset_hbpd4;SetType: bitmap:port;Protocol: 1;Direction: 2;EntryNum: 3;{value: 7686;value: 18000;value: 2000;}}
|
972
|
[Output]:
|
973
|
[Interface]: api_getIPSetsConf
|
974
|
[Result]: PASS
|
975
|
[Return Value]: 0
|
976
|
[Time]: 56
|
977
|
[Input]:
|
978
|
[Output]:
|
979
|
[Interface]: api_releaseIPSetsConf
|
980
|
[Result]: PASS
|
981
|
[Return Value]: 0
|
982
|
[Time]: 0
|
983
|
[Input]:
|
984
|
[Output]:
|
985
|
[Interface]: api_deleteIPSetsEntry
|
986
|
[Result]: PASS
|
987
|
[Return Value]: 0
|
988
|
[Time]: 2387
|
989
|
[Input]:
|
990
|
[Output]:
|
991
|
[Interface]: api_checkIPSetEntry
|
992
|
[Result]: PASS
|
993
|
[Return Value]: 0
|
994
|
[Time]: 85
|
995
|
[Input]:
|
996
|
[Output]:
|
997
|
[Interface]: api_deleteIPSets
|
998
|
[Result]: PASS
|
999
|
[Return Value]: 0
|
1000
|
[Time]: 17
|
1001
|
[Input]:
|
1002
|
[Output]:
|
1003
|
[Interface]: api_getIPSetsInfo
|
1004
|
[Result]: PASS
|
1005
|
[Return Value]: 0
|
1006
|
[Time]: 29
|
1007
|
[Input]:
|
1008
|
[Output]:
|
1009
|
[Interface]: api_releaseIPSetsInfo
|
1010
|
[Result]: PASS
|
1011
|
[Return Value]: 0
|
1012
|
[Time]: 0
|
1013
|
[Input]:
|
1014
|
[Output]:
|
1015
|
[Interface]: api_clearIPSets
|
1016
|
[Result]: PASS
|
1017
|
[Return Value]: 0
|
1018
|
[Time]: 8
|
1019
|
[Input]:
|
1020
|
[Output]:
|
1021
|
[Interface]: api_getIPSetsAllConf
|
1022
|
[Result]: PASS
|
1023
|
[Return Value]: 0
|
1024
|
[Time]: 3
|
1025
|
[Input]:
|
1026
|
[Output]:
|
1027
|
[Interface]: api_releaseIPSetsAllConf
|
1028
|
[Result]: PASS
|
1029
|
[Return Value]: 0
|
1030
|
[Time]: 0
|
1031
|
[Input]:
|
1032
|
[Output]:
|
1033
|
[Interface]: api_getIPSetsAllInfo
|
1034
|
[Result]: PASS
|
1035
|
[Return Value]: 0
|
1036
|
[Time]: 3
|
1037
|
[Input]:
|
1038
|
[Output]:
|
1039
|
[Interface]: api_releaseIPSetsAllInfo
|
1040
|
[Result]: PASS
|
1041
|
[Return Value]: 0
|
1042
|
[Time]: 0
|
1043
|
[Input]:
|
1044
|
[Output]:
|
1045
|
[Interface]: api_setWMMEnable
|
1046
|
[Result]: PASS
|
1047
|
[Return Value]: -50
|
1048
|
[Time]: 0
|
1049
|
[Input]:
|
1050
|
[Output]: Gateway not support wifi
|
1051
|
[Interface]: api_setWMMServiceIPSet
|
1052
|
[Result]: PASS
|
1053
|
[Return Value]: -50
|
1054
|
[Time]: 0
|
1055
|
[Input]:
|
1056
|
[Output]: Gateway not support wifi
|
1057
|
[Interface]: api_getWMMIPSetInfo
|
1058
|
[Result]: PASS
|
1059
|
[Return Value]: -50
|
1060
|
[Time]: 0
|
1061
|
[Input]:
|
1062
|
[Output]: Gateway not support wifi
|
1063
|
[Interface]: api_releaseWMMIPSetInfo
|
1064
|
[Result]: PASS
|
1065
|
[Return Value]: -1
|
1066
|
[Time]: 0
|
1067
|
[Input]:
|
1068
|
[Output]: Gateway not support wifi
|
1069
|
[Interface]: api_deleteWMMServiceIPSet
|
1070
|
[Result]: PASS
|
1071
|
[Return Value]: -50
|
1072
|
[Time]: 0
|
1073
|
[Input]:
|
1074
|
[Output]: Gateway not support wifi
|
1075
|
[Interface]: api_getFirewallL2TPVPNProfile
|
1076
|
[Result]: PASS
|
1077
|
[Return Value]: 0
|
1078
|
[Time]: 3
|
1079
|
[Input]:
|
1080
|
[Output]: MaxL2TPVPN: 6; MaxIPSet: 16; MaxIPSetEntry: 8000
|
1081
|
[Interface]: api_addFirewallL2TPVPN
|
1082
|
[Result]: FAIL
|
1083
|
[Return Value]: -1
|
1084
|
[Time]: 11
|
1085
|
[Input]: Name: L2TPVPN1; InsAddress: 100.0.0.1; UserName: test; Password: test; DestPort: 6555; Enable: 0; Operate: 1; IPSetsInfo: {SetNum: 1; data: {SetName: l2tpvpn1} }
|
1086
|
[Output]: Line[227]: hash:ip add l2tpvpn fail!
|
1087
|
[Interface]: api_getFirewallL2TPVPN
|
1088
|
[Result]: FAIL
|
1089
|
[Return Value]: -1
|
1090
|
[Time]: 2
|
1091
|
[Input]: name: L2TPVPN1
|
1092
|
[Output]: Line[435]: L2TPVPN1 return fail!
|
1093
|
[Interface]: api_releaseFirewallL2TPVPN
|
1094
|
[Result]: FAIL
|
1095
|
[Return Value]: -1
|
1096
|
[Time]: 2
|
1097
|
[Input]:
|
1098
|
[Output]: Line[572]: L2TPVPN1 get fail!
|
1099
|
[Interface]: api_subscribeFirewallL2TPVPNStatus
|
1100
|
[Result]: PASS
|
1101
|
[Return Value]: 0
|
1102
|
[Time]: 0
|
1103
|
[Input]: name: L2TPVPN1
|
1104
|
[Output]:
|
1105
|
[Interface]: api_subscribeFirewallL2TPVPNStatus
|
1106
|
[Result]: PASS
|
1107
|
[Return Value]: 0
|
1108
|
[Time]: 0
|
1109
|
[Input]: name: L2TPVPN2
|
1110
|
[Output]:
|
1111
|
[Interface]: api_getFirewallL2TPVPNStatus
|
1112
|
[Result]: FAIL
|
1113
|
[Return Value]: -1
|
1114
|
[Time]: 3
|
1115
|
[Input]: name: L2TPVPN1
|
1116
|
[Output]: Line[835]: L2TPVPN1 return fail!
|
1117
|
[Interface]: api_getFirewallL2TPVPNProfileStatus
|
1118
|
[Result]: FAIL
|
1119
|
[Return Value]: 0
|
1120
|
[Time]: 25018
|
1121
|
[Input]: name: L2TPVPN1
|
1122
|
[Output]:
|
1123
|
[Interface]: api_getFirewallL2TPVPNProfileStatus
|
1124
|
[Result]: FAIL
|
1125
|
[Return Value]: 0
|
1126
|
[Time]: 25019
|
1127
|
[Input]: name: L2TPVPN2
|
1128
|
[Output]:
|
1129
|
[Interface]: api_releaseFirewallL2TPVPNProfileStatus
|
1130
|
[Result]: PASS
|
1131
|
[Return Value]: 0
|
1132
|
[Time]: 25019
|
1133
|
[Input]:
|
1134
|
[Output]:
|
1135
|
[Interface]: api_releaseFirewallL2TPVPNProfileStatus
|
1136
|
[Result]: PASS
|
1137
|
[Return Value]: 0
|
1138
|
[Time]: 25019
|
1139
|
[Input]:
|
1140
|
[Output]:
|
1141
|
[Interface]: api_getFirewallL2TPVPNAllProfileStatus
|
1142
|
[Result]: FAIL
|
1143
|
[Return Value]: 0
|
1144
|
[Time]: 25019
|
1145
|
[Input]:
|
1146
|
[Output]:
|
1147
|
[Interface]: api_releaseFirewallL2TPVPNAllProfileStatus
|
1148
|
[Result]: PASS
|
1149
|
[Return Value]: 0
|
1150
|
[Time]: 25019
|
1151
|
[Input]:
|
1152
|
[Output]:
|
1153
|
[Interface]: api_unsubscribeFirewallL2TPVPNStatus
|
1154
|
[Result]: PASS
|
1155
|
[Return Value]: -1
|
1156
|
[Time]: 0
|
1157
|
[Input]: name: L2TPVPN1
|
1158
|
[Output]:
|
1159
|
[Interface]: api_unsubscribeFirewallL2TPVPNStatus
|
1160
|
[Result]: PASS
|
1161
|
[Return Value]: -1
|
1162
|
[Time]: 0
|
1163
|
[Input]: name: L2TPVPN2
|
1164
|
[Output]:
|
1165
|
[Interface]: api_deleteFirewallL2TPVPN
|
1166
|
[Result]: FAIL
|
1167
|
[Return Value]: -1
|
1168
|
[Time]: 0
|
1169
|
[Input]: name: L2TPVPN1
|
1170
|
[Output]: Line[324]: delete L2TPVPN1 fail!
|
1171
|
[Interface]: api_getNetworkAccelerationProfile
|
1172
|
[Result]: PASS
|
1173
|
[Return Value]: 0
|
1174
|
[Time]: 25019
|
1175
|
[Input]:
|
1176
|
[Output]: MaxNetworkAcceleration: 286660670; MaxIPSet: 1; MaxIPSetEntry: 3198458520
|
1177
|
[Interface]: api_addFirewallNetworkAcceleration
|
1178
|
[Result]: FAIL
|
1179
|
[Return Value]: -1
|
1180
|
[Time]: 25019
|
1181
|
[Input]:
|
1182
|
[Output]: Line[206]: [hash:ip] add ipset fail!
|
1183
|
[Interface]: api_getFirewallNetworkAcceleration
|
1184
|
[Result]: FAIL
|
1185
|
[Return Value]: -1
|
1186
|
[Time]: 25019
|
1187
|
[Input]: name: Acceleration1
|
1188
|
[Output]: Line[435]: Acceleration1 return fail!
|
1189
|
[Interface]: api_releaseFirewallNetworkAcceleration
|
1190
|
[Result]: FAIL
|
1191
|
[Return Value]: -1
|
1192
|
[Time]: 25019
|
1193
|
[Input]:
|
1194
|
[Output]: Line[574]: Acceleration1 get fail!
|
1195
|
[Interface]: api_getNetworkAccelerationProfileStatus
|
1196
|
[Result]: FAIL
|
1197
|
[Return Value]: 0
|
1198
|
[Time]: 25019
|
1199
|
[Input]: name: Acceleration1
|
1200
|
[Output]:
|
1201
|
[Interface]: api_getNetworkAccelerationProfileStatus
|
1202
|
[Result]: FAIL
|
1203
|
[Return Value]: 0
|
1204
|
[Time]: 25025
|
1205
|
[Input]: name: Acceleration2
|
1206
|
[Output]:
|
1207
|
[Interface]: api_releaseNetworkAccelerationProfileStatus
|
1208
|
[Result]: PASS
|
1209
|
[Return Value]: 0
|
1210
|
[Time]: 25023
|
1211
|
[Input]:
|
1212
|
[Output]:
|
1213
|
[Interface]: api_releaseNetworkAccelerationProfileStatus
|
1214
|
[Result]: PASS
|
1215
|
[Return Value]: 0
|
1216
|
[Time]: 50043
|
1217
|
[Input]:
|
1218
|
[Output]:
|
1219
|
[Interface]: api_getNetworkAccelerationAllProfileStatus
|
1220
|
[Result]: FAIL
|
1221
|
[Return Value]: 0
|
1222
|
[Time]: 25019
|
1223
|
[Input]:
|
1224
|
[Output]:
|
1225
|
[Interface]: api_releaseNetworkAccelerationAllProfileStatus
|
1226
|
[Result]: PASS
|
1227
|
[Return Value]: 0
|
1228
|
[Time]: 25025
|
1229
|
[Input]:
|
1230
|
[Output]:
|
1231
|
[Interface]: api_deleteFirewallNetworkAcceleration
|
1232
|
[Result]: FAIL
|
1233
|
[Return Value]: -1
|
1234
|
[Time]: 0
|
1235
|
[Input]: name: Acceleration1
|
1236
|
[Output]: Line[324]: delete Acceleration1 fail!
|
1237
|
[Interface]: api_getRunIPTables
|
1238
|
[Result]: FAIL
|
1239
|
[Return Value]: -1
|
1240
|
[Time]: 0
|
1241
|
[Input]:
|
1242
|
[Output]: Fail Line: 117, -L -t nat
|
1243
|
[Interface]: api_releaseRunIPTables
|
1244
|
[Result]: FAIL
|
1245
|
[Return Value]: -1
|
1246
|
[Time]: 0
|
1247
|
[Input]:
|
1248
|
[Output]: Fail Line: 249, -L -t nat
|
1249
|
[Interface]: api_getRunIP6Tables
|
1250
|
[Result]: FAIL
|
1251
|
[Return Value]: -1
|
1252
|
[Time]: 0
|
1253
|
[Input]:
|
1254
|
[Output]: Fail Line: 300, -S
|
1255
|
[Interface]: api_releaseRunIP6Tables
|
1256
|
[Result]: FAIL
|
1257
|
[Return Value]: -1
|
1258
|
[Time]: 0
|
1259
|
[Input]:
|
1260
|
[Output]: Fail Line: 432, -S
|
1261
|
[Interface]: api_getTrafficControlProfile
|
1262
|
[Result]: PASS
|
1263
|
[Return Value]: 0
|
1264
|
[Time]: 25022
|
1265
|
[Input]:
|
1266
|
[Output]: MaxTrafficControl: 286660670; MaxIPSet: 1; MaxIPSetEntry: 3198458520
|
1267
|
[Interface]: api_addFirewallTrafficControl
|
1268
|
[Result]: FAIL
|
1269
|
[Return Value]: -1
|
1270
|
[Time]: 25019
|
1271
|
[Input]:
|
1272
|
[Output]: Line[176]: add ipset fail!
|
1273
|
[Interface]: api_getFirewallTrafficControl
|
1274
|
[Result]: FAIL
|
1275
|
[Return Value]: -1
|
1276
|
[Time]: 25023
|
1277
|
[Input]: name: Traffic1
|
1278
|
[Output]: Line[287]: return fail!
|
1279
|
[Interface]: api_releaseFirewallTrafficControl
|
1280
|
[Result]: FAIL
|
1281
|
[Return Value]: -1
|
1282
|
[Time]: 25025
|
1283
|
[Input]:
|
1284
|
[Output]: Line[347]: get fail!
|
1285
|
[Interface]: api_getTrafficControlProfileStatus
|
1286
|
[Result]: FAIL
|
1287
|
[Return Value]: 0
|
1288
|
[Time]: 25020
|
1289
|
[Input]: name: Traffic1
|
1290
|
[Output]:
|
1291
|
[Interface]: api_releaseTrafficControlProfileStatus
|
1292
|
[Result]: PASS
|
1293
|
[Return Value]: 0
|
1294
|
[Time]: 25019
|
1295
|
[Input]:
|
1296
|
[Output]:
|
1297
|
[Interface]: api_getTrafficControlAllProfileStatus
|
1298
|
[Result]: FAIL
|
1299
|
[Return Value]: 0
|
1300
|
[Time]: 25019
|
1301
|
[Input]:
|
1302
|
[Output]:
|
1303
|
[Interface]: api_releaseTrafficControlAllProfileStatus
|
1304
|
[Result]: PASS
|
1305
|
[Return Value]: 0
|
1306
|
[Time]: 25019
|
1307
|
[Input]:
|
1308
|
[Output]:
|
1309
|
[Interface]: api_deleteFirewallTrafficControl
|
1310
|
[Result]: FAIL
|
1311
|
[Return Value]: -1
|
1312
|
[Time]: 0
|
1313
|
[Input]: name: Traffic1
|
1314
|
[Output]: Line[229]: delete traffic control fail!
|
1315
|
test capi num 198; Total duration of test 790740; Average Time 3993.636364(s)
|
1316
|
**************************************************************************
|
1317
|
****************** CAPI TEST RESULT STATS ******************
|
1318
|
**************************************************************************
|
1319
|
[TestCase] Total: 218; Pass: 158; Fail: 60
|
1320
|
[Result] FAIL, Plese check the log for details!
|
1321
|
TestTime:2025-2-11 10:9:39
|
1322
|
ProductClass:ZN501G-D2-G
|
1323
|
The progamming will quit after 5s!
|