fog-vcloud-director 0.1.7 → 0.1.8

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: 913ed39261e178054786fdcb90f170cb43ca0c87
4
- data.tar.gz: 9ea9e050da023be0d5b3e93f069e65c4dd2549ee
3
+ metadata.gz: acb2d9ea97ad673e144297c1a4e1a585f74a81e0
4
+ data.tar.gz: 618ac6b6617c824f7406eb5cab52c5a72c6e0c2d
5
5
  SHA512:
6
- metadata.gz: 8956eb13998032800002dc62c0e6a0eb0076e3ec6f1ce61cc08758869ec23ed2e750c07000c2f49347eaea6bba0549f6fb6a0769a59e49a9ed3cb742168cabb4
7
- data.tar.gz: 9e7838788a6667565cae3defb7e2ae69c1eca432144da0c611ab9cf862dbe3a36676728368707f18681e4c37a30662652b3b9907311a69339d2d1ece143404b2
6
+ metadata.gz: 3ba35c9387445ba81b557da5eb2e7fe9602e469fb451e8fba562b65ea2ebae47e1fc4602e34c1ef28d4fba1e29c52a96d86eb38871976fd92868ec5a4b67bb38
7
+ data.tar.gz: f1693bec1b12bd9d4f5e9bbc5fb9e90677af0442f2b5d60e8b8a90841dc27a78a9a58388c1c9abbbae53026db48a621ae93c0d73cac8ecf95a1eb482fcf6da66
@@ -64,6 +64,9 @@ module Fog
64
64
  options[:Source] = options.delete(:template_uri) if options[:template_uri]
65
65
  options[:source_vms].each_with_index { |_, i| options[:source_vms][i][:href] = vapp_template_vm_end_point(options[:source_vms][i].delete(:vm_id)) if options[:source_vms][i].has_key?(:vm_id) }
66
66
 
67
+ network_config = options[:InstantiationParams][:NetworkConfig]
68
+ network_config.each_with_index { |_, i| network_config[i][:networkHref] = network_end_point(network_config[i].delete(:networkId)) if network_config[i].key?(:networkId) }
69
+
67
70
  Fog::Generators::Compute::VcloudDirector::InstantiateVappTemplateParams.new(options).generate_xml
68
71
  end
69
72
 
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module VcloudDirector
3
- VERSION = "0.1.7".freeze
3
+ VERSION = "0.1.8".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-vcloud-director
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luka Zakrajšek