This repository has been archived by the owner on Nov 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
portal-services-openapi.yaml
11236 lines (10622 loc) · 306 KB
/
portal-services-openapi.yaml
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
openapi: 3.0.3
info:
title: CloudSDK Portal API
description: APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK.
version: 1.0.0
servers:
- url: https://localhost:9091
description: Local Dev server
- url: https://192.168.0.143:9091
description: Local Dev server - all-in-one
- url: https://192.168.0.143:4044
description: Local Dev server - all-in-one in docker
- url: https://192.168.0.143:9051
description: Local Dev server - portal, prov, and ssc
- url: https://192.168.0.143:7071
description: Local Dev server - opensync gateway
- url: https://wlan-portal-svc.tip.lab.connectus.ai
- url: https://wlan-portal-svc.zone3.lab.connectus.ai
- url: https://wlan-portal-svc.demo.lab.wlan.tip.build
tags:
- name: Overview
description: |
## Data Model ##
A Customer has Locations.
Locations can be arranged in a hierarchy of Country -> Site -> Building -> Floor.
Equipment (AccessPoints) can be bound to a customer and location.
Customer can have multiple Network Configurations (settings that can be attached to multiple equipment instances like SSIDs, radius server settings, etc.).
Each Equipment can be linked to only one Network Configuration.
Network Configurations are linked to various service Profiles.
Each Equipment also has an Element Configuration (radio settings that are not shared between equipment instances).
---
For details on how to process large data sets - see the section "Pagination of results" below.
- name: Login
- name: Customer
description: |
Customer represents a single customer with many locations. All equipment is bound to the customer.
- name: Location
description: |
Locations can be arranged in a hierarchy of Country -> Site -> Building -> Floor. Equipment can be associated with a single location at any level in the location hierarchy.
- name: Equipment
description: |
Equipment (AccessPoints) can be bound to a customer and location.
- name: Equipment Gateway
description: |
Equipment can receive commands - to download firmware, blink LEDs, etc. These commands are delivered to the target equipment via the opensync gateway to which that equipment connects.
- name: Profile
description: |
Profiles for various services can be associated with equipment and with other profiles.
- Each AccessPoint refers to at most one profile of type equipment_ap.
- Each ApNetworkConfiguration (equipment_ap) profile refers to 0-N SSID profiles, 1 Metrics Profile and 1 RADIUS Service Profile via its childProfileIds property.
- Each SSID profile refers to 0-N Passpoint Profiles (for authenticated SSIDs) and 0-N Id Provider Profiles, (Open authentication SSIDs), and at most 1 Captive Portal Profile and 1 Bonjour Gateway Profile via its childProfileIds property.
- Each Captive Portal Profile refers to at most 1 RADIUS Service Profile via its childProfileIds property.
- Each Passpoint Profile refers to 0-N Id Provider Profiles, 1 Operator Profile, and 1 Venue Profile, via its childProfileIds property.
- name: Status
description: |
Status for the network and individual equipment.
- name: Clients
description: |
Information about WLAN clients and sessions.
- name: Alarms
description: |
Alarms can be raised and cleared for equipment and customer.
- name: WLAN Service Metrics
description: |
Metrics specific to WLAN service can be created for equipment and customer.
*Notes for Cassandra datastores:*
- The most efficient way to use this API is by providing non-empty values for all filters except locationIds.
- All other combination of filters involve using extra index tables.
- The least efficient way to query is to provide locationIds and some (but not all) other filters as this would involve client-side filtering.
- Sorting options are ignored for Cassandra datastore, the returned data will be ordered, and the timestamp is part of the sort order, but that's about all.
For more explanations - See [this discussion](https://stackoverflow.com/questions/35708118/where-and-order-by-clauses-in-cassandra-cql#35708544)
- name: System Events
description: |
Various system events can be generated and persisted by the cloud services, including provisioning-related events when data model objects are created, updated, removed. Events are associated with equipment and customer.
*Notes for Cassandra datastores:*
- The most efficient way to use this API is by providing non-empty values for all filters except locationIds.
- All other combination of filters involve using extra index tables.
- The least efficient way to query is to provide locationIds and some (but not all) other filters as this would involve client-side filtering.
- Sorting options are ignored for Cassandra datastore, the returned data will be ordered, and the timestamp is part of the sort order, but that's about all.
For more explanations - See [this discussion](https://stackoverflow.com/questions/35708118/where-and-order-by-clauses-in-cassandra-cql#35708544)
- name: Portal Users
- name: Firmware Management
description: |
##
- Firmware versions describe firmware binary files, which can be stored in CloudSDK file broker, or at any publically accessible URL.
- Firmware tracks define upgrade maintenance window.
- Firmware versions per equipment model are assigned to a firmware track.
- There is one DEFAULT firmware track, and there can be many other firmware tracks, with different names.
- A firmware track can be associated with a customer. If no such explicit customer association exist, then the DEFAULT track will be applied to the customer.
- name: Manufacturer OUI
description: |
Manufacturer records alow translation from OUI (first 3 pieces of the MAC address) into the manufacturer names.
- name: File Services
description: |
##
- Simple filestore service that allows stand-alone CloudSDK to serve firmware images to the APs.
- Supports only single level directory.
- Files can be stored and retrieved with webtoken auth by the portal and with client certificate auth by the AP.
- name: Service Adoption Metrics
description: |
APIs to retrieve aggregated metrics for WiFi service adoption.
- name: Pagination of results
description: |
## Pagination of results
Many APIs return their results in pages to support very large datasets.
The intended way of iterating through the pages of results is as follows
- create an initial pagination context with desired max items per page, then make the initial call to the
get... API with that context.
- Retrieve the items from the returned page1.getItems() and process them.
- Retrieve the updated page context from the returned page and pass the **whole context object (unmodified)** to the
next call of get... API to get the next page of results.
- Repeat the process above until pageX.getContext().isLastPage() != true.
Additional notes
- parameters to get... API must not change as you iterate through pages of results
- sort options are ignored for Cassandra datastores (they are only applied for in-memory and RDBMS datastores)
- Context returned from the previous call should be used as the pagination context for the next call. Until lastPage = true.
- Do not re-use contexts between calls, i.e. do not keep using the context from the first call.
Java example
```
PaginationContext<ClientSession> pContext = new PaginationContext<>(100);
while(!pContext.isLastPage()) {
PaginationResponse<ClientSession> page = testInterface.getSessionsForCustomer(customerId_1, null, null, sortBy, pContext);
page.getItems().forEach(cs -> {
//process each returned client session in the returned page
});
//get the context for the next page of results
pContext = page.getContext();
}
```
Curl examples
> First call:
```
curl -X GET "https://cloudsdk.example.com/portal/client/session/forCustomer?customerId=2&paginationContext=%7B%22model_type%22%3A%22PaginationContext%22%2C%22maxItemsPerPage%22%3A100%7D" -H "accept: application/json" -H "Authorization: Bearer $webtoken"
```
> Result:
```
{
"model_type": "PaginationResponse",
"items": [
{
"model_type": "ClientSession",
...
},
...
],
"context": {
"model_type": "PaginationContext",
"cursor": "bnVsb1234...c9PQ==",
"lastPage": false,
"lastReturnedPageNumber": 1,
"maxItemsPerPage": 100,
"totalItemsReturned": 100
}
}
```
> Second call:
```
curl -X GET "https://cloudsdk.example.com/portal/client/session/forCustomer?customerId=2&paginationContext=%7B%22model_type%22%3A%22PaginationContext%22%2C%22cursor%22%3A%22bnVsb...c9PQ%3D%3D%22%2C%22lastPage%22%3Afalse%2C%22lastReturnedPageNumber%22%3A1%2C%22maxItemsPerPage%22%3A100%2C%22totalItemsReturned%22%3A100%7D" -H "accept: application/json" -H "Authorization: Bearer $webtoken"
```
> Result:
```
{
"model_type": "PaginationResponse",
"items": [
{
"model_type": "ClientSession",
...
},
...
],
"context": {
"model_type": "PaginationContext",
"cursor": "bnVsbblah...c9PQ==",
"lastPage": false,
"lastReturnedPageNumber": 2,
"maxItemsPerPage": 100,
"totalItemsReturned": 200
}
}
```
components:
securitySchemes:
tip_wlan_ts_auth:
type: http
scheme: bearer
responses:
GenericApiError:
description: this object is returned in the cases when an API throws an exception
content:
application/json:
schema:
$ref: '#/components/schemas/JsonSerializedException'
schemas:
#
# Generic data models used in many APIs
#
GenericResponse:
properties:
message:
type: string
success:
type: boolean
JsonSerializedException:
description: this object is returned in the cases when an API throws an exception
properties:
exType:
type: string
enum:
- IllegalStateException
error:
description: error message
type: string
path:
description: API path with parameters that produced the exception
type: string
timestamp:
description: time stamp of when the exception was generated
type: integer
format: int64
PairLongLong:
properties:
value1:
type: integer
format: int64
value2:
type: integer
format: int64
PingResponse:
properties:
startupTime:
type: integer
format: int64
currentTime:
type: integer
format: int64
applicationName:
type: string
hostName:
type: string
commitID:
type: string
commitDate:
type: string
projectVersion:
type: string
#
# Customer data models
#
Customer:
description: Customer object
type: object
required:
- id
- email
- name
- lastModifiedTimestamp
properties:
id:
type: integer
format: int32
email:
type: string
format: email
name:
type: string
details:
$ref: '#/components/schemas/CustomerDetails'
createdTimestamp:
type: integer
format: int64
lastModifiedTimestamp:
description: must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database
type: integer
format: int64
CustomerDetails:
properties:
autoProvisioning:
$ref: '#/components/schemas/EquipmentAutoProvisioningSettings'
EquipmentAutoProvisioningSettings:
properties:
enabled:
type: boolean
locationId:
description: auto-provisioned equipment will appear under this location
type: integer
format: int64
equipmentProfileIdPerModel:
$ref: '#/components/schemas/LongValueMap'
#
# Location data models
#
Location:
type: object
properties:
id:
type: integer
format: int64
locationType:
type: string
enum:
- COUNTRY
- SITE
- BUILDING
- FLOOR
- UNSUPPORTED
customerId:
type: integer
format: int32
name:
type: string
parentId:
type: integer
format: int64
details:
$ref: '#/components/schemas/LocationDetails'
createdTimestamp:
type: integer
format: int64
lastModifiedTimestamp:
description: must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database
type: integer
format: int64
example:
customerId: 2
locationType: COUNTRY
name: new location
CountryCode:
type: string
enum:
- AD
- AE
- AF
- AG
- AI
- AL
- AM
- AO
- AQ
- AR
- AS
- AT
- AU
- AW
- AX
- AZ
- BA
- BB
- BD
- BE
- BF
- BG
- BH
- BI
- BJ
- BL
- BM
- BN
- BO
- BQ
- BR
- BS
- BT
- BV
- BW
- BY
- BZ
- CA
- CC
- CD
- CF
- CG
- CH
- CI
- CK
- CL
- CM
- CN
- CO
- CR
- CU
- CV
- CW
- CX
- CY
- CZ
- DE
- DJ
- DK
- DM
- DO
- DZ
- EC
- EE
- EG
- EH
- ER
- ES
- ET
- FI
- FJ
- FK
- FM
- FO
- FR
- GA
- GB
- GD
- GE
- GF
- GG
- GH
- GI
- GL
- GM
- GN
- GP
- GQ
- GR
- GS
- GT
- GU
- GW
- GY
- HK
- HM
- HN
- HR
- HT
- HU
- ID
- IE
- IL
- IM
- IN
- IO
- IQ
- IR
- IS
- IT
- JE
- JM
- JO
- JP
- KE
- KG
- KH
- KI
- KM
- KN
- KP
- KR
- KW
- KY
- KZ
- LA
- LB
- LC
- LI
- LK
- LR
- LS
- LT
- LU
- LV
- LY
- MA
- MC
- MD
- ME
- MF
- MG
- MH
- MK
- ML
- MM
- MN
- MO
- MP
- MQ
- MR
- MS
- MT
- MU
- MV
- MW
- MX
- MY
- MZ
- NA
- NC
- NE
- NF
- NG
- NI
- NL
- NO
- NP
- NR
- NU
- NZ
- OM
- PA
- PE
- PF
- PG
- PH
- PK
- PL
- PM
- PN
- PR
- PS
- PT
- PW
- PY
- QA
- RE
- RO
- RS
- RU
- RW
- SA
- SB
- SC
- SD
- SE
- SG
- SH
- SI
- SJ
- SK
- SL
- SM
- SN
- SO
- SR
- SS
- ST
- SV
- SX
- SY
- SZ
- TC
- TD
- TF
- TG
- TH
- TJ
- TK
- TL
- TM
- TN
- TO
- TR
- TT
- TV
- TW
- TZ
- UA
- UG
- UM
- US
- UY
- UZ
- VA
- VC
- VE
- VG
- VI
- VN
- VU
- WF
- WS
- YE
- YT
- ZA
- ZM
- ZW
- UNSUPPORTED
default: CA
ScheduleSetting:
oneOf:
- $ref: '#/components/schemas/DaysOfWeekTimeRangeSchedule'
- $ref: '#/components/schemas/DailyTimeRangeSchedule'
- $ref: '#/components/schemas/EmptySchedule'
discriminator:
propertyName: model_type
FirmwareScheduleSetting:
oneOf:
- $ref: '#/components/schemas/DailyTimeRangeSchedule'
- $ref: '#/components/schemas/EmptySchedule'
discriminator:
propertyName: model_type
example:
model_type: EmptySchedule
timezone: "US/Eastern"
LocationDetails:
type: object
properties:
model_type:
type: string
enum:
- LocationDetails
countryCode:
$ref: '#/components/schemas/CountryCode'
dailyActivityDetails:
$ref: '#/components/schemas/LocationActivityDetailsMap'
maintenanceWindow:
$ref: '#/components/schemas/DaysOfWeekTimeRangeSchedule'
rrmEnabled:
type: boolean
LocationActivityDetailsMap:
properties:
SUNDAY:
$ref: '#/components/schemas/LocationActivityDetails'
MONDAY:
$ref: '#/components/schemas/LocationActivityDetails'
TUESDAY:
$ref: '#/components/schemas/LocationActivityDetails'
WEDNESDAY:
$ref: '#/components/schemas/LocationActivityDetails'
THURSDAY:
$ref: '#/components/schemas/LocationActivityDetails'
FRIDAY:
$ref: '#/components/schemas/LocationActivityDetails'
SATURDAY:
$ref: '#/components/schemas/LocationActivityDetails'
LocationActivityDetails:
properties:
busyTime:
type: string
quietTime:
type: string
timezone:
type: string
lastBusySnapshot:
type: integer
format: int64
DaysOfWeekTimeRangeSchedule:
type: object
required:
- model_type
properties:
timezone:
type: string
timeBegin:
$ref: '#/components/schemas/LocalTimeValue'
timeEnd:
$ref: '#/components/schemas/LocalTimeValue'
daysOfWeek:
type: array
items:
$ref: '#/components/schemas/DayOfWeek'
model_type:
type: string
LocalTimeValue:
type: object
properties:
hour:
type: integer
minute:
type: integer
DayOfWeek:
type: string
enum:
- MONDAY
- TUESDAY
- WEDNESDAY
- THURSDAY
- FRIDAY
- SATURDAY
- SUNDAY
DailyTimeRangeSchedule:
type: object
required:
- model_type
properties:
timezone:
type: string
timeBegin:
$ref: '#/components/schemas/LocalTimeValue'
timeEnd:
$ref: '#/components/schemas/LocalTimeValue'
model_type:
type: string
example:
model_type: DailyTimeRangeSchedule
timezone: "US/Eastern"
timeBegin:
hour: 22
minute: 01
timeEnd:
hour: 22
minute: 30
EmptySchedule:
description: This schedule setting will never return any TimeWindows.
required:
- model_type
type: object
properties:
timezone:
type: string
model_type:
type: string
example:
model_type: EmptySchedule
timezone: "US/Eastern"
#
# Equipment data models
#
EquipmentType:
type: string
enum:
- AP
- MG
- SWITCH
- CUSTOMER_NETWORK_AGENT
Equipment:
type: object
properties:
id:
type: integer
format: int64
equipmentType:
$ref: '#/components/schemas/EquipmentType'
inventoryId:
type: string
customerId:
type: integer
format: int32
profileId:
type: integer
format: int64
name:
type: string
locationId:
type: integer
format: int64
details:
$ref: '#/components/schemas/EquipmentDetails'
latitude:
type: string
longitude:
type: string
baseMacAddress:
$ref: '#/components/schemas/MacAddress'
serial:
type: string
createdTimestamp:
type: integer
format: int64
lastModifiedTimestamp:
description: must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database
type: integer
format: int64
example:
equipmentType: AP
customerId: 2
profileId: 1
locationId: 2
inventoryId: example_ap
serial: example_serial
name: example AP
#
# Equipment bulk update data models
#
EquipmentRrmBulkUpdateRequest:
properties:
items:
type: array
items:
$ref: '#/components/schemas/EquipmentRrmBulkUpdateItem'
EquipmentRrmBulkUpdateItem:
properties:
equipmentId:
type: integer
format: int64
perRadioDetails:
$ref: '#/components/schemas/EquipmentRrmBulkUpdateItemPerRadioMap'
EquipmentRrmBulkUpdateItemPerRadioMap:
properties:
is5GHz:
$ref: '#/components/schemas/RrmBulkUpdateApDetails'
is5GHzU:
$ref: '#/components/schemas/RrmBulkUpdateApDetails'
is5GHzL:
$ref: '#/components/schemas/RrmBulkUpdateApDetails'
is2dot4GHz:
$ref: '#/components/schemas/RrmBulkUpdateApDetails'
RrmBulkUpdateApDetails:
properties:
channelNumber:
# mapped to equipment->details->radioMap->manualChannelNumber
type: integer
format: int32
backupChannelNumber:
# mapped to equipment->details->radioMap->manualBackupChannelNumber
type: integer
format: int32
rxCellSizeDb:
# if source is auto/manual, equipment->details->radioMap->rxCellSizeDb->SourceSelectionValue->value
# if source is profile, rfProfile->details->rfConfiguration->rfConfigMap->rfElementConfiguration->rxCellSizeDb
$ref: '#/components/schemas/SourceSelectionValue'
probeResponseThresholdDb:
# if source is auto/manual, equipment->details->radioMap->probeResponseThresholdDb->SourceSelectionValue->value
# if source is profile, rfProfile->details->rfConfiguration->rfConfigMap->rfElementConfiguration->probeResponseThresholdDb
$ref: '#/components/schemas/SourceSelectionValue'
clientDisconnectThresholdDb:
# if source is auto/manual, equipment->details->radioMap->clientDisconnectThresholdDb->SourceSelectionValue->value
# if source is profile, rfProfile->details->rfConfiguration->rfConfigMap->rfElementConfiguration->clientDisconnectThresholdDb
$ref: '#/components/schemas/SourceSelectionValue'
dropInSnrPercentage:
# if source is auto/manual, equipment->details->radioMap->SourceSelectionSteering->value->dropInSnrPercentage
# if source is profile, rfProfile->details->rfConfiguration->rfConfigMap->rfElementConfiguration->bestApSettings->dropInSnrPercentage
type: integer
format: int32
minLoadFactor:
# if source is auto/manual, equipment->details->radioMap->SourceSelectionSteering->value->minLoadFactor
# if source is profile, rfProfile->details->rfConfiguration->rfConfigMap->rfElementConfiguration->bestApSettings->minLoadFactor
type: integer
format: int32
#
# Equipment Channel update data models
#
EquipmentChannelsUpdateRequest:
properties:
equipmentId:
type: integer
format: int64
primaryChannels:
$ref: '#/components/schemas/IntegerPerRadioTypeMap'
backupChannels:
$ref: '#/components/schemas/IntegerPerRadioTypeMap'
autoChannelSelections:
$ref: '#/components/schemas/BooleanPerRadioTypeMap'
#
# Equipment Cell Size Attributes update data models
#
EquipmentCellSizeAttributesUpdateRequest:
properties:
equipmentId:
type: integer
format: int64
cellSizeAttributesMap:
$ref: '#/components/schemas/CellSizeAttributesPerRadioTypeMap'
autoCellSizeSelections:
$ref: '#/components/schemas/BooleanPerRadioTypeMap'
CellSizeAttributes:
properties:
rxCellSizeDb:
type: integer
format: int32
probeResponseThresholdDb:
type: integer
format: int32
clientDisconnectThresholdDb:
type: integer
format: int32
eirpTxPowerDb:
type: integer
format: int32
multicastRate:
$ref: '#/components/schemas/MulticastRate'
managementRate:
$ref: '#/components/schemas/ManagementRate'
CellSizeAttributesPerRadioTypeMap:
properties:
is5GHz:
$ref: '#/components/schemas/CellSizeAttributes'
is5GHzU:
$ref: '#/components/schemas/CellSizeAttributes'
is5GHzL:
$ref: '#/components/schemas/CellSizeAttributes'
is2dot4GHz:
$ref: '#/components/schemas/CellSizeAttributes'
#
# Equipment configuration data models
#
EquipmentDetails:
description: Place to put extended equipment properties.
type: object
properties:
equipmentModel:
type: string
oneOf:
## TODO: add other equipment types in here
- $ref: '#/components/schemas/ApElementConfiguration'
discriminator:
propertyName: model_type
ActiveScanSettings:
type: object
properties:
enabled:
type: boolean
scanFrequencySeconds:
type: integer
format: int32
scanDurationMillis:
type: integer
format: int32
AntennaType:
type: string
enum:
- OMNI
- OAP30_DIRECTIONAL
DeviceMode:
type: string
enum:
- standaloneAP
- managedAP
- gatewaywithAP
- gatewayOnly
DeploymentType:
type: string
enum:
- DESK
- CEILING
NetworkForwardMode:
type: string
enum:
- BRIDGE
- NAT
ApElementConfiguration:
type: object
required:
- model_type
properties:
model_type:
type: string
elementConfigVersion:
type: string
equipmentType:
$ref: '#/components/schemas/EquipmentType'
deviceMode:
$ref: '#/components/schemas/DeviceMode'