fog-vsphere 1.11.0 → 1.11.1

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: ce99898828f010893cf231e4848df2e606ca70c8
4
- data.tar.gz: ddab6c8da05931d2c347d96c7f6f3b4490577780
3
+ metadata.gz: 6caeac57a6e6da52cfbc108211e23b35f04ee296
4
+ data.tar.gz: 166a5bc06f3d24d72129130aebaa9a38fe494d5b
5
5
  SHA512:
6
- metadata.gz: f45ddf72f15fc715f45cfbfa3ee2091817cadeaca315b281febd7b41ab0690a4d7844781a18ed26d0d95fbbdf09e07ae51fbb919686b61c65c03b920a049223c
7
- data.tar.gz: a796b42151696961fb6c2f743f6a860b3ff221aff22715eaad57cc14a660e0d67042b292c2550c366a5986b9bdafd0de4110589189f810af93567e7e02666638
6
+ metadata.gz: 0b3ee4aab1f9786c7118776d79681863714c689fa39c84b2d7bf45449c80f54452d97031954eea8d2558dee9ef72157d27996580f4c2249df9dea123689ef1e8
7
+ data.tar.gz: 860cdbca83dca1638fea14a8150e0f3ee46983a6409ce21da964fa9df817e7e9a301d14ac3ce3dbc8fa1dabcf9a88e93d0431512eb4b954fd0c70893b1791325
@@ -1,3 +1,7 @@
1
+ ## v1.11.1
2
+
3
+ * Use key to identify dvPort Group
4
+
1
5
  ## v1.11.0
2
6
 
3
7
  * Add ability to query subresource pools
@@ -76,3 +76,4 @@
76
76
  * slivik <jakub.sliva@gmail.com>
77
77
  * theOpenBit <theopenbit@users.noreply.github.com>
78
78
  * tipt0e <topo-2@charter.net>
79
+ * wiad <adam.winberg@gmail.com>
@@ -24,8 +24,14 @@ module Fog
24
24
  protected
25
25
 
26
26
  def network_attributes network, datacenter
27
+ raw_network = get_raw_network(network.name, datacenter)
28
+ if raw_network.kind_of? RbVmomi::VIM::DistributedVirtualPortgroup
29
+ id = raw_network.key
30
+ else
31
+ id = managed_obj_id(network)
32
+ end
27
33
  {
28
- :id => managed_obj_id(network),
34
+ :id => id,
29
35
  :name => network.name,
30
36
  :accessible => network.summary.accessible,
31
37
  :datacenter => datacenter,
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module Vsphere
3
- VERSION = '1.11.0'.freeze
3
+ VERSION = '1.11.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-vsphere
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - J.R. Garcia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-27 00:00:00.000000000 Z
11
+ date: 2017-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog-core