cloudstack_client 0.3.2 → 0.3.3
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 -1
- 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: fdafa7bf5c04d075bf4492b9d21164254485c487
|
4
|
+
data.tar.gz: f201730b49f77af97d9dedeaa8d369bc8bee9767
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f5b48cd86110b2c77637ceb671f5a6b33a1f6199efaaf15dc6f7c858c0479dd7d75e8dc25b606af186aa779516ca15e13c542337016b802823adf2f17377070
|
7
|
+
data.tar.gz: 14755b5962cb951828ba95b33162be37c23af54a132fe77b59ad006d7e764eed5d59815f5181573110425bff3d036952d60e806e7993e93b275336e5253b8466
|
@@ -93,7 +93,7 @@ module CloudstackClient
|
|
93
93
|
end
|
94
94
|
|
95
95
|
##
|
96
|
-
# Lists
|
96
|
+
# Lists servers.
|
97
97
|
|
98
98
|
def list_servers(options = {})
|
99
99
|
params = {
|
@@ -101,6 +101,8 @@ module CloudstackClient
|
|
101
101
|
'listAll' => true
|
102
102
|
}
|
103
103
|
params['projectid'] = options[:project_id] if options[:project_id]
|
104
|
+
params['state'] = options[:status] if options[:status]
|
105
|
+
params['groupid'] = options[:group_id] if options[:group_id]
|
104
106
|
|
105
107
|
if options[:zone]
|
106
108
|
zone = get_zone(options[:zone])
|