浏览代码

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

Signed-off-by: Niel Drummond <niel@drummond.lu>
Niel Drummond 3 年之前
父节点
当前提交
abc2f095ab
共有 1 个文件被更改,包括 15 次插入3 次删除
  1. 15 3
      docs/api/v1.41.yaml

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

@@ -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: