Skip to content

Commit f537e70

Browse files
Carsten SchaferCarsten Schafer
authored andcommitted
Merge remote-tracking branch 'origin/master' into WIFI-14903-diagnose-ssl-err
2 parents 8e5e51a + d4dfb7b commit f537e70

2 files changed

Lines changed: 55 additions & 6 deletions

File tree

openapi/owgw.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1576,6 +1576,15 @@ components:
15761576
format: base64
15771577
description: This is a base64 encoded string of the certificate bundle (the current bundle .tar.gz file from the PKI portal)
15781578

1579+
ReenrollRequest:
1580+
type: object
1581+
properties:
1582+
serialNumber:
1583+
type: string
1584+
when:
1585+
type: integer
1586+
format: int64
1587+
15791588
PowerCycleRequest:
15801589
type: object
15811590
properties:
@@ -3056,6 +3065,32 @@ paths:
30563065
404:
30573066
$ref: '#/components/responses/NotFound'
30583067

3068+
/device/{serialNumber}/reenroll:
3069+
post:
3070+
tags:
3071+
- Commands
3072+
summary: Reenroll operational certificate for the device.
3073+
operationId: reenrollCertificate
3074+
parameters:
3075+
- in: path
3076+
name: serialNumber
3077+
schema:
3078+
type: string
3079+
required: true
3080+
requestBody:
3081+
description: Reenroll operational certificate for the device
3082+
content:
3083+
application/json:
3084+
schema:
3085+
$ref: '#/components/schemas/ReenrollRequest'
3086+
responses:
3087+
200:
3088+
$ref: '#/components/responses/Success'
3089+
403:
3090+
$ref: '#/components/responses/Unauthorized'
3091+
404:
3092+
$ref: '#/components/responses/NotFound'
3093+
30593094
/device/{serialNumber}/powercycle:
30603095
post:
30613096
tags:

src/framework/ConfigurationValidator.cpp

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,8 @@ static std::string DefaultAPSchema = R"foo(
552552
"5G",
553553
"5G-lower",
554554
"5G-upper",
555-
"6G"
555+
"6G",
556+
"HaLow"
556557
]
557558
},
558559
"bandwidth": {
@@ -625,6 +626,10 @@ static std::string DefaultAPSchema = R"foo(
625626
],
626627
"default": 80
627628
},
629+
"enable": {
630+
"description": "Specifies radio is enabled/disabled.",
631+
"type": "boolean"
632+
},
628633
"require-mode": {
629634
"description": "Stations that do no fulfill these HT modes will be rejected.",
630635
"type": "string",
@@ -2309,7 +2314,8 @@ static std::string DefaultAPSchema = R"foo(
23092314
"5G",
23102315
"5G-lower",
23112316
"5G-upper",
2312-
"6G"
2317+
"6G",
2318+
"HaLow"
23132319
]
23142320
}
23152321
},
@@ -3742,7 +3748,8 @@ static std::string DefaultAPSchema = R"foo(
37423748
"5G",
37433749
"5G-lower",
37443750
"5G-upper",
3745-
"6G"
3751+
"6G",
3752+
"HaLow"
37463753
]
37473754
}
37483755
},
@@ -4892,7 +4899,8 @@ static std::string DefaultSWITCHSchema = R"foo(
48924899
"5G",
48934900
"5G-lower",
48944901
"5G-upper",
4895-
"6G"
4902+
"6G",
4903+
"HaLow"
48964904
]
48974905
},
48984906
"bandwidth": {
@@ -4958,6 +4966,10 @@ static std::string DefaultSWITCHSchema = R"foo(
49584966
],
49594967
"default": 80
49604968
},
4969+
"enable": {
4970+
"description": "Specifies radio is enabled/disabled.",
4971+
"type": "boolean"
4972+
},
49614973
"require-mode": {
49624974
"type": "string",
49634975
"enum": [
@@ -6530,7 +6542,8 @@ static std::string DefaultSWITCHSchema = R"foo(
65306542
"5G",
65316543
"5G-lower",
65326544
"5G-upper",
6533-
"6G"
6545+
"6G",
6546+
"HaLow"
65346547
]
65356548
}
65366549
},
@@ -7753,7 +7766,8 @@ static std::string DefaultSWITCHSchema = R"foo(
77537766
"5G",
77547767
"5G-lower",
77557768
"5G-upper",
7756-
"6G"
7769+
"6G",
7770+
"HaLow"
77577771
]
77587772
}
77597773
},

0 commit comments

Comments
 (0)