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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ab5d5da9c325df3899f91f51aa8d94c902f81163
4
- data.tar.gz: f59485aaea903b8512ef8b9d9202c16b892c957a
3
+ metadata.gz: fdafa7bf5c04d075bf4492b9d21164254485c487
4
+ data.tar.gz: f201730b49f77af97d9dedeaa8d369bc8bee9767
5
5
  SHA512:
6
- metadata.gz: 8e163ca896e964ac434431b81539a3ce850ae4e8efcc6982ef003e23993a03b4f26a7dd97c45fa6e90615f6993764d852e50190fecd7f5bcd67a55df6f45b7e2
7
- data.tar.gz: d5aad9464d92e13682913a7cb2820a6d2a9fa1a9cff3e572f9ee9e5677a4410ce6ff4c19925657217b024c311611acb83eb56f34bddedbda328c6014fc60749d
6
+ metadata.gz: 8f5b48cd86110b2c77637ceb671f5a6b33a1f6199efaaf15dc6f7c858c0479dd7d75e8dc25b606af186aa779516ca15e13c542337016b802823adf2f17377070
7
+ data.tar.gz: 14755b5962cb951828ba95b33162be37c23af54a132fe77b59ad006d7e764eed5d59815f5181573110425bff3d036952d60e806e7993e93b275336e5253b8466
@@ -93,7 +93,7 @@ module CloudstackClient
93
93
  end
94
94
 
95
95
  ##
96
- # Lists all the servers in your account.
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])
@@ -1,3 +1,3 @@
1
1
  module CloudstackClient
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudstack_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nik Wolfgramm