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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: acb2d9ea97ad673e144297c1a4e1a585f74a81e0
|
4
|
+
data.tar.gz: 618ac6b6617c824f7406eb5cab52c5a72c6e0c2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|