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 +4 -4
- data/lib/bosh/cpi/cli.rb +2 -0
- data/lib/cloud.rb +9 -0
- data/lib/cloud/external_cpi.rb +1 -0
- data/lib/cloud/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2805018a4ccd3baf366948268dd81a241636afd
|
4
|
+
data.tar.gz: fae709b7c4e3f495e8a8d03f4d54a79be491bff5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
#
|
data/lib/cloud/external_cpi.rb
CHANGED
data/lib/cloud/version.rb
CHANGED
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.
|
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-
|
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.
|
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.
|
26
|
+
version: 1.2685.0
|
27
27
|
description: |-
|
28
28
|
BOSH CPI
|
29
|
-
|
29
|
+
989d8b
|
30
30
|
email: support@cloudfoundry.com
|
31
31
|
executables: []
|
32
32
|
extensions: []
|