bosh_vcloud_cpi 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cloud/vcloud/cloud.rb +3 -26
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cf849aca94b875385ed294be390fb8f9e69ab2fa
4
- data.tar.gz: 32c666a6702a4f3000441bd074ecedcb70bc0530
3
+ metadata.gz: f37afbc1162fecf305e44e4e3fd2d004440e0f86
4
+ data.tar.gz: 5b9a1c6bea686801e3859a1a9b835826d3480deb
5
5
  SHA512:
6
- metadata.gz: eb7a0ee08d1289702d516b90c285647c64caf0604bdc665c9a132e3027ff16782e9d2e19e6e2a8bcb909e2ed23b8c1a6148e80a02b3b62329719996c66f45a8f
7
- data.tar.gz: 9d40d0aead537318a279bbfdaa8fe2558cf6720e91bbc37b393d66fad81c62b7ffc8c0aa267e5e2363ba447a9d79bced779c33eb751f9fb45a7ebde7d636c772
6
+ metadata.gz: 32d1b89e553eba40078159b99212b4c34ec4bcfbd2aa0c8fc8edebaa0c2754e03046b25cb619df10f37fe1679c1003c18792ed4eeee823ef36cca78fac9bf5a1
7
+ data.tar.gz: 9710f22a6052f689fa454ec0e84567848ffb542ea125672fad22fd8dbe1bb97f8d378b213a67f07d5a66536bd8aff1e20bcdcffd5d49098278a29f62c00595db
@@ -197,34 +197,11 @@ module VCloudCloud
197
197
  end
198
198
 
199
199
  def configure_networks(vm_id, networks)
200
- steps "configure_networks(#{vm_id}, #{networks})" do |s|
201
- vm = s.state[:vm] = client.resolve_entity vm_id
202
-
203
- @vapp_lock.synchronize do
204
- # power off vm first
205
- s.next Steps::PowerOff, :vm, true
206
-
207
- # load container vApp
208
- s.state[:vapp] = client.resolve_link vm.container_vapp_link
209
-
210
- reconfigure_vm s, nil, nil, nil, networks
211
-
212
- # update environment
213
- s.state[:env_metadata_key] = @entities['vm_metadata_key']
214
- s.next Steps::LoadAgentEnv
215
- vm = s.state[:vm] = client.reload vm
216
- Steps::CreateOrUpdateAgentEnv.update_network_env s.state[:env], vm, networks
217
-
218
- save_agent_env s
219
-
220
- # power on
221
- s.next Steps::PowerOn, :vm
222
- end
223
- end
200
+ raise Bosh::Clouds::NotSupported, 'VDC CPI was configured to return NotSupported'
224
201
  end
225
202
 
226
- def create_disk(size_mb, cloud_properties, vm_locality = nil)
227
- (steps "create_disk(#{size_mb}, #{cloud_properties.inspect}, #{vm_locality.inspect})" do |s|
203
+ def create_disk(size_mb, vm_locality = nil)
204
+ (steps "create_disk(#{size_mb}, #{vm_locality.inspect})" do |s|
228
205
  # vm_locality is used as vm_id
229
206
  vm = vm_locality.nil? ? nil : client.resolve_entity(vm_locality)
230
207
  storage_profiles = client.vdc.storage_profiles || []
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bosh_vcloud_cpi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - VMware
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-22 00:00:00.000000000 Z
11
+ date: 2014-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bosh_common
@@ -124,7 +124,7 @@ dependencies:
124
124
  version: '0'
125
125
  description: |-
126
126
  BOSH vCloud CPI
127
- 7133d0
127
+ e035c4
128
128
  email: support@cloudfoundry.com
129
129
  executables: []
130
130
  extensions: []