Thanks, this bit is perfect. -George
On Jul 30, 2012, at 11:57 AM, Eric Windisch <e...@cloudscaling.com> wrote: > I'm not sure where the actions are documented, but you can infer them from > here: > https://github.com/openstack/python-novaclient/blob/master/novaclient/v1_1/servers.py > > Below, I've pasted a few of the methods related to this thread. These are > POST'ed to the action URI, as Mark suggested. > > Regards, > Eric Windisch > > def stop(self, server): > """ > Stop the server. > """ > return self._action('os-stop', server, None) > > def start(self, server): > """ > Start the server. > """ > self._action('os-start', server, None) > > def pause(self, server): > """ > Pause the server. > """ > self._action('pause', server, None) > > def unpause(self, server): > """ > Unpause the server. > """ > self._action('unpause', server, None) > > def lock(self, server): > """ > Lock the server. > """ > self._action('lock', server, None) > > def unlock(self, server): > """ > Unlock the server. > """ > self._action('unlock', server, None) > > def suspend(self, server): > """ > Suspend the server. > """ > self._action('suspend', server, None) > > def resume(self, server): > """ > Resume the server. > """ > self._action('resume', server, None) -- George Reese - Chief Technology Officer, enStratus e: george.re...@enstratus.com Skype: nspollution t: @GeorgeReese p: +1.207.956.0217 enStratus: Enterprise Cloud Management - @enStratus - http://www.enstratus.com To schedule a meeting with me: http://tungle.me/GeorgeReese
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp