bosh_cpi 1.3160.0 → 1.3163.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: 3b5cc2a9e0e4f8746e65680f919854118c510305
4
- data.tar.gz: ce0cb102e5b7d65cfbdbf5c9e5286d85d48432e6
3
+ metadata.gz: 5efa04ff69c59426f8fdec66d5d5b4739b1429df
4
+ data.tar.gz: f9dd741114970656ae956ecade290fa1a6259eaa
5
5
  SHA512:
6
- metadata.gz: 3cb276644f3eeec93becc4705b6d95a806c25d316194e45927198672775fce126eac926f48bdab89420a8dc86b3d197e123bb719e6945a456ae8627b2d34d14b
7
- data.tar.gz: bb1bdbc80ad6a7e2b2f87ce823b9a594a20e9c7c80d75b2c3ab6c8d464b4915525d726928cad2c5aa847210a73124a0cf33960a27eba9b6ed5f9f0fc5d260a8b
6
+ metadata.gz: 227b81ae0d7e61aee47c228b6dcbe10e1578d625037a1ecf4c6939422ecf7ee2295eeb502bb581164622ecea127c5b2e059868cb04a70051dddaa04172f92f1a
7
+ data.tar.gz: 9b09497fbfc35c290693c49016c30d8fc4f692270d73a242dafbd778844aef0ddb90a918aa65d47cdb1537e4aa3573fa6d8a4ddae94064fa7833db72f059d7bd
data/lib/bosh/cpi/cli.rb CHANGED
@@ -10,7 +10,6 @@ class Bosh::Cpi::Cli
10
10
  has_vm
11
11
  reboot_vm
12
12
  set_vm_metadata
13
- configure_networks
14
13
  create_disk
15
14
  has_disk
16
15
  delete_disk
@@ -48,12 +48,11 @@ module Bosh::Clouds
48
48
  def current_vm_id(*arguments); invoke_cpi_method(__method__.to_s, *arguments); end
49
49
  def create_stemcell(*arguments); invoke_cpi_method(__method__.to_s, *arguments); end
50
50
  def delete_stemcell(*arguments); invoke_cpi_method(__method__.to_s, *arguments); end
51
- def create_vm(*arguments); invoke_cpi_method(__method__.to_s, *arguments); end
51
+ def create_vm(*arguments) invoke_cpi_method(__method__.to_s, *arguments); end
52
52
  def delete_vm(*arguments); invoke_cpi_method(__method__.to_s, *arguments); end
53
53
  def has_vm?(*arguments); invoke_cpi_method(__method__.to_s, *arguments); end
54
54
  def reboot_vm(*arguments); invoke_cpi_method(__method__.to_s, *arguments); end
55
55
  def set_vm_metadata(*arguments); invoke_cpi_method(__method__.to_s, *arguments); end
56
- def configure_networks(*arguments); invoke_cpi_method(__method__.to_s, *arguments); end
57
56
  def create_disk(*arguments); invoke_cpi_method(__method__.to_s, *arguments); end
58
57
  def has_disk?(*arguments); invoke_cpi_method(__method__.to_s, *arguments); end
59
58
  def delete_disk(*arguments); invoke_cpi_method(__method__.to_s, *arguments); end
data/lib/cloud/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Bosh
2
2
  module Clouds
3
- VERSION = '1.3160.0'
3
+ VERSION = '1.3163.0'
4
4
  end
5
5
  end
data/lib/cloud.rb CHANGED
@@ -88,13 +88,12 @@ module Bosh
88
88
  # @param [Hash] resource_pool cloud specific properties describing the resources needed
89
89
  # for this VM
90
90
  # @param [Hash] networks list of networks and their settings needed for this VM
91
- # @param [optional, String, Array] disk_locality disk id(s) if known of the disk(s) that will be
91
+ # @param [String, Array] disk_locality disk id(s) if known of the disk(s) that will be
92
92
  # attached to this vm
93
- # @param [optional, Hash] env environment that will be passed to this vm
94
- # @return [String] opaque id later used by {#configure_networks}, {#attach_disk},
95
- # {#detach_disk}, and {#delete_vm}
93
+ # @param [Hash] env environment that will be passed to this vm
94
+ # @return [String] opaque id later used by {#attach_disk}, {#detach_disk} and {#delete_vm}
96
95
  def create_vm(agent_id, stemcell_id, resource_pool,
97
- networks, disk_locality = nil, env = nil)
96
+ networks, disk_locality, env)
98
97
  not_implemented(:create_vm)
99
98
  end
100
99
 
@@ -147,17 +146,6 @@ module Bosh
147
146
  not_implemented(:set_vm_metadata)
148
147
  end
149
148
 
150
- ##
151
- # Configures networking an existing VM.
152
- #
153
- # @param [String] vm vm id that was once returned by {#create_vm}
154
- # @param [Hash] networks list of networks and their settings needed for this VM,
155
- # same as the networks argument in {#create_vm}
156
- # @return [void]
157
- def configure_networks(vm_id, networks)
158
- not_implemented(:configure_networks)
159
- end
160
-
161
149
  ##
162
150
  # Creates a disk (possibly lazily) that will be attached later to a VM. When
163
151
  # VM locality is specified the disk will be placed near the VM so it won't have to move
@@ -166,10 +154,10 @@ module Bosh
166
154
  # @param [Integer] size disk size in MB
167
155
  # @param [Hash] cloud_properties properties required for creating this disk
168
156
  # specific to a CPI
169
- # @param [optional, String] vm_locality vm id if known of the VM that this disk will
157
+ # @param [String] vm_locality vm id if known of the VM that this disk will
170
158
  # be attached to
171
159
  # @return [String] opaque id later used by {#attach_disk}, {#detach_disk}, and {#delete_disk}
172
- def create_disk(size, cloud_properties, vm_locality = nil)
160
+ def create_disk(size, cloud_properties, vm_locality)
173
161
  not_implemented(:create_disk)
174
162
  end
175
163
 
@@ -195,7 +183,7 @@ module Bosh
195
183
  # @param [String] disk_id disk id of the disk to take the snapshot of
196
184
  # @param [Hash] metadata metadata key/value pairs
197
185
  # @return [String] snapshot id
198
- def snapshot_disk(disk_id, metadata={})
186
+ def snapshot_disk(disk_id, metadata)
199
187
  not_implemented(:snapshot_disk)
200
188
  end
201
189
 
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.3160.0
4
+ version: 1.3163.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-12-18 00:00:00.000000000 Z
11
+ date: 2015-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bosh_common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.3160.0
19
+ version: 1.3163.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.3160.0
26
+ version: 1.3163.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: membrane
29
29
  requirement: !ruby/object:Gem::Requirement