mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralgw.git
synced 2025-11-23 13:35:02 +00:00
Compare commits
1 Commits
add_enroll
...
schema_syn
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1c5909613f |
@@ -1576,15 +1576,6 @@ components:
|
|||||||
format: base64
|
format: base64
|
||||||
description: This is a base64 encoded string of the certificate bundle (the current bundle .tar.gz file from the PKI portal)
|
description: This is a base64 encoded string of the certificate bundle (the current bundle .tar.gz file from the PKI portal)
|
||||||
|
|
||||||
ReenrollRequest:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
serialNumber:
|
|
||||||
type: string
|
|
||||||
when:
|
|
||||||
type: integer
|
|
||||||
format: int64
|
|
||||||
|
|
||||||
PowerCycleRequest:
|
PowerCycleRequest:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@@ -3065,32 +3056,6 @@ paths:
|
|||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
/device/{serialNumber}/reenroll:
|
|
||||||
post:
|
|
||||||
tags:
|
|
||||||
- Commands
|
|
||||||
summary: Reenroll operational certificate for the device.
|
|
||||||
operationId: reenrollCertificate
|
|
||||||
parameters:
|
|
||||||
- in: path
|
|
||||||
name: serialNumber
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
required: true
|
|
||||||
requestBody:
|
|
||||||
description: Reenroll operational certificate for the device
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/ReenrollRequest'
|
|
||||||
responses:
|
|
||||||
200:
|
|
||||||
$ref: '#/components/responses/Success'
|
|
||||||
403:
|
|
||||||
$ref: '#/components/responses/Unauthorized'
|
|
||||||
404:
|
|
||||||
$ref: '#/components/responses/NotFound'
|
|
||||||
|
|
||||||
/device/{serialNumber}/powercycle:
|
/device/{serialNumber}/powercycle:
|
||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
|
|||||||
@@ -625,6 +625,9 @@ static std::string DefaultAPSchema = R"foo(
|
|||||||
],
|
],
|
||||||
"default": 80
|
"default": 80
|
||||||
},
|
},
|
||||||
|
"enable": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
"require-mode": {
|
"require-mode": {
|
||||||
"description": "Stations that do no fulfill these HT modes will be rejected.",
|
"description": "Stations that do no fulfill these HT modes will be rejected.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -4958,6 +4961,9 @@ static std::string DefaultSWITCHSchema = R"foo(
|
|||||||
],
|
],
|
||||||
"default": 80
|
"default": 80
|
||||||
},
|
},
|
||||||
|
"enable": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
"require-mode": {
|
"require-mode": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": [
|
"enum": [
|
||||||
|
|||||||
Reference in New Issue
Block a user