Commit f4145f9f authored by Boris Kocherov's avatar Boris Kocherov

add required,additionalProperties in instance-kvm-input-schema.json

parent 442bea0f
...@@ -290,5 +290,51 @@ ...@@ -290,5 +290,51 @@
"format": "uri", "format": "uri",
"default": "https://lab.nexedi.com/nexedi/slapos/raw/slapos-0.92/software/kvm/software.cfg" "default": "https://lab.nexedi.com/nexedi/slapos/raw/slapos-0.92/software/kvm/software.cfg"
} }
} },
"required": [
"disk-size",
"monitor-interface-url",
"monitor-cors-domains",
"virtual-hard-drive-md5sum",
"disk-aio",
"frontend-software-url",
"auto-ballooning",
"frontend-software-type",
"enable-device-hotplug",
"nbd2-port",
"nbd-port",
"cpu-count",
"hard-drive-url-check-certificate",
"wipe-disk-iterations",
"nat-restrict-mode",
"wipe-disk-ondestroy",
"disk-cache",
"keyboard-layout-language",
"enable-http-server",
"use-nat",
"disk-type",
"authorized-key",
"use-tap",
"nat-rules",
"external-disk-size",
"cpu-max-count",
"httpd-port",
"nbd2-host",
"numa",
"ram-size",
"machine-options",
"external-disk-number",
"ram-hotplug-slot-size",
"frontend-instance-guid",
"ram-max-size",
"enable-vhost",
"virtual-hard-drive-url",
"virtual-hard-drive-gzipped",
"cpu-model",
"external-disk-format",
"bootstrap-script-url",
"data-to-vm",
"nbd-host"
],
"additionalProperties": false
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment