[
https://issues.apache.org/jira/browse/LIBCLOUD-655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14280363#comment-14280363
]
Richard Wall commented on LIBCLOUD-655:
---------------------------------------
Other drivers supply these as ``ex_`` methods eg:
*
https://libcloud.readthedocs.org/en/latest/apidocs/libcloud.compute.drivers.html#libcloud.compute.drivers.libvirt_driver.LibvirtNodeDriver.ex_shutdown_node
> Add an API for managing the power state of DigitalOcean droplets
> ----------------------------------------------------------------
>
> Key: LIBCLOUD-655
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-655
> Project: Libcloud
> Issue Type: Improvement
> Components: Compute
> Reporter: Richard Wall
> Labels: digitalocean
>
> The DigitalOceanDriver could provide an interface for shutting down, powering
> off, and powering on droplets.
> * https://developers.digitalocean.com/v1/droplets/
> It would be useful to wrap those in the DigitalOceanDriver.
> My use case is that after changing the droplet kernel (which I have to do via
> a separate call to the V2 API) I need to shutdown the droplet gracefully and
> then power it back on, as part of our cloud acceptance tests.
> See:
> * https://github.com/ClusterHQ/flocker/pull/1043#discussion_r23074028
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)