nova/doc/v3/api_samples/os-multiple-create/multiple-create-no-resv-post-req.json
ghanshyam 5ba9301c34 Make create server schema 'additionalProperties' False
Nova V2.1 API has strong input validation by making validation
through JSON schema.

This patch makes create server schema 'additionalProperties' to False
as all create server extensions are implemented in V2.1.

After this, V2.1 will not allow extra arg for create server.

This patch also fix the API sample files which were passing extra arg in
create request body.

Partially implements blueprint v2-on-v3-api

Change-Id: Ib2a4272cbacb3011b800776577233545af3d9d4b
2014-12-15 15:00:11 +09:00

13 lines
364 B
JSON

{
"server": {
"name": "new-server-test",
"imageRef": "http://openstack.example.com/openstack/images/70a599e0-31e7-49b7-b260-868f441e862b",
"flavorRef": "http://openstack.example.com/openstack/flavors/1",
"metadata": {
"My Server Name": "Apache1"
},
"min_count": "2",
"max_count": "3"
}
}