alibazlamit commented on this pull request.
> + }
+
+ @Override
+ public void rebootNode(String id) {
+ waitServerUntilAvailable.apply(getNode(id));
+ api.serverApi().updateStatus(id,
Server.UpdateStatus.create(Types.ServerAction.REBOOT,
Types.ServerActionMethod.HARDWARE));
+ }
+
+ @Override
+ public void resumeNode(String id) {
+ api.serverApi().updateStatus(id,
Server.UpdateStatus.create(Types.ServerAction.POWER_ON,
Types.ServerActionMethod.HARDWARE));
+ }
+
+ @Override
+ public void suspendNode(String id) {
+ waitServerUntilRunning.apply(getNode(id));
ill just validate that the server is available.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/338