[Openstack] OpenStack Compute API 1.1 ‹ server actions
mike at openstack.org
Wed Feb 16 22:11:33 UTC 2011
I like this idea, but I would suggest going with a unix timestamp in GMT instead of /2011/xx/xx/etc.
Also, how would this effect error handling? It seems like you'd basically need to have some sort of way to query all the server actions you've ever done before with their HTTP responses.
On Feb 16, 2011, at 2:02 PM, Glen Campbell wrote:
> The proposed compute API 1.1 has a specification for server actions (Sec. 4.4) with the endpoint:
> The actual action is specified as the body of the POST request, and the implication is that the action is performed immediately, or as soon as possible.
> I'd like us to consider changing this "action" resource into a "calendar" or perhaps "schedule" resource:
> This would provide a generalized way of performing actions on a scheduled basis.
> For example, instead of having to wake up at 2AM to reboot a server (for whatever reason), the administrator could schedule that event:
> By using the default resource (without the day or time specified), the meaning would be synonymous with the proposed "/action" resource; i.e., perform it NOW, or as soon as possible.
> The schedule resource could have additional uses; for example, a GET request could return the currently-scheduled actions for a particular server.
> Confidentiality Notice: This e-mail message (including any attached or
> embedded documents) is intended for the exclusive and confidential use of the
> individual or entity to which this message is addressed, and unless otherwise
> expressly indicated, is confidential and privileged information of Rackspace.
> Any dissemination, distribution or copying of the enclosed material is prohibited.
> If you receive this transmission in error, please notify us immediately by e-mail
> at abuse at rackspace.com, and delete the original message.
> Your cooperation is appreciated.
> 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...
More information about the Openstack