Merge pull request #43372 from fussybeaver/43292-swagger-add-ipamconfig
api: swagger: add IPAMConfig on IPAM
This commit is contained in:
commit
efde293231
2 changed files with 30 additions and 6 deletions
|
@ -2035,15 +2035,27 @@ definitions:
|
||||||
```
|
```
|
||||||
type: "array"
|
type: "array"
|
||||||
items:
|
items:
|
||||||
type: "object"
|
$ref: "#/definitions/IPAMConfig"
|
||||||
additionalProperties:
|
|
||||||
type: "string"
|
|
||||||
Options:
|
Options:
|
||||||
description: "Driver-specific options, specified as a map."
|
description: "Driver-specific options, specified as a map."
|
||||||
type: "object"
|
type: "object"
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: "string"
|
type: "string"
|
||||||
|
|
||||||
|
IPAMConfig:
|
||||||
|
type: "object"
|
||||||
|
properties:
|
||||||
|
Subnet:
|
||||||
|
type: "string"
|
||||||
|
IPRange:
|
||||||
|
type: "string"
|
||||||
|
Gateway:
|
||||||
|
type: "string"
|
||||||
|
AuxiliaryAddresses:
|
||||||
|
type: "object"
|
||||||
|
additionalProperties:
|
||||||
|
type: "string"
|
||||||
|
|
||||||
NetworkContainer:
|
NetworkContainer:
|
||||||
type: "object"
|
type: "object"
|
||||||
properties:
|
properties:
|
||||||
|
|
|
@ -2035,15 +2035,27 @@ definitions:
|
||||||
```
|
```
|
||||||
type: "array"
|
type: "array"
|
||||||
items:
|
items:
|
||||||
type: "object"
|
$ref: "#/definitions/IPAMConfig"
|
||||||
additionalProperties:
|
|
||||||
type: "string"
|
|
||||||
Options:
|
Options:
|
||||||
description: "Driver-specific options, specified as a map."
|
description: "Driver-specific options, specified as a map."
|
||||||
type: "object"
|
type: "object"
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: "string"
|
type: "string"
|
||||||
|
|
||||||
|
IPAMConfig:
|
||||||
|
type: "object"
|
||||||
|
properties:
|
||||||
|
Subnet:
|
||||||
|
type: "string"
|
||||||
|
IPRange:
|
||||||
|
type: "string"
|
||||||
|
Gateway:
|
||||||
|
type: "string"
|
||||||
|
AuxiliaryAddresses:
|
||||||
|
type: "object"
|
||||||
|
additionalProperties:
|
||||||
|
type: "string"
|
||||||
|
|
||||||
NetworkContainer:
|
NetworkContainer:
|
||||||
type: "object"
|
type: "object"
|
||||||
properties:
|
properties:
|
||||||
|
|
Loading…
Reference in a new issue