ns-fog 1.22.10 → 1.22.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@ Gem::Specification.new do |s|
6
6
  ## If your rubyforge_project name is different, then edit it and comment out
7
7
  ## the sub! line in the Rakefile
8
8
  s.name = 'ns-fog'
9
- s.version = '1.22.10'
9
+ s.version = '1.22.11'
10
10
  s.date = '2014-08-07'
11
11
  s.rubyforge_project = 'fog'
12
12
 
@@ -14,6 +14,7 @@ module Fog
14
14
  attribute :description
15
15
  attribute :flavor_id, :aliases => 'instance_type'
16
16
  attribute :image_id
17
+ attribute :image_name
17
18
  attribute :memory_current
18
19
  attribute :status
19
20
  attribute :vxnet_ids
@@ -27,6 +27,7 @@ module Fog
27
27
  load(data.map do |x|
28
28
  x['vxnet_ids'] = x['vxnets'].map{|v| v['vxnet_id']}
29
29
  x['image_id'] = x['image']['image_id']
30
+ x['image_name'] = x['image']['image_name']
30
31
  x
31
32
  end
32
33
  )
@@ -5,7 +5,7 @@ module Fog
5
5
 
6
6
  # Describe all or specified routers
7
7
  # {API Reference}[https://docs.qingcloud.com/api/router/describe_router_vxnets.html]
8
- def describe_router_vxnets(router_id, vxnet_id)
8
+ def describe_router_vxnets(router_id = nil, vxnet_id = nil)
9
9
  request({
10
10
  'action' => 'DescribeRouterVxnets',
11
11
  'router' => router_id,
@@ -15,7 +15,7 @@ module Fog
15
15
  end
16
16
 
17
17
  class Mock
18
- def describe_router_vxnets(router_id, vxnet_id)
18
+ def describe_router_vxnets(router_id = nil, vxnet_id = nil)
19
19
  end
20
20
  end
21
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ns-fog
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.22.10
4
+ version: 1.22.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: