<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>I like this idea, but I would suggest going with a unix timestamp in GMT instead of /2011/xx/xx/etc.</div><div><br></div><div>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.</div><div><br></div><div><br></div><div><br></div><div><div>On Feb 16, 2011, at 2:02 PM, Glen Campbell wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>
<div style="font-family: Calibri; font-size: medium; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; ">The proposed compute API 1.1 has a specification for server actions (Sec. 4.4) with the endpoint:<o:p></o:p></span></div>
</div>
<div style="font-family: Calibri; font-size: medium; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; "><o:p> </o:p></span></div>
</div>
<div style="font-family: Calibri; font-size: medium; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span class="apple-style-span"><span style="font-size: 9pt; font-family: Courier; color: black; ">   /servers/{id}/action</span></span><span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; "><o:p></o:p></span></div>
</div>
<div style="font-family: Calibri; font-size: medium; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; "><o:p> </o:p></span></div>
</div>
<div style="font-family: Calibri; font-size: medium; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; ">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.<o:p></o:p></span></div>
</div>
<div style="font-family: Calibri; font-size: medium; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; "><o:p> </o:p></span></div>
</div>
<div style="font-family: Calibri; font-size: medium; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; ">I'd like us to consider changing this "action" resource into a "calendar" or perhaps "schedule" resource:<o:p></o:p></span></div>
</div>
<div style="font-family: Calibri; font-size: medium; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; "><o:p> </o:p></span></div>
</div>
<div style="font-family: Calibri; font-size: medium; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span class="apple-style-span"><span style="font-size: 9pt; font-family: Courier; color: black; ">   /servers/{id}/schedule{/year{/month{/day{/hour{/minute}}}}}</span></span><span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; "><o:p></o:p></span></div>
</div>
<div style="font-family: Calibri; font-size: medium; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; "><o:p> </o:p></span></div>
</div>
<div style="font-family: Calibri; font-size: medium; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; ">This would provide a generalized way of performing actions on a scheduled basis.<o:p></o:p></span></div>
</div>
<div style="font-family: Calibri; font-size: medium; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; "><o:p> </o:p></span></div>
</div>
<div style="font-family: Calibri; font-size: medium; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; ">For example, instead of having to wake up at 2AM to reboot a server (for whatever reason), the administrator could schedule that event:<o:p></o:p></span></div>
</div>
<div style="font-family: Calibri; font-size: medium; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; "><o:p> </o:p></span></div>
</div>
<div style="font-family: Calibri; font-size: medium; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span class="apple-style-span"><span style="font-size: 9pt; font-family: Courier; color: black; ">   /servers/{id}/schedule/2011/2/17/02/00</span></span><span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; "><o:p></o:p></span></div>
</div>
<div style="font-family: Calibri; font-size: medium; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; "><o:p> </o:p></span></div>
</div>
<div style="font-family: Calibri; font-size: medium; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; ">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.<o:p></o:p></span></div>
</div>
<div style="font-family: Calibri; font-size: medium; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; "><o:p> </o:p></span></div>
</div>
<div style="font-family: Calibri; font-size: medium; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; ">The schedule resource could have additional uses; for example, a GET request could return the currently-scheduled actions for a particular server.</span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; "><br>
</span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; ">Glen</span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span style="font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; "><br>
</span></div>
</div>
</div>
<pre>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 <a href="mailto:abuse@rackspace.com">abuse@rackspace.com</a>, and delete the original message.
Your cooperation is appreciated.
</pre></div>

_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><div><div>Mike Mayo</div><div>901-299-9306</div><div>@greenisus</div></div><div><br></div></div></span><br class="Apple-interchange-newline">
</div>
<br></body></html>