Merge pull request #43372 from fussybeaver/43292-swagger-add-ipamconfig

api: swagger: add IPAMConfig on IPAM
This commit is contained in:
Sebastiaan van Stijn 2022-03-16 12:26:05 +01:00 committed by GitHub
commit efde293231
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 6 deletions

View file

@ -2035,15 +2035,27 @@ definitions:
```
type: "array"
items:
type: "object"
additionalProperties:
type: "string"
$ref: "#/definitions/IPAMConfig"
Options:
description: "Driver-specific options, specified as a map."
type: "object"
additionalProperties:
type: "string"
IPAMConfig:
type: "object"
properties:
Subnet:
type: "string"
IPRange:
type: "string"
Gateway:
type: "string"
AuxiliaryAddresses:
type: "object"
additionalProperties:
type: "string"
NetworkContainer:
type: "object"
properties:

View file

@ -2035,15 +2035,27 @@ definitions:
```
type: "array"
items:
type: "object"
additionalProperties:
type: "string"
$ref: "#/definitions/IPAMConfig"
Options:
description: "Driver-specific options, specified as a map."
type: "object"
additionalProperties:
type: "string"
IPAMConfig:
type: "object"
properties:
Subnet:
type: "string"
IPRange:
type: "string"
Gateway:
type: "string"
AuxiliaryAddresses:
type: "object"
additionalProperties:
type: "string"
NetworkContainer:
type: "object"
properties: