Skip to content

Commit 2e8c913

Browse files
committed
Add missing default address pool fields to swagger
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 7582557 commit 2e8c913

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

‎api/swagger.yaml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2465,6 +2465,22 @@ definitions:
24652465
description: "Whether there is currently a root CA rotation in progress for the swarm"
24662466
type: "boolean"
24672467
example: false
2468+
DefaultAddrPool:
2469+
description: |
2470+
Default Address Pool specifies default subnet pools for global scope networks.
2471+
type: "array"
2472+
items:
2473+
type: "string"
2474+
format: "CIDR"
2475+
example: ["10.10.0.0/16", "20.20.0.0/16"]
2476+
SubnetSize:
2477+
description: |
2478+
SubnetSize specifies the subnet size of the networks created from the default subnet pool
2479+
type: "integer"
2480+
format: "uint32"
2481+
maximum: 29
2482+
default: 24
2483+
example: 24
24682484

24692485
JoinTokens:
24702486
description: |

0 commit comments

Comments
 (0)