Hi Peter, Some doc links below.
On Tue, Jul 9, 2013 at 4:59 AM, Peter Cheung <mcheun...@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 read more at 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. http://api.openstack.org/api-ref.html#ext-os-flavorextradata > Thanks > from Peter > > _______________________________________________ > Mailing list: https://launchpad.net/~openstack > Post to : openstack@lists.launchpad.net > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp > >
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp