Ver código fonte

api: docs: add IPAMConfig on IPAM (v1.41)

Signed-off-by: Niel Drummond <niel@drummond.lu>
Niel Drummond 3 anos atrás
pai
commit
abc2f095ab
1 arquivos alterados com 15 adições e 3 exclusões
  1. 15 3
      docs/api/v1.41.yaml

+ 15 - 3
docs/api/v1.41.yaml

@@ -2035,15 +2035,27 @@ definitions:
           ```
           ```
         type: "array"
         type: "array"
         items:
         items:
-          type: "object"
-          additionalProperties:
-            type: "string"
+          $ref: "#/definitions/IPAMConfig"
       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: