cloudstack_client 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cloudstack_client/commands/server.rb +3 -3
- data/lib/cloudstack_client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad14dbd87dd06f05a23df366636a2412a699ee8d
|
4
|
+
data.tar.gz: f9c04f372dff07cd9d844ccf89b7dce1d6f6256e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eeb206ade3c1c142ec56ea197e001c6b95add7d1758a57bd421ba8f5b7bc9f6fd3bc6b63168e277da5c3a09719006f1f8a6506803b419581c58ce9789948da78
|
7
|
+
data.tar.gz: 494104c2a16c68aab7bb01cf2f18dd85e2cb2ffd6af3425fbddfba2d3c07339b5066a07a8b012d54b237c9b7ba2b5f361f694a7b85e5d9f91ba4e254255c01e3
|
@@ -244,7 +244,7 @@ module CloudstackClient
|
|
244
244
|
# Stops the server with the specified name.
|
245
245
|
#
|
246
246
|
|
247
|
-
def stop_server(name, args = {})
|
247
|
+
def stop_server(name, args = {async: true})
|
248
248
|
server = get_server(name, args)
|
249
249
|
if !server || !server['id']
|
250
250
|
puts "Error: Virtual machine '#{name}' does not exist"
|
@@ -264,7 +264,7 @@ module CloudstackClient
|
|
264
264
|
# Start the server with the specified name.
|
265
265
|
#
|
266
266
|
|
267
|
-
def start_server(name, args = {})
|
267
|
+
def start_server(name, args = {async: true})
|
268
268
|
server = get_server(name, args)
|
269
269
|
if !server || !server['id']
|
270
270
|
puts "Error: Virtual machine '#{name}' does not exist"
|
@@ -283,7 +283,7 @@ module CloudstackClient
|
|
283
283
|
# Reboot the server with the specified name.
|
284
284
|
#
|
285
285
|
|
286
|
-
def reboot_server(name, args = {})
|
286
|
+
def reboot_server(name, args = {async: true})
|
287
287
|
server = get_server(name, args)
|
288
288
|
if !server || !server['id']
|
289
289
|
puts "Error: Virtual machine '#{name}' does not exist"
|