<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks for this and a number of other suggestions. I am giving them a try.<div><br></div><div>Just a note though: some of the things that appear to work are inconsistent with other server actions in structure (os-stop vs. pause vs. os-start vs. reboot).</div><div><br></div><div>-George</div><div><br><div><div>On Jul 30, 2012, at 11:32 AM, Mark McLoughlin <<a href="mailto:markmc@redhat.com">markmc@redhat.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On Mon, 2012-07-30 at 10:50 -0500, George Reese wrote:<br><blockquote type="cite">I must be missing something, but I can't find any docs on how to suspend or stop a VM via API.<br><br>Any pointers, please? :)<br></blockquote><br>Try 'nova --debug pause $instance'<br><br>Shows e.g.<br><br>  POST /v2/$tenant/servers/$instance/action HTTP/1.1<br>  Host: $host:8774<br>  Accept: application/json<br>  Content-Length: application/json<br>  Content-Type: text/html<br>  x-auth-project-id: demo<br>  x-auth-token: $token<br><br>  {"pause": null}'<br><br>  HTTP/1.1 202 Accepted<br><br>It's an API extension, not part of the core API, and AFAIK they're not<br>so well documented.<br><br>Mark.<br><br></blockquote></div><br><div apple-content-edited="true">
<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: -webkit-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; "><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: -webkit-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 style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">--<br>George Reese - Chief Technology Officer, enStratus<br>e: <a href="mailto:george.reese@enstratus.com">george.reese@enstratus.com</a>    Skype: nspollution    t: @GeorgeReese    p: +1.207.956.0217<br>enStratus: Enterprise Cloud Management - @enStratus - <a href="http://www.enstratus.com/">http://www.enstratus.com</a><br>To schedule a meeting with me: <a href="http://tungle.me/GeorgeReese">http://tungle.me/GeorgeReese</a></div></span></span>
</div>
<br></div></body></html>