Merge pull request #38218 from thaJeztah/fix_default_addr_pools_swagger

Add missing default address pool fields to swagger
This commit is contained in:
Sebastiaan van Stijn 2018-11-19 11:41:05 +01:00 committed by GitHub
commit 92d545552f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2465,6 +2465,22 @@ definitions:
description: "Whether there is currently a root CA rotation in progress for the swarm"
type: "boolean"
example: false
DefaultAddrPool:
description: |
Default Address Pool specifies default subnet pools for global scope networks.
type: "array"
items:
type: "string"
format: "CIDR"
example: ["10.10.0.0/16", "20.20.0.0/16"]
SubnetSize:
description: |
SubnetSize specifies the subnet size of the networks created from the default subnet pool
type: "integer"
format: "uint32"
maximum: 29
default: 24
example: 24
JoinTokens:
description: |