af8f401eb5
This patch changes 'admin_password' to 'adminPass' that same with v2 api. And also change the related unittest. The differences between v2 and v3 are described on the wiki page https://wiki.openstack.org/wiki/NovaAPIv2tov3. Partially implements blueprint v2-on-v3-api Change-Id: Ie5675f98bb15c55a191a207171e2ffe3be8e6deb
22 lines
590 B
JSON
22 lines
590 B
JSON
{
|
|
"server": {
|
|
"adminPass": "ki8cbWeZdxH6",
|
|
"id": "2dabdd93-ced7-4607-a542-2516de84e0e5",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v3/servers/2dabdd93-ced7-4607-a542-2516de84e0e5",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/servers/2dabdd93-ced7-4607-a542-2516de84e0e5",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"os-security-groups:security_groups": [
|
|
{
|
|
"name": "test"
|
|
}
|
|
]
|
|
}
|
|
}
|