bosh_cpi 1.2682.1.0 → 1.2685.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: 43435382bdda8f2281dca0f4e0ad4c3a551b23a5
4
- data.tar.gz: f5a6ff6ca4ec53bc7bfd9350d77270b35f8e5143
3
+ metadata.gz: c2805018a4ccd3baf366948268dd81a241636afd
4
+ data.tar.gz: fae709b7c4e3f495e8a8d03f4d54a79be491bff5
5
5
  SHA512:
6
- metadata.gz: 6e4c7707a61b9781f37d9426aa58b669382eb4b015626f4925fe3b5d78438ea721a7eac79b47de1426a6be75ac90ad97457e73edaedeb1ed2f92fd33ea64e099
7
- data.tar.gz: 2278d02e0db916a935d86947583c0d7e4b991c2dc32bee2163b323984b1708ec192d65808490db3ac5d9d58bbf49520e26eee9abe68b80f67c8a7f0f74c6b4ea
6
+ metadata.gz: 4dee47e0fa1b0ad79d7527655076339e6b72f77c68b80b7bdd3cac0022fb864e415f7b1d4402d4c08c0f697da9eb6754b0c0016a9a3938330c878bd0f8abbf1d
7
+ data.tar.gz: 92d45e4d642b35a026cdfd9fccae3cda20ad8f353f249a7ef577fa62d205c9136cad12410793e4b22e5ccdc37c98ddd9376e04d66b1e55c43b41c23dc58cc7a4
data/lib/bosh/cpi/cli.rb CHANGED
@@ -12,6 +12,7 @@ class Bosh::Cpi::Cli
12
12
  set_vm_metadata
13
13
  configure_networks
14
14
  create_disk
15
+ has_disk
15
16
  delete_disk
16
17
  attach_disk
17
18
  detach_disk
@@ -23,6 +24,7 @@ class Bosh::Cpi::Cli
23
24
 
24
25
  RPC_METHOD_TO_RUBY_METHOD = {
25
26
  'has_vm' => 'has_vm?',
27
+ 'has_disk' => 'has_disk?',
26
28
  }.freeze
27
29
 
28
30
  INVALID_CALL_ERROR_TYPE = 'InvalidCall'.freeze
data/lib/cloud.rb CHANGED
@@ -115,6 +115,15 @@ module Bosh
115
115
  not_implemented(:has_vm?)
116
116
  end
117
117
 
118
+ ##
119
+ # Checks if a disk exists
120
+ #
121
+ # @param [String] disk disk_id that was once returned by {#create_disk}
122
+ # @return [Boolean] True if the disk exists
123
+ def has_disk?(disk_id)
124
+ not_implemented(:has_disk?)
125
+ end
126
+
118
127
  ##
119
128
  # Reboots a VM
120
129
  #
@@ -37,6 +37,7 @@ module Bosh::Clouds
37
37
  set_vm_metadata
38
38
  configure_networks
39
39
  create_disk
40
+ has_disk?
40
41
  delete_disk
41
42
  attach_disk
42
43
  detach_disk
data/lib/cloud/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Bosh
2
2
  module Clouds
3
- VERSION = '1.2682.1.0'
3
+ VERSION = '1.2685.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bosh_cpi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2682.1.0
4
+ version: 1.2685.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-25 00:00:00.000000000 Z
11
+ date: 2014-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bosh_common
@@ -16,17 +16,17 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.2682.1.0
19
+ version: 1.2685.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.2682.1.0
26
+ version: 1.2685.0
27
27
  description: |-
28
28
  BOSH CPI
29
- 93a782
29
+ 989d8b
30
30
  email: support@cloudfoundry.com
31
31
  executables: []
32
32
  extensions: []