From 87524aec577d362f9391dea0825b6ec7242fd19f Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sun, 18 Nov 2018 01:52:28 +0100 Subject: [PATCH] Add missing default address pool fields to swagger Signed-off-by: Sebastiaan van Stijn (cherry picked from commit 2e8c913dbdfbba2591b6531ad2428c59eb261e0b) Signed-off-by: Sebastiaan van Stijn Upstream-commit: 56cc26f927e6a1de51731f88baf5b0af3a5688bc Component: engine --- components/engine/api/swagger.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/components/engine/api/swagger.yaml b/components/engine/api/swagger.yaml index f58a64f29e..2b10ae9998 100644 --- a/components/engine/api/swagger.yaml +++ b/components/engine/api/swagger.yaml @@ -2459,6 +2459,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: |