Commit Graph

10 Commits

Author SHA1 Message Date
Oleg Bondarev e354a56933 Add "ExtendedVolumes" API extension
- adds an API extension to include list of attached volumes with instance info
- adds v3 api porting as well

DocImpact

Implements blueprint servers-add-volume-list
Change-Id: If58dc40b093c2f61c6ae6b82fcd8f0bf53be464a
2013-07-10 11:09:21 +04:00
Andrew Melton f5d790df0a Launch_at and terminated_at on server(s) response
Implements bp usage-details-on-instance

Change-Id: I0a9101c43a51d597a1eaff9d5a5d08d602024e72
2013-05-31 15:50:40 -04:00
Russell Bryant 56f5172f33 Revert "Include list of attached volumes with instance info"
This reverts commit dd66f235ec.

This changed the core servers API without doing it as an API extension,
so it's not an acceptable change as written.

Change-Id: I3787060583de1371e366647d38d69f37746317d5
2013-05-15 20:10:00 -04:00
Oleg Bondarev dd66f235ec Include list of attached volumes with instance info
Fixes bug 1112998

Change-Id: I1c3eb578339aabbcfed107043f39e30daf633c4a
2013-05-08 10:18:10 +04:00
Zhi Yan Liu 262b285a04 Add an extension to show the mac address of a ip in server(s)
This extension adds the OS-EXT-IPS-MAC:mac_addr param
so that users can associate the mac address to the ip of the server in
one API call.

Implement bp: os-ext-ips-mac-api-extension
DocImpact

Change-Id: I01d0b3aa804b5218853a4bb568c85e31b87d04e4
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
2013-04-12 13:37:03 +08:00
Vishvananda Ishaya 80bd1de65a Simplify and optimize az server output extension.
Displaying two different az results to users is confusing, so just
return the az that the instance is actually in. Also, cache the
result from looking up the az by host for an hour to avoid making
lots of expensive db requests.

DocImpact

Change-Id: Ib39bf94c608874695aab00e61035e64f9594a985
2013-02-12 09:00:33 -08:00
Vishvananda Ishaya 64fcd4de11 Add an extension to show the type of an ip.
There is currently no way to differentiate a fixed ip from a floating
ip in the servers list. This extension adds the OS-EXT-IPS:type param
so that users can determine if it is a fixed address or a floating
address.

Fixes bug 1117784

DocImpact

Change-Id: I8709a4f2f6792faa3d8e0cdcd330d751ef6633ae
2013-02-12 09:00:13 -08:00
gtt116 0d813e44ff Add REST API to show availability_zone of instance.
Implement one workitem for bp:show-availability-zone

This show the availability zone and availability zone of its host in
API: GET /servers/details, GET /server/{uuid}.

When create instance if "availability_zone" doesn't specified, the
"availability_zone" of the instance will be None.  But actually the instance
is in a zone which its host is in. So I think show both of them will be fine.

Change-Id: I2d742ee2d291b514bf783fa79293785cca8ea2a5
2013-02-03 08:57:20 +00:00
Sean Dague 123fa7b040 updated api_samples with real hypervisor_hostname
now that hypervisor_hostname is getting set in tests, update
api_samples with something better than none

part of blueprint:nova-api-samples

DocImpact

Change-Id: Iaac6a5d2d172eb3c56b64f0dc2a6075a79412712
2012-11-15 15:07:05 -05:00
Mark McLoughlin 6bc7055adc Move api_samples to doc dir
The generated api_samples aren't used for the tests, they're only
included in git so that they can be synced into the docs. Move them
to the doc/ dir to make that more clear since I keep forgetting.

Change-Id: I0851ac0ee234dc1e8740666716733e05f856ddec
2012-09-05 22:08:40 +01:00