1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
|
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright (c) 2021, Cisco Systems
# GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt)
DOCUMENTATION = r"""
---
module: sensor
short_description: Resource module for Sensor
description:
- Manage operations create and delete of the resource Sensor.
- Intent API to create a SENSOR test template with a new SSID, existing SSID, or both new and existing SSID.
- Intent API to delete an existing SENSOR test template.
version_added: '3.1.0'
extends_documentation_fragment:
- cisco.dnac.module
author: Rafael Campos (@racampos)
options:
apCoverage:
description: Sensor's apCoverage.
elements: dict
suboptions:
bands:
description: The WIFI bands.
type: str
numberOfApsToTest:
description: Number of APs to test.
type: int
rssiThreshold:
description: RSSI threshold.
type: int
type: list
connection:
description: Connection type of test WIRED, WIRELESS, BOTH.
type: str
encryptionMode:
description: Encryption mode.
type: str
locationInfoList:
description: Sensor's locationInfoList.
elements: dict
suboptions:
allSensors:
description: Use all sensors in the site for test.
type: bool
customManagementVlan:
description: Custom Management VLAN.
type: bool
locationId:
description: Site UUID.
type: str
locationType:
description: Site type.
type: str
macAddressList:
description: MAC addresses.
elements: str
type: list
managementVlan:
description: Management VLAN.
type: str
siteHierarchy:
description: Site name hierarhy.
type: str
type: list
modelVersion:
description: Test template object model version (must be 2).
type: int
name:
description: The sensor test template name.
type: str
profiles:
description: Sensor's profiles.
elements: dict
suboptions:
authProtocol:
description: Auth protocol.
type: str
authType:
description: Authentication type OPEN, WPA2_PSK, WPA2_EaP, WEB_AUTH, MAB, DOT1X,
OTHER.
type: str
certdownloadurl:
description: Certificate download URL.
type: str
certfilename:
description: Auth certificate file name.
type: str
certpassphrase:
description: Certificate password phrase.
type: str
certstatus:
description: Certificate status INACTIVE or ACTIVE.
type: str
certxferprotocol:
description: Certificate transfering protocol HTTP or HTTPS.
type: str
deviceType:
description: Device Type.
type: str
eapMethod:
description: WPA2_EAP methods EAP-FAST, PEAP-MSCHAPv2, EAP-TLS, PEAP-TLS, EAP-TTLS-MSCHAPv2,
EAP-TTLS-PAP, EAP-TTLS-CHAP, EAP-FAST-GTC, EAP-PEAP-GTC.
type: str
extWebAuth:
description: Indication of using external WEB Auth.
type: bool
extWebAuthAccessUrl:
description: External WEB Auth access URL.
type: str
extWebAuthHtmlTag:
description: Sensor's extWebAuthHtmlTag.
elements: dict
suboptions:
label:
description: Label.
type: str
tag:
description: Tag.
type: str
value:
description: Value.
type: str
type: list
extWebAuthPortal:
description: External authentication portal.
type: str
extWebAuthVirtualIp:
description: External WEB Auth virtual IP.
type: str
locationVlanList:
description: Sensor's locationVlanList.
elements: dict
suboptions:
locationId:
description: Site UUID.
type: str
vlans:
description: Array of VLANs.
elements: str
type: list
type: list
password:
description: Password string for onboarding SSID.
type: str
passwordType:
description: SSID password type ASCII or HEX.
type: str
profileName:
description: Profile name.
type: str
psk:
description: Password of SSID when passwordType is ASCII.
type: str
qosPolicy:
description: QoS policy PlATINUM, GOLD, SILVER, BRONZE.
type: str
scep:
description: Secure certificate enrollment protocol true or false or null for
not applicable.
type: bool
tests:
description: Sensor's tests.
elements: dict
suboptions:
config:
description: Sensor's config.
elements: dict
suboptions:
direction:
description: IPerf direction (UPLOAD, DOWNLOAD, BOTH).
type: str
domains:
description: DNS domain name.
elements: str
type: list
downlinkTest:
description: Downlink test.
type: bool
endPort:
description: IPerf end port.
type: int
exitCommand:
description: Exit command.
type: str
finalPrompt:
description: Final prompt.
type: str
ndtServer:
description: NDT server.
type: str
ndtServerPath:
description: NDT server path.
type: str
ndtServerPort:
description: NDT server port.
type: str
numPackets:
description: Number of packets.
type: int
password:
description: Password.
type: str
passwordPrompt:
description: Password prompt.
type: str
pathToDownload:
description: File path for file transfer.
type: str
port:
description: Radius or WEB server port.
type: int
probeType:
description: Probe type.
type: str
protocol:
description: Protocol used by file transfer, IPerf, mail server, and
radius (TCP, UDP, FTP, POP3, IMAP, CHAP, PAP).
type: str
proxyPassword:
description: Proxy password.
type: str
proxyPort:
description: Proxy port.
type: str
proxyServer:
description: Proxy server.
type: str
proxyUserName:
description: Proxy user name.
type: str
server:
description: Ping, file transfer, mail, radius, ssh, or telnet server.
type: str
servers:
description: IPerf server list.
elements: str
type: list
sharedSecret:
description: Shared secret.
type: str
startPort:
description: IPerf start port.
type: int
transferType:
description: File transfer type (UPLOAD, DOWNLOAD, BOTH).
type: str
udpBandwidth:
description: IPerf UDP bandwidth.
type: int
uplinkTest:
description: Uplink test.
type: bool
url:
description: URL.
type: str
userName:
description: User name.
type: str
userNamePrompt:
description: User name prompt.
type: str
type: list
name:
description: Name of the test.
type: str
type: list
username:
description: User name string for onboarding SSID.
type: str
vlan:
description: VLAN.
type: str
whiteList:
description: Indication of being on allowed list.
type: bool
type: list
runNow:
description: Run now (YES, NO).
type: str
sensors:
description: Sensor's sensors.
elements: dict
suboptions:
allSensorAddition:
description: Is all sensor addition.
type: bool
assigned:
description: Is assigned.
type: bool
configUpdated:
description: Configuration updated YES, NO.
type: str
hostName:
description: Host name.
type: str
iPerfInfo:
description: A string-stringList iPerf information.
type: dict
id:
description: Sensor ID.
type: str
ipAddress:
description: IP address.
type: str
locationId:
description: Site UUID.
type: str
macAddress:
description: MAC address.
type: str
markedForUninstall:
description: Is marked for uninstall.
type: bool
name:
description: Sensor name.
type: str
runNow:
description: Run now YES, NO.
type: str
sensorType:
description: Sensor type.
type: str
servicePolicy:
description: Service policy.
type: str
status:
description: Sensor device status UP, DOWN, REBOOT.
type: str
switchMac:
description: Switch MAC address.
type: str
switchSerialNumber:
description: Switch serial number.
type: str
switchUuid:
description: Switch device UUID.
type: str
targetAPs:
description: Array of target APs.
elements: str
type: list
testMacAddresses:
description: A string-string test MAC address.
type: dict
wiredApplicationMessage:
description: Wired application message.
type: str
wiredApplicationStatus:
description: Wired application status.
type: str
xorSensor:
description: Is XOR sensor.
type: bool
type: list
ssids:
description: Sensor's ssids.
elements: dict
suboptions:
authProtocol:
description: Auth protocol.
type: str
authType:
description: Authentication type OPEN, WPA2_PSK, WPA2_EaP, WEB_AUTH, MAB, DOT1X,
OTHER.
type: str
bands:
description: WIFI bands 2.4GHz or 5GHz.
type: str
certdownloadurl:
description: Certificate download URL.
type: str
certfilename:
description: Auth certificate file name.
type: str
certpassphrase:
description: Certificate password phrase.
type: str
certstatus:
description: Certificate status INACTIVE or ACTIVE.
type: str
certxferprotocol:
description: Certificate transfering protocol HTTP or HTTPS.
type: str
eapMethod:
description: WPA2_EAP methods EAP-FAST, PEAP-MSCHAPv2, EAP-TLS, PEAP-TLS, EAP-TTLS-MSCHAPv2,
EAP-TTLS-PAP, EAP-TTLS-CHAP, EAP-FAST-GTC, EAP-PEAP-GTC.
type: str
extWebAuth:
description: Indication of using external WEB Auth.
type: bool
extWebAuthAccessUrl:
description: External WEB Auth access URL.
type: str
extWebAuthHtmlTag:
description: Sensor's extWebAuthHtmlTag.
elements: dict
suboptions:
label:
description: Label.
type: str
tag:
description: Tag.
type: str
value:
description: Value.
type: str
type: list
extWebAuthPortal:
description: External authentication portal.
type: str
extWebAuthVirtualIp:
description: External WEB Auth virtual IP.
type: str
layer3webAuthEmailAddress:
description: Layer 3 WEB Auth email address.
type: str
layer3webAuthpassword:
description: Layer 3 WEB Auth password.
type: str
layer3webAuthsecurity:
description: Layer 3 WEB Auth security.
type: str
layer3webAuthuserName:
description: Layer 3 WEB Auth user name.
type: str
password:
description: Password string for onboarding SSID.
type: str
passwordType:
description: SSID password type ASCII or HEX.
type: str
profileName:
description: The SSID profile name string.
type: str
proxyPassword:
description: Proxy server password.
type: str
proxyPort:
description: Proxy server port.
type: str
proxyServer:
description: Proxy server for onboarding SSID.
type: str
proxyUserName:
description: Proxy server user name.
type: str
psk:
description: Password of SSID when passwordType is ASCII.
type: str
qosPolicy:
description: QoS policy PlATINUM, GOLD, SILVER, BRONZE.
type: str
scep:
description: Secure certificate enrollment protocol true or false or null for
not applicable.
type: bool
ssid:
description: The SSID string.
type: str
tests:
description: Sensor's tests.
elements: dict
suboptions:
config:
description: Sensor's config.
elements: dict
suboptions:
direction:
description: IPerf direction (UPLOAD, DOWNLOAD, BOTH).
type: str
domains:
description: DNS domain name.
elements: str
type: list
downlinkTest:
description: Downlink test.
type: bool
endPort:
description: IPerf end port.
type: int
exitCommand:
description: Exit command.
type: str
finalPrompt:
description: Final prompt.
type: str
ndtServer:
description: NDT server.
type: str
ndtServerPath:
description: NDT server path.
type: str
ndtServerPort:
description: NDT server port.
type: str
numPackets:
description: Number of packets.
type: int
password:
description: Password.
type: str
passwordPrompt:
description: Password prompt.
type: str
pathToDownload:
description: File path for file transfer.
type: str
port:
description: Radius or WEB server port.
type: int
probeType:
description: Probe type.
type: str
protocol:
description: Protocol used by file transfer, IPerf, mail server, and
radius (TCP, UDP, FTP, POP3, IMAP, CHAP, PAP).
type: str
proxyPassword:
description: Proxy password.
type: str
proxyPort:
description: Proxy port.
type: str
proxyServer:
description: Proxy server.
type: str
proxyUserName:
description: Proxy user name.
type: str
server:
description: Ping, file transfer, mail, radius, ssh, or telnet server.
type: str
servers:
description: IPerf server list.
elements: str
type: list
sharedSecret:
description: Shared secret.
type: str
startPort:
description: IPerf start port.
type: int
transferType:
description: File transfer type (UPLOAD, DOWNLOAD, BOTH).
type: str
udpBandwidth:
description: IPerf UDP bandwidth.
type: int
uplinkTest:
description: Uplink test.
type: bool
url:
description: URL.
type: str
userName:
description: User name.
type: str
userNamePrompt:
description: User name prompt.
type: str
type: list
name:
description: Name of the test.
type: str
type: list
thirdParty:
description: Sensor's thirdParty.
suboptions:
selected:
description: True the SSID is third party.
type: bool
type: dict
username:
description: User name string for onboarding SSID.
type: str
whiteList:
description: Indication of being on allowed list.
type: bool
wlanId:
description: WLAN ID.
type: int
wlc:
description: WLC IP addres.
type: str
type: list
templateName:
description: TemplateName query parameter.
type: str
version:
description: The sensor test template version (must be 2).
type: int
requirements:
- dnacentersdk >= 2.7.1
- python >= 3.5
seealso:
- name: Cisco DNA Center documentation for Sensors CreateSensorTestTemplate
description: Complete reference of the CreateSensorTestTemplate API.
link: https://developer.cisco.com/docs/dna-center/#!create-sensor-test-template
- name: Cisco DNA Center documentation for Sensors DeleteSensorTest
description: Complete reference of the DeleteSensorTest API.
link: https://developer.cisco.com/docs/dna-center/#!delete-sensor-test
notes:
- SDK Method used are
sensors.Sensors.create_sensor_test_template,
sensors.Sensors.delete_sensor_test,
- Paths used are
post /dna/intent/api/v1/sensor,
delete /dna/intent/api/v1/sensor,
"""
EXAMPLES = r"""
- name: Create
cisco.dnac.sensor:
dnac_host: "{{dnac_host}}"
dnac_username: "{{dnac_username}}"
dnac_password: "{{dnac_password}}"
dnac_verify: "{{dnac_verify}}"
dnac_port: "{{dnac_port}}"
dnac_version: "{{dnac_version}}"
dnac_debug: "{{dnac_debug}}"
state: present
apCoverage:
- bands: string
numberOfApsToTest: 0
rssiThreshold: 0
connection: string
encryptionMode: string
locationInfoList:
- allSensors: true
customManagementVlan: true
locationId: string
locationType: string
macAddressList:
- string
managementVlan: string
siteHierarchy: string
modelVersion: 0
name: string
profiles:
- authProtocol: string
authType: string
certdownloadurl: string
certfilename: string
certpassphrase: string
certstatus: string
certxferprotocol: string
deviceType: string
eapMethod: string
extWebAuth: true
extWebAuthAccessUrl: string
extWebAuthHtmlTag:
- label: string
tag: string
value: string
extWebAuthPortal: string
extWebAuthVirtualIp: string
locationVlanList:
- locationId: string
vlans:
- string
password: string
passwordType: string
profileName: string
psk: string
qosPolicy: string
scep: true
tests:
- config:
- direction: string
domains:
- string
downlinkTest: true
endPort: 0
exitCommand: string
finalPrompt: string
ndtServer: string
ndtServerPath: string
ndtServerPort: string
numPackets: 0
password: string
passwordPrompt: string
pathToDownload: string
port: 0
probeType: string
protocol: string
proxyPassword: string
proxyPort: string
proxyServer: string
proxyUserName: string
server: string
servers:
- string
sharedSecret: string
startPort: 0
transferType: string
udpBandwidth: 0
uplinkTest: true
url: string
userName: string
userNamePrompt: string
name: string
username: string
vlan: string
whiteList: true
runNow: string
sensors:
- allSensorAddition: true
assigned: true
configUpdated: string
hostName: string
iPerfInfo: {}
id: string
ipAddress: string
locationId: string
macAddress: string
markedForUninstall: true
name: string
runNow: string
sensorType: string
servicePolicy: string
status: string
switchMac: string
switchSerialNumber: string
switchUuid: string
targetAPs:
- string
testMacAddresses: {}
wiredApplicationMessage: string
wiredApplicationStatus: string
xorSensor: true
ssids:
- authProtocol: string
authType: string
bands: string
certdownloadurl: string
certfilename: string
certpassphrase: string
certstatus: string
certxferprotocol: string
eapMethod: string
extWebAuth: true
extWebAuthAccessUrl: string
extWebAuthHtmlTag:
- label: string
tag: string
value: string
extWebAuthPortal: string
extWebAuthVirtualIp: string
layer3webAuthEmailAddress: string
layer3webAuthpassword: string
layer3webAuthsecurity: string
layer3webAuthuserName: string
password: string
passwordType: string
profileName: string
proxyPassword: string
proxyPort: string
proxyServer: string
proxyUserName: string
psk: string
qosPolicy: string
scep: true
ssid: string
tests:
- config:
- direction: string
domains:
- string
downlinkTest: true
endPort: 0
exitCommand: string
finalPrompt: string
ndtServer: string
ndtServerPath: string
ndtServerPort: string
numPackets: 0
password: string
passwordPrompt: string
pathToDownload: string
port: 0
probeType: string
protocol: string
proxyPassword: string
proxyPort: string
proxyServer: string
proxyUserName: string
server: string
servers:
- string
sharedSecret: string
startPort: 0
transferType: string
udpBandwidth: 0
uplinkTest: true
url: string
userName: string
userNamePrompt: string
name: string
thirdParty:
selected: true
username: string
whiteList: true
wlanId: 0
wlc: string
version: 0
- name: Delete all
cisco.dnac.sensor:
dnac_host: "{{dnac_host}}"
dnac_username: "{{dnac_username}}"
dnac_password: "{{dnac_password}}"
dnac_verify: "{{dnac_verify}}"
dnac_port: "{{dnac_port}}"
dnac_version: "{{dnac_version}}"
dnac_debug: "{{dnac_debug}}"
state: absent
templateName: string
"""
RETURN = r"""
dnac_response:
description: A dictionary or list with the response returned by the Cisco DNAC Python SDK
returned: always
type: dict
sample: >
{
"version": "string",
"response": {
"name": "string",
"_id": "string",
"version": 0,
"modelVersion": 0,
"startTime": 0,
"lastModifiedTime": 0,
"numAssociatedSensor": 0,
"location": "string",
"siteHierarchy": "string",
"status": "string",
"connection": "string",
"actionInProgress": "string",
"frequency": {
"value": 0,
"unit": "string"
},
"rssiThreshold": 0,
"numNeighborAPThreshold": 0,
"scheduleInDays": 0,
"wlans": [
"string"
],
"ssids": [
{
"bands": "string",
"ssid": "string",
"profileName": "string",
"numAps": 0,
"numSensors": 0,
"layer3webAuthsecurity": "string",
"layer3webAuthuserName": "string",
"layer3webAuthpassword": "string",
"layer3webAuthEmailAddress": "string",
"thirdParty": {
"selected": true
},
"id": 0,
"wlanId": 0,
"wlc": "string",
"validFrom": 0,
"validTo": 0,
"status": "string",
"proxyServer": "string",
"proxyPort": "string",
"proxyUserName": "string",
"proxyPassword": "string",
"authType": "string",
"psk": "string",
"username": "string",
"password": "string",
"passwordType": "string",
"eapMethod": "string",
"scep": true,
"authProtocol": "string",
"certfilename": "string",
"certxferprotocol": "string",
"certstatus": "string",
"certpassphrase": "string",
"certdownloadurl": "string",
"extWebAuthVirtualIp": "string",
"extWebAuth": true,
"whiteList": true,
"extWebAuthPortal": "string",
"extWebAuthAccessUrl": "string",
"extWebAuthHtmlTag": [
{
"label": "string",
"tag": "string",
"value": "string"
}
],
"qosPolicy": "string",
"tests": [
{
"name": "string",
"config": [
{
"domains": [
"string"
],
"server": "string",
"userName": "string",
"password": "string",
"url": "string",
"port": 0,
"protocol": "string",
"servers": [
"string"
],
"direction": "string",
"startPort": 0,
"endPort": 0,
"udpBandwidth": 0,
"probeType": "string",
"numPackets": 0,
"pathToDownload": "string",
"transferType": "string",
"sharedSecret": "string",
"ndtServer": "string",
"ndtServerPort": "string",
"ndtServerPath": "string",
"uplinkTest": true,
"downlinkTest": true,
"proxyServer": "string",
"proxyPort": "string",
"proxyUserName": "string",
"proxyPassword": "string",
"userNamePrompt": "string",
"passwordPrompt": "string",
"exitCommand": "string",
"finalPrompt": "string"
}
]
}
]
}
],
"profiles": [
{
"authType": "string",
"psk": "string",
"username": "string",
"password": "string",
"passwordType": "string",
"eapMethod": "string",
"scep": true,
"authProtocol": "string",
"certfilename": "string",
"certxferprotocol": "string",
"certstatus": "string",
"certpassphrase": "string",
"certdownloadurl": "string",
"extWebAuthVirtualIp": "string",
"extWebAuth": true,
"whiteList": true,
"extWebAuthPortal": "string",
"extWebAuthAccessUrl": "string",
"extWebAuthHtmlTag": [
{
"label": "string",
"tag": "string",
"value": "string"
}
],
"qosPolicy": "string",
"tests": [
{
"name": "string",
"config": [
{
"domains": [
"string"
],
"server": "string",
"userName": "string",
"password": "string",
"url": "string",
"port": 0,
"protocol": "string",
"servers": [
"string"
],
"direction": "string",
"startPort": 0,
"endPort": 0,
"udpBandwidth": 0,
"probeType": "string",
"numPackets": 0,
"pathToDownload": "string",
"transferType": "string",
"sharedSecret": "string",
"ndtServer": "string",
"ndtServerPort": "string",
"ndtServerPath": "string",
"uplinkTest": true,
"downlinkTest": true,
"proxyServer": "string",
"proxyPort": "string",
"proxyUserName": "string",
"proxyPassword": "string",
"userNamePrompt": "string",
"passwordPrompt": "string",
"exitCommand": "string",
"finalPrompt": "string"
}
]
}
],
"profileName": "string",
"deviceType": "string",
"vlan": "string",
"locationVlanList": [
{
"locationId": "string",
"vlans": [
"string"
]
}
]
}
],
"testScheduleMode": "string",
"showWlcUpgradeBanner": true,
"radioAsSensorRemoved": true,
"encryptionMode": "string",
"runNow": "string",
"locationInfoList": [
{
"locationId": "string",
"locationType": "string",
"allSensors": true,
"siteHierarchy": "string",
"macAddressList": [
"string"
],
"managementVlan": "string",
"customManagementVlan": true
}
],
"sensors": [
{
"name": "string",
"macAddress": "string",
"switchMac": "string",
"switchUuid": "string",
"switchSerialNumber": "string",
"markedForUninstall": true,
"ipAddress": "string",
"hostName": "string",
"wiredApplicationStatus": "string",
"wiredApplicationMessage": "string",
"assigned": true,
"status": "string",
"xorSensor": true,
"targetAPs": [
"string"
],
"runNow": "string",
"locationId": "string",
"allSensorAddition": true,
"configUpdated": "string",
"sensorType": "string",
"testMacAddresses": {},
"id": "string",
"servicePolicy": "string",
"iPerfInfo": {}
}
],
"apCoverage": [
{
"bands": "string",
"numberOfApsToTest": 0,
"rssiThreshold": 0
}
]
}
}
"""
|