[Openstack] which API can do these?

Anne Gentle anne at openstack.org
Tue Jul 9 16:23:14 UTC 2013

Hi Peter,

Some doc links below.

On Tue, Jul 9, 2013 at 4:59 AM, Peter Cheung <mcheung63 at hotmail.com> wrote:

> Hi All
>   which API can do these?
> 1) adjust the RAM size, no of CPU core to an instance

For 1) the keyword you want to look for in the docs is flavors. You can
http://docs.openstack.org/trunk/openstack-ops/content/flavors.html. It
indicates that you can use nova flavor-create -- note that you're
technically not modifying an existing flavor, you're creating a new flavor
and renaming it.

Use nova --debug flavor-create to see the API commands associated with
these adjustments to flavors.

> 2) enlarge a disk to an instance

This is also specified in flavors.

> 3) get the information about ram/cpu/disk size of an instance
You want this I believe.

> Thanks
> from Peter
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130709/fe9241a5/attachment.html>

More information about the Openstack mailing list