Difference between revisions of "NovaAPIv2tov3"
Line 69: | Line 69: | ||
! Action !! Status code !! Request !! Response !! Error code | ! Action !! Status code !! Request !! Response !! Error code | ||
|- | |- | ||
− | | | + | | create || 200->201 || || || |
|- | |- | ||
| delete || 200->204 || || || | | delete || 200->204 || || || | ||
Line 76: | Line 76: | ||
|- | |- | ||
| remove_host || 200->202 || || || | | remove_host || 200->202 || || || | ||
+ | |} | ||
+ | |||
+ | "AttachInterfaces" | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! Action !! Status code !! Request !! Response !! Error code | ||
+ | |- | ||
+ | | index || || || interfaceAttachments->interface_attachments || | ||
+ | |- | ||
+ | | show || || || interfaceAttachment->interface_attachments || | ||
+ | |- | ||
+ | | create || || interfaceAttachment->interface_attachments || || | ||
|} | |} |
Revision as of 05:56, 7 November 2013
The Changes of Nova API v2 to v3
AccessIPs
Demote from server core as new extension called access-ips.
Action | Status code | Request | Response | Error code |
---|---|---|---|---|
create/show/update/rebuild/detail | access_ip_v4->os-access-ips:access_ip_v4 access_ip_v6->os-access-ips:access_ip_v6 |
access_ip_v4->os-access-ips:access_ip_v4 access_ip_v6->os-access-ips:access_ip_v6 |
AdminActions
Action | Status code | Request | Response | Error Code |
---|---|---|---|---|
pause | InstanceIsLocked: 422->409 | |||
unpause | InstanceIsLocked: 422->409 | |||
suspend | InstanceIsLocked: 422->409 | |||
resume | InstanceIsLocked: 422->409 | |||
migrate | InstanceIsLocked: 400->409 FlavorNotFound: 400->404 TooManyInstances: 400->413 | |||
resetNetwork->reset_network | InstanceIsLocked: 422->409 | |||
injectNetworkInfo->inject_network_info | InstanceIsLocked: 422->409 | |||
createBackup->create_backup | ||||
os-migrateLive->migrate_live | InstanceInvalidState: 400->409 | |||
os-resetState->reset_state |
AdminPassword
Demote action 'changePassword' from server core.
Action | Status code | Request | Response | Error code |
---|---|---|---|---|
changePassword=>change_password | 204->202 | adminPass->admin_password |
Agents
Action | Status code | Request | Response | Error code |
---|---|---|---|---|
update | Invalid Input: 422->400 | |||
delete | 200->204 | |||
create | 200->201 | Invalid Input: 422->400 AgentBuildExists: 500->409 |
Aggregates
Action | Status code | Request | Response | Error code |
---|---|---|---|---|
create | 200->201 | |||
delete | 200->204 | |||
add_host | 200->202 | |||
remove_host | 200->202 |
"AttachInterfaces"
Action | Status code | Request | Response | Error code |
---|---|---|---|---|
index | interfaceAttachments->interface_attachments | |||
show | interfaceAttachment->interface_attachments | |||
create | interfaceAttachment->interface_attachments |