fog-vsphere 1.2.2 → 1.3.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0274b352d3f0ba9537632985666d0b9ab20b7377
|
4
|
+
data.tar.gz: 04fe32fe536cebb26e20aa1259aff7fbd27f11fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a41b6cb9084bfe613cb9ac940e1dca77b8d508c29a6c4561c5d8921aac88480bd0f218360f359bca7f817a69109fdf8175857aa9759c39b4a07df81fc9b66168
|
7
|
+
data.tar.gz: c74aab1fa50371cb87bb0ddcf3feed952bdf9400a54759b3e68457648d9e72fc74f26aefe9813c25bfafa3af5dd66e8e473d4f89f08ff3f05d44af27b6792035
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,23 @@
|
|
1
|
+
## v1.3.0
|
2
|
+
|
3
|
+
* Add the add_vm_controller method
|
4
|
+
|
5
|
+
## v1.2.2
|
6
|
+
|
7
|
+
* Upgrade rbvmomi depenency to latest stable series (1.9.x)
|
8
|
+
|
9
|
+
## v1.2.1
|
10
|
+
|
11
|
+
* Do not fail on 'undefined method' when nicSettingMap not present
|
12
|
+
|
13
|
+
## v1.2.0
|
14
|
+
|
15
|
+
* Add functionality for creating, listing, and destroying groups
|
16
|
+
|
17
|
+
## v1.1.0
|
18
|
+
|
19
|
+
* Add ability to list ClusterVmHostRuleInfo type rules
|
20
|
+
|
1
21
|
## v1.0.1 8/23/2016
|
2
22
|
|
3
23
|
* Update fog-vsphere.gemspec to pin RbVmomi for Ruby 1.8.x versions
|
data/lib/fog/vsphere/compute.rb
CHANGED
@@ -0,0 +1,29 @@
|
|
1
|
+
module Fog
|
2
|
+
module Compute
|
3
|
+
class Vsphere
|
4
|
+
class Real
|
5
|
+
def add_vm_controller(controller)
|
6
|
+
options = {}
|
7
|
+
options[:operation] = 'add'
|
8
|
+
options[:type] = controller.type
|
9
|
+
options[:key] = controller.key
|
10
|
+
options[:shared] = controller.shared_bus
|
11
|
+
|
12
|
+
vm_reconfig_hardware('instance_uuid' => controller.server_id, 'hardware_spec' => {'deviceChange'=>[create_controller(options)]})
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
class Mock
|
17
|
+
def add_vm_controller(controller)
|
18
|
+
options = {}
|
19
|
+
options[:operation] = 'add'
|
20
|
+
options[:type] = RbVmomi::VIM.VirtualLsiLogicController.class
|
21
|
+
options[:key] = 1000
|
22
|
+
options[:shared] = false
|
23
|
+
|
24
|
+
vm_reconfig_hardware('instance_uuid' => controller.server_id, 'hardware_spec' => {'deviceChange'=>[create_controller(options)]})
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
data/lib/fog/vsphere/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-vsphere
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- J.R. Garcia
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog-core
|
@@ -231,6 +231,7 @@ files:
|
|
231
231
|
- lib/fog/vsphere/requests/compute/list_vm_snapshots.rb
|
232
232
|
- lib/fog/vsphere/requests/compute/list_vm_volumes.rb
|
233
233
|
- lib/fog/vsphere/requests/compute/modify_vm_cdrom.rb
|
234
|
+
- lib/fog/vsphere/requests/compute/modify_vm_controller.rb
|
234
235
|
- lib/fog/vsphere/requests/compute/modify_vm_interface.rb
|
235
236
|
- lib/fog/vsphere/requests/compute/modify_vm_volume.rb
|
236
237
|
- lib/fog/vsphere/requests/compute/revert_to_snapshot.rb
|