bosh_cpi 1.2579.0 → 1.2583.0

Sign up to get free protection for your applications and to get access to all the features.
data/lib/cloud/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Bosh
2
2
  module Clouds
3
- VERSION = '1.2579.0'
3
+ VERSION = '1.2583.0'
4
4
  end
5
5
  end
data/lib/cloud.rb CHANGED
@@ -210,12 +210,6 @@ module Bosh
210
210
  not_implemented(:get_disks)
211
211
  end
212
212
 
213
- # Validates the deployment
214
- # @api not_yet_used
215
- def validate_deployment(old_manifest, new_manifest)
216
- not_implemented(:validate_deployment)
217
- end
218
-
219
213
  private
220
214
 
221
215
  def not_implemented(method)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bosh_cpi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2579.0
4
+ version: 1.2583.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-05-24 00:00:00.000000000 Z
12
+ date: 2014-05-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bosh_common
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 1.2579.0
21
+ version: 1.2583.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,10 +26,10 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: 1.2579.0
29
+ version: 1.2583.0
30
30
  description: ! 'BOSH CPI
31
31
 
32
- 4fef83'
32
+ b96a92'
33
33
  email: support@cloudfoundry.com
34
34
  executables: []
35
35
  extensions: []
@@ -45,7 +45,6 @@ files:
45
45
  - lib/cloud/config.rb
46
46
  - lib/cloud/errors.rb
47
47
  - lib/cloud/external_cpi.rb
48
- - lib/cloud/provider.rb
49
48
  - lib/cloud/version.rb
50
49
  - README
51
50
  homepage: https://github.com/cloudfoundry/bosh
@@ -69,10 +68,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
68
  version: '0'
70
69
  segments:
71
70
  - 0
72
- hash: -2094969827085848795
71
+ hash: 2533708004430093783
73
72
  requirements: []
74
73
  rubyforge_project:
75
- rubygems_version: 1.8.23
74
+ rubygems_version: 1.8.23.2
76
75
  signing_key:
77
76
  specification_version: 3
78
77
  summary: BOSH CPI
@@ -1,31 +0,0 @@
1
- module Bosh::Clouds
2
- class Provider
3
- def self.create(cloud_config, director_uuid)
4
- if cloud_config.fetch('external_cpi',{}).fetch('enabled', false)
5
- ExternalCpiProvider.create(cloud_config['external_cpi'], director_uuid)
6
- else
7
- PluginCloudProvider.create(cloud_config['plugin'], cloud_config['properties'])
8
- end
9
- end
10
- end
11
-
12
- private
13
-
14
- class PluginCloudProvider
15
- def self.create(plugin, options)
16
- begin
17
- require "cloud/#{plugin}"
18
- rescue LoadError => error
19
- raise CloudError, "Could not load Cloud Provider Plugin: #{plugin}"
20
- end
21
-
22
- Bosh::Clouds.const_get(plugin.capitalize).new(options)
23
- end
24
- end
25
-
26
- class ExternalCpiProvider
27
- def self.create(external_cpi_config, director_uuid)
28
- ExternalCpi.new(external_cpi_config['cpi_path'], director_uuid)
29
- end
30
- end
31
- end