|
|
@@ -258,7 +258,7 @@
|
|
|
"patternProperties": {"^x-": {}}
|
|
|
},
|
|
|
"mac_address": {"type": "string"},
|
|
|
- "mem_limit": {"type": ["number", "string"]},
|
|
|
+ "mem_limit": {"type": "string"},
|
|
|
"mem_reservation": {"type": ["string", "integer"]},
|
|
|
"mem_swappiness": {"type": "integer"},
|
|
|
"memswap_limit": {"type": ["number", "string"]},
|
|
|
@@ -503,7 +503,7 @@
|
|
|
"limits": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
- "cpus": {"type": "string"},
|
|
|
+ "cpus": {"type": "number", "minimum": 0},
|
|
|
"memory": {"type": "string"}
|
|
|
},
|
|
|
"additionalProperties": false,
|
|
|
@@ -512,7 +512,7 @@
|
|
|
"reservations": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
- "cpus": {"type": "string"},
|
|
|
+ "cpus": {"type": "number", "minimum": 0},
|
|
|
"memory": {"type": "string"},
|
|
|
"generic_resources": {"$ref": "#/definitions/generic_resources"}
|
|
|
},
|
|
|
@@ -633,6 +633,7 @@
|
|
|
"patternProperties": {"^x-": {}}
|
|
|
},
|
|
|
"internal": {"type": "boolean"},
|
|
|
+ "enable_ipv6": {"type": "boolean"},
|
|
|
"attachable": {"type": "boolean"},
|
|
|
"labels": {"$ref": "#/definitions/list_or_dict"}
|
|
|
},
|