bosh_vsphere_cpi 1.2992.0 → 1.2999.0
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: a14e20a25a96773bf6b2b9aa0cb0fbb9bccbd66f
|
4
|
+
data.tar.gz: 0790622aac9dcfa0e6b52f6eaf1d96bad0366a34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 567201fbdd0d30bbe800b03dcdd8990ebf888dc5f8db3cd9af37b52b19f0e7d98f121a689dfff751b7a5b454278feecad5fa2bb85b49cea26559c7b1c53c5760
|
7
|
+
data.tar.gz: 3c6898a9d0da3f8a131d5c7c65f2146469d005a46ff2f55af6cb17945a35b5fb8ba7f2f28d5a7b29dbe33dc66f545c4dc83825593e8d77dad9866cdd50a8d4a1
|
@@ -22,7 +22,7 @@ module VSphereCloud
|
|
22
22
|
http_client.connect_timeout = 30
|
23
23
|
http_client.ssl_config.verify_mode = OpenSSL::SSL::VERIFY_NONE
|
24
24
|
|
25
|
-
VimSdk::Soap::StubAdapter.new(@host, 'vim.version.
|
25
|
+
VimSdk::Soap::StubAdapter.new(@host, 'vim.version.version8', http_client)
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module VSphereCloud
|
2
2
|
class VmCreator
|
3
|
-
def initialize(memory, disk_size_in_mb, cpu, placer, client, cloud_searcher, logger, cpi, agent_env, file_provider, disk_provider)
|
3
|
+
def initialize(memory, disk_size_in_mb, cpu, nested_hardware_virtualization, placer, client, cloud_searcher, logger, cpi, agent_env, file_provider, disk_provider)
|
4
4
|
@placer = placer
|
5
5
|
@client = client
|
6
6
|
@cloud_searcher = cloud_searcher
|
@@ -9,6 +9,7 @@ module VSphereCloud
|
|
9
9
|
@memory = memory
|
10
10
|
@disk_size_in_mb = disk_size_in_mb
|
11
11
|
@cpu = cpu
|
12
|
+
@nested_hardware_virtualization = nested_hardware_virtualization
|
12
13
|
@agent_env = agent_env
|
13
14
|
@file_provider = file_provider
|
14
15
|
@disk_provider = disk_provider
|
@@ -42,7 +43,10 @@ module VSphereCloud
|
|
42
43
|
replicated_stemcell_vm = Resources::VM.new(stemcell_cid, replicated_stemcell_vm_mob, @client, @logger)
|
43
44
|
snapshot = replicated_stemcell_properties['snapshot']
|
44
45
|
|
45
|
-
|
46
|
+
config_hash = {memory_mb: @memory, num_cpus: @cpu}
|
47
|
+
config_hash.merge!(nested_hv_enabled: true) if @nested_hardware_virtualization
|
48
|
+
|
49
|
+
config = VimSdk::Vim::Vm::ConfigSpec.new(config_hash)
|
46
50
|
config.device_change = []
|
47
51
|
|
48
52
|
ephemeral_disk = VSphereCloud::EphemeralDisk.new(@disk_size_in_mb, vm_cid, datastore)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bosh_vsphere_cpi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2999.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- VMware
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bosh_common
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.2999.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.2999.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bosh_cpi
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.2999.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.
|
40
|
+
version: 1.2999.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: membrane
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -208,7 +208,7 @@ dependencies:
|
|
208
208
|
version: '0'
|
209
209
|
description: |-
|
210
210
|
BOSH VSphere CPI
|
211
|
-
|
211
|
+
321dd5
|
212
212
|
email: support@cloudfoundry.com
|
213
213
|
executables:
|
214
214
|
- vsphere_cpi
|