340ffeeff1
Nova V2.1 API has strong input validation by making validation
through JSON schema.
This patch makes rebuild server schema 'additionalProperties' to False
as all rebuild server extensions are implemented in V2.1.
After this, V2.1 will not allow extra arg for rebuild server.
This patch also modify the corresponding rebuild server tests
for extra input passed in request body-
test_rebuild_admin_password_pass_disabled
test_create_and_rebuild_server
Access ip extension sample files
Partially implements blueprint v2-on-v3-api
Change-Id: Ib13b02cefb9617e8af3b62b81d2f7eb7cd88eab1
12 lines
302 B
JSON
12 lines
302 B
JSON
{
|
|
"rebuild" : {
|
|
"accessIPv4": "4.3.2.1",
|
|
"accessIPv6": "80fe::",
|
|
"imageRef" : "http://glance.openstack.example.com/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"name" : "new-server-test",
|
|
"metadata" : {
|
|
"meta_var" : "meta_val"
|
|
}
|
|
}
|
|
}
|