cloudstack-cli 0.10.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de4fc0e434350aa75b555c3ed6485ccf18d6a3e3
|
4
|
+
data.tar.gz: e63fe6c24cbe9f438cdb96f0e8a5971f820479b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3e50e138c4ed2398335836c36c37ed9fa5829695ad31b0e61a4c6a8799eb704dbbf5cb1e0fe8cd619604a9342adf6f6a364eb6247b58612f9d8775fb6baf72a
|
7
|
+
data.tar.gz: 9f7c65fd53a50d3ee8767cc8f1e3f34c352f4475258403e83f08500d2d90badb6bf3cd03637ca834ae5bdcacd15949d87427edc648e73d4abecfdb9efa18ca19
|
@@ -38,7 +38,7 @@ class LoadBalancer < CloudstackCli::Base
|
|
38
38
|
end
|
39
39
|
|
40
40
|
desc "add NAME", "assign servers to balancer rule"
|
41
|
-
option :servers, required: true, type: :array,
|
41
|
+
option :servers, required: true, type: :array, desc: 'server names'
|
42
42
|
def add(name)
|
43
43
|
say "Add #{names.join(', ')} to rule #{id}...", :yellow
|
44
44
|
rule = client.assign_to_load_balancer_rule(
|
@@ -65,7 +65,7 @@ class Router < CloudstackCli::Base
|
|
65
65
|
end
|
66
66
|
|
67
67
|
desc "stop NAME [NAME2 ..]", "stop virtual router(s)"
|
68
|
-
option :force,
|
68
|
+
option :force, desc: "stop without asking", type: :boolean, aliases: '-f'
|
69
69
|
def stop(*names)
|
70
70
|
routers = names.map {|name| get_router(name)}
|
71
71
|
print_routers(routers)
|
@@ -78,7 +78,7 @@ class Router < CloudstackCli::Base
|
|
78
78
|
end
|
79
79
|
|
80
80
|
desc "start NAME [NAME2 ..]", "start virtual router(s)"
|
81
|
-
option :force,
|
81
|
+
option :force, desc: "start without asking", type: :boolean, aliases: '-f'
|
82
82
|
def start(*names)
|
83
83
|
routers = names.map {|name| get_router(name)}
|
84
84
|
print_routers(routers)
|
@@ -91,7 +91,7 @@ class Router < CloudstackCli::Base
|
|
91
91
|
end
|
92
92
|
|
93
93
|
desc "start NAME [NAME2 ..]", "restart virtual router(s) (stop and start)"
|
94
|
-
option :force,
|
94
|
+
option :force, desc: "restart without asking", type: :boolean, aliases: '-f'
|
95
95
|
def restart(*names)
|
96
96
|
routers = names.map {|name| get_router(name)}
|
97
97
|
print_routers(routers)
|
@@ -112,7 +112,7 @@ class Router < CloudstackCli::Base
|
|
112
112
|
end
|
113
113
|
|
114
114
|
desc "destroy NAME [NAME2 ..]", "destroy virtual router(s)"
|
115
|
-
option :force,
|
115
|
+
option :force, desc: "destroy without asking", type: :boolean, aliases: '-f'
|
116
116
|
def destroy(*names)
|
117
117
|
routers = names.map {|name| get_router(name)}
|
118
118
|
print_routers(routers)
|
@@ -64,12 +64,12 @@ class Stack < CloudstackCli::Base
|
|
64
64
|
|
65
65
|
desc "destroy STACKFILE", "destroy a stack of servers"
|
66
66
|
option :force,
|
67
|
-
|
67
|
+
desc: "destroy without asking",
|
68
68
|
type: :boolean,
|
69
69
|
default: false,
|
70
70
|
aliases: '-f'
|
71
71
|
option :expunge,
|
72
|
-
|
72
|
+
desc: "expunge servers immediately",
|
73
73
|
type: :boolean,
|
74
74
|
default: false,
|
75
75
|
aliases: '-E'
|