fog-vsphere 3.0.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/CHANGELOG.md +10 -0
- data/CONTRIBUTING.md +42 -5
- data/README.md +1 -0
- data/fog-vsphere.gemspec +3 -1
- data/lib/fog/vsphere/compute.rb +21 -0
- data/lib/fog/vsphere/models/compute/server.rb +1 -0
- data/lib/fog/vsphere/requests/compute/create_vm.rb +1 -1
- data/lib/fog/vsphere/requests/compute/get_network.rb +23 -8
- data/lib/fog/vsphere/requests/compute/list_networks.rb +1 -1
- data/lib/fog/vsphere/requests/compute/update_vm.rb +12 -5
- data/lib/fog/vsphere/requests/compute/vm_clone.rb +8 -6
- data/lib/fog/vsphere/version.rb +1 -1
- metadata +32 -88
- data/tests/class_from_string_tests.rb +0 -33
- data/tests/compute_tests.rb +0 -53
- data/tests/helper.rb +0 -9
- data/tests/helpers/mock_helper.rb +0 -9
- data/tests/helpers/succeeds_helper.rb +0 -9
- data/tests/models/compute/cluster_tests.rb +0 -18
- data/tests/models/compute/hosts_tests.rb +0 -11
- data/tests/models/compute/rules_tests.rb +0 -28
- data/tests/models/compute/server_tests.rb +0 -74
- data/tests/models/compute/server_unit_tests.rb +0 -13
- data/tests/models/compute/servers_tests.rb +0 -13
- data/tests/models/compute/ticket_tests.rb +0 -12
- data/tests/models/compute/tickets_tests.rb +0 -8
- data/tests/requests/compute/current_time_tests.rb +0 -10
- data/tests/requests/compute/folder_destroy_tests.rb +0 -19
- data/tests/requests/compute/get_network_tests.rb +0 -55
- data/tests/requests/compute/list_child_snapshots_tests.rb +0 -9
- data/tests/requests/compute/list_clusters_tests.rb +0 -10
- data/tests/requests/compute/list_datastores_tests.rb +0 -17
- data/tests/requests/compute/list_hosts_tests.rb +0 -10
- data/tests/requests/compute/list_networks_tests.rb +0 -17
- data/tests/requests/compute/list_storage_pods_test.rb +0 -9
- data/tests/requests/compute/list_virtual_machines_tests.rb +0 -34
- data/tests/requests/compute/list_vm_cdroms_tests.rb +0 -9
- data/tests/requests/compute/list_vm_snapshots_tests.rb +0 -9
- data/tests/requests/compute/modify_vm_cdrom_tests.rb +0 -20
- data/tests/requests/compute/revert_to_snapshot_tests.rb +0 -13
- data/tests/requests/compute/set_vm_customvalue_tests.rb +0 -18
- data/tests/requests/compute/update_vm_tests.rb +0 -13
- data/tests/requests/compute/vm_clone_tests.rb +0 -55
- data/tests/requests/compute/vm_config_vnc_tests.rb +0 -18
- data/tests/requests/compute/vm_destroy_tests.rb +0 -14
- data/tests/requests/compute/vm_migrate_tests.rb +0 -15
- data/tests/requests/compute/vm_power_off_tests.rb +0 -24
- data/tests/requests/compute/vm_power_on_tests.rb +0 -15
- data/tests/requests/compute/vm_reboot_tests.rb +0 -24
- data/tests/requests/compute/vm_reconfig_cdrom_tests.rb +0 -14
- data/tests/requests/compute/vm_reconfig_cpus_tests.rb +0 -17
- data/tests/requests/compute/vm_reconfig_hardware_tests.rb +0 -17
- data/tests/requests/compute/vm_reconfig_memory_tests.rb +0 -17
- data/tests/requests/compute/vm_suspend_tests.rb +0 -23
- data/tests/requests/compute/vm_take_snapshot_tests.rb +0 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fbf8c2995fa660abf28a98251b80558313b774a1bc2e8ef3bc586d45d8064935
|
4
|
+
data.tar.gz: 5866c48ca90536982c801690532da58552c1eddf41152e375c2b5c5cd7c32607
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0b9e971137d1514ff5d222a220da02ea4666b9bd57e51d961af17d5a797ce1d48291d6a995a1ab4791521f2021c8b7165c6612896db58be6ac3fd0904daeb4d
|
7
|
+
data.tar.gz: b775ee968dc815b746ed032bf499230a95fbe7ff8e34a44c12270be68be5708c88effb117462cca0a6d385335297b594fc6ad5e2a9a9aafc5c2d56837410ae73
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
## v3.1.0
|
2
|
+
|
3
|
+
* Adds vcr webmock testing basics (#208)
|
4
|
+
* Allow changes for HotAdd memory and CPU (#207)
|
5
|
+
* Fix NoMethodError `blank?` without Rails (#206)
|
6
|
+
* Fix VM interfaces updates (#205)
|
7
|
+
* Network lookup by ID (#204)
|
8
|
+
* Allow add disk on storageClusters on VM clone (#202)
|
9
|
+
* Make `boot_order` an attribute of VM (#194)
|
10
|
+
|
1
11
|
## v3.0.0
|
2
12
|
|
3
13
|
* Change module namespace to Fog::Vsphere::Compute (#192)
|
data/CONTRIBUTING.md
CHANGED
@@ -1,18 +1,55 @@
|
|
1
1
|
# Getting Involved
|
2
2
|
|
3
|
-
|
3
|
+
:+1::tada: First off, thanks for taking the time to contribute! :tada::+1:
|
4
|
+
|
5
|
+
New contributors are always welcome, when it doubt please ask questions.
|
6
|
+
We strive to be an open and welcoming community. Please be nice to one another.
|
7
|
+
|
8
|
+
## Non-Coding
|
9
|
+
|
10
|
+
- Offer feedback on open [issues](https://github.com/fog/fog-vsphere/issues).
|
11
|
+
- Organize or volunteer at events.
|
4
12
|
|
5
13
|
## Coding
|
6
14
|
|
7
15
|
- Pick a task:
|
8
|
-
- Offer feedback on open [pull requests](https://github.com/fog/fog-vsphere/pulls).
|
9
16
|
- Review open [issues](https://github.com/fog/fog-vsphere/issues) for things to help on.
|
10
17
|
- [Create an issue](https://github.com/fog/fog-vsphere/issues/new) to start a discussion on additions or features.
|
11
18
|
- Fork the project, add your changes and tests to cover them in a topic branch.
|
12
19
|
- Commit your changes and rebase against `fog/fog-vsphere` to ensure everything is up to date.
|
13
20
|
- [Submit a pull request](https://github.com/fog/fog-vsphere/compare/)
|
14
21
|
|
15
|
-
|
22
|
+
### Testing
|
16
23
|
|
17
|
-
|
18
|
-
|
24
|
+
We are in a process of a covering the functionality by integrational tests.
|
25
|
+
We would like to cover all the requests made towards the vSphere instance.
|
26
|
+
Doing so should give us more confidence and make the development easier.
|
27
|
+
We will appreciate if you are able to help. Following steps will guide you
|
28
|
+
through a process of covering new/changed funcionality.
|
29
|
+
|
30
|
+
1. First of all you will need vSphere instance.
|
31
|
+
2. You need to add your vSphere instance login info in `tests/vsphere_config.yml` file.
|
32
|
+
```yaml
|
33
|
+
server: example.com
|
34
|
+
username: '<UserName>'
|
35
|
+
password: '<password>'
|
36
|
+
rev: '6.7' # optional revision of the vsphere
|
37
|
+
expected_pubkey_hash: <expected_pubkey_hash>
|
38
|
+
```
|
39
|
+
*This file is gitignored to ensure you won't accidently commit it.*
|
40
|
+
*We are making sure, that the login request is not recorded, but you may want to reasure it in a newly written cassette.*
|
41
|
+
|
42
|
+
3. write your test like this:
|
43
|
+
```ruby
|
44
|
+
# tests/requests/compute/<your_request>
|
45
|
+
it 'parses the mocked request' do
|
46
|
+
recording_webmock_cassette('unique_mocked_request') do
|
47
|
+
#stuff I want to get tested
|
48
|
+
end
|
49
|
+
end
|
50
|
+
```
|
51
|
+
*But be aware, we do not mock the names of your datacenters and/or clusters, please be aware, you will need to take care not to commit any private server names/IP addresses.*
|
52
|
+
|
53
|
+
4. Run the test
|
54
|
+
5. Change the `recording_webmock_cassette` to a `with_webmock_cassette`
|
55
|
+
6. Commit, open a PR :tada:
|
data/README.md
CHANGED
@@ -87,6 +87,7 @@ There is a lot more you can do as well! We are working on providing better docum
|
|
87
87
|
## Contributing
|
88
88
|
|
89
89
|
To contribute to this project, add an issue or pull request. For more info on what that means or how to do it, see [this guide](https://guides.github.com/activities/contributing-to-open-source/#contributing) from GitHub.
|
90
|
+
For more details see [CONTRIBUTING.md file](CONTRIBUTING.md)
|
90
91
|
|
91
92
|
[climate-image]: https://codeclimate.com/github/fog/fog-vsphere.svg
|
92
93
|
[climate-url]: https://codeclimate.com/github/fog/fog-vsphere
|
data/fog-vsphere.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.homepage = 'https://github.com/fog/fog-vsphere'
|
15
15
|
spec.license = 'MIT'
|
16
16
|
|
17
|
-
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(tests?|spec|features)/}) }
|
18
18
|
spec.test_files = spec.files.grep(%r{^tests\/})
|
19
19
|
|
20
20
|
spec.require_paths = ['lib']
|
@@ -31,4 +31,6 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.add_development_dependency 'rubocop', '~> 0.50.0'
|
32
32
|
spec.add_development_dependency 'mocha', '~> 1.8'
|
33
33
|
spec.add_development_dependency 'shindo', '~> 0.3'
|
34
|
+
spec.add_development_dependency 'webmock', '~> 3.5'
|
35
|
+
spec.add_development_dependency 'vcr', '~> 4.0'
|
34
36
|
end
|
data/lib/fog/vsphere/compute.rb
CHANGED
@@ -164,6 +164,7 @@ module Fog
|
|
164
164
|
cpuHotAddEnabled: 'config.cpuHotAddEnabled',
|
165
165
|
memoryHotAddEnabled: 'config.memoryHotAddEnabled',
|
166
166
|
firmware: 'config.firmware',
|
167
|
+
boot_order: 'config.bootOptions.bootOrder',
|
167
168
|
annotation: 'config.annotation'
|
168
169
|
}.freeze
|
169
170
|
|
@@ -198,6 +199,8 @@ module Fog
|
|
198
199
|
attrs['mo_ref'] = vm_mob_ref._ref
|
199
200
|
# The name method "magically" appears after a VM is ready and
|
200
201
|
# finished cloning.
|
202
|
+
attrs['boot_order'] = parse_boot_order(attrs['boot_order'])
|
203
|
+
|
201
204
|
if attrs['hypervisor'].is_a?(RbVmomi::VIM::HostSystem)
|
202
205
|
host = attrs['hypervisor']
|
203
206
|
|
@@ -284,6 +287,24 @@ module Fog
|
|
284
287
|
nil
|
285
288
|
end
|
286
289
|
|
290
|
+
# Maps RbVmomi boot order values to fog understandable strings.
|
291
|
+
# Result is uniqued, what effectively means that the order is defined by the first occurence.
|
292
|
+
def parse_boot_order(vm_boot_devs)
|
293
|
+
return unless vm_boot_devs.is_a?(Array)
|
294
|
+
vm_boot_devs.map do |vm_boot_dev|
|
295
|
+
case vm_boot_dev
|
296
|
+
when RbVmomi::VIM::VirtualMachineBootOptionsBootableEthernetDevice
|
297
|
+
'network'
|
298
|
+
when RbVmomi::VIM::VirtualMachineBootOptionsBootableDiskDevice
|
299
|
+
'disk'
|
300
|
+
when RbVmomi::VIM::VirtualMachineBootOptionsBootableCdromDevice
|
301
|
+
'cdrom'
|
302
|
+
when RbVmomi::VIM::VirtualMachineBootOptionsBootableFloppyDevice
|
303
|
+
'floppy'
|
304
|
+
end
|
305
|
+
end.compact.uniq
|
306
|
+
end
|
307
|
+
|
287
308
|
# returns vmware managed obj id string
|
288
309
|
def managed_obj_id(obj)
|
289
310
|
obj.to_s.match(/\("([^"]+)"\)/)[1]
|
@@ -2,18 +2,27 @@ module Fog
|
|
2
2
|
module Vsphere
|
3
3
|
class Compute
|
4
4
|
class Real
|
5
|
-
def get_network(
|
6
|
-
network = get_raw_network(
|
5
|
+
def get_network(ref_or_name, datacenter_name)
|
6
|
+
network = get_raw_network(ref_or_name, datacenter_name)
|
7
7
|
raise(Fog::Vsphere::Compute::NotFound) unless network
|
8
8
|
network_attributes(network, datacenter_name)
|
9
9
|
end
|
10
10
|
|
11
11
|
protected
|
12
12
|
|
13
|
-
def get_raw_network(
|
14
|
-
finder = choose_finder(
|
13
|
+
def get_raw_network(ref_or_name, datacenter_name, distributedswitch = nil)
|
14
|
+
finder = choose_finder(ref_or_name, distributedswitch)
|
15
15
|
get_all_raw_networks(datacenter_name).find { |n| finder.call(n) }
|
16
16
|
end
|
17
|
+
|
18
|
+
def network_attributes(network, datacenter_name)
|
19
|
+
{
|
20
|
+
id: managed_obj_id(network),
|
21
|
+
name: network.name,
|
22
|
+
datacenter: datacenter_name,
|
23
|
+
vlanid: nil
|
24
|
+
}
|
25
|
+
end
|
17
26
|
end
|
18
27
|
|
19
28
|
module Shared
|
@@ -23,20 +32,26 @@ module Fog
|
|
23
32
|
list_container_view(datacenter_name, 'Network', :networkFolder)
|
24
33
|
end
|
25
34
|
|
26
|
-
def choose_finder(
|
35
|
+
def choose_finder(ref_or_name, distributedswitch)
|
27
36
|
case distributedswitch
|
28
37
|
when String
|
29
38
|
# only the one will do
|
30
39
|
proc do |n|
|
31
|
-
n.
|
40
|
+
n._ref == ref_or_name || (
|
41
|
+
n.is_a?(RbVmomi::VIM::DistributedVirtualPortgroup) && (n.name == ref_or_name || n.key == ref_or_name) &&
|
32
42
|
(n.config.distributedVirtualSwitch.name == distributedswitch)
|
43
|
+
)
|
33
44
|
end
|
34
45
|
when :dvs
|
35
46
|
# the first distributed virtual switch will do - selected by network - gives control to vsphere
|
36
|
-
proc
|
47
|
+
proc do |n|
|
48
|
+
n._ref == ref_or_name || (
|
49
|
+
n.is_a?(RbVmomi::VIM::DistributedVirtualPortgroup) && (n.name == ref_or_name || n.key == ref_or_name)
|
50
|
+
)
|
51
|
+
end
|
37
52
|
else
|
38
53
|
# the first matching network will do, seems like the non-distributed networks come first
|
39
|
-
proc { |n|
|
54
|
+
proc { |n| n._ref == ref_or_name || n.name == ref_or_name || (n.is_a?(RbVmomi::VIM::DistributedVirtualPortgroup) && n.key == ref_or_name) }
|
40
55
|
end
|
41
56
|
end
|
42
57
|
end
|
@@ -20,6 +20,10 @@ module Fog
|
|
20
20
|
# Memory
|
21
21
|
spec[:memoryMB] = attributes[:memory_mb]
|
22
22
|
|
23
|
+
# HotAdd
|
24
|
+
spec[:cpuHotAddEnabled] = attributes[:cpuHotAddEnabled]
|
25
|
+
spec[:memoryHotAddEnabled] = attributes[:memoryHotAddEnabled]
|
26
|
+
|
23
27
|
# Volumes
|
24
28
|
device_change.concat(update_vm_volumes_specs(vm_mob_ref, server.volumes))
|
25
29
|
|
@@ -92,11 +96,14 @@ module Fog
|
|
92
96
|
def nic_backing_different?(one, two)
|
93
97
|
return true if one.class != two.class
|
94
98
|
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
99
|
+
case one
|
100
|
+
when RbVmomi::VIM::VirtualEthernetCardDistributedVirtualPortBackingInfo
|
101
|
+
one.port.portgroupKey != two.port.portgroupKey || one.port.switchUuid != two.port.switchUuid
|
102
|
+
when RbVmomi::VIM::VirtualEthernetCardNetworkBackingInfo
|
103
|
+
one.deviceName != two.deviceName
|
104
|
+
else
|
105
|
+
false
|
106
|
+
end
|
100
107
|
end
|
101
108
|
end
|
102
109
|
|
@@ -164,7 +164,7 @@ module Fog
|
|
164
164
|
device_change << modify_template_nics_simple_spec(options['network_label'], options['nic_type'], options['network_adapter_device_key'], options['datacenter'])
|
165
165
|
end
|
166
166
|
if disks = options['volumes']
|
167
|
-
device_change.concat(modify_template_volumes_specs(vm_mob_ref, options['volumes']))
|
167
|
+
device_change.concat(modify_template_volumes_specs(vm_mob_ref, options['volumes'], default_storage_pod: options['storage_pod']))
|
168
168
|
end
|
169
169
|
virtual_machine_config_spec.deviceChange = device_change if device_change.any?
|
170
170
|
# Options['numCPUs'] or Options['memoryMB']
|
@@ -634,8 +634,8 @@ module Fog
|
|
634
634
|
end
|
635
635
|
end
|
636
636
|
# relocate templates is not supported by fog-vsphere when vm is cloned on a storage pod
|
637
|
-
unless options.key?('storage_pod')
|
638
|
-
unless options['volumes'].
|
637
|
+
unless options.key?('storage_pod') || !options['volumes']
|
638
|
+
unless options['volumes'].empty?
|
639
639
|
relocation_spec[:disk] = relocate_template_volumes_specs(vm_mob_ref, options['volumes'], options['datacenter'])
|
640
640
|
end
|
641
641
|
end
|
@@ -789,7 +789,7 @@ module Fog
|
|
789
789
|
specs
|
790
790
|
end
|
791
791
|
|
792
|
-
def modify_template_volumes_specs(vm_mob_ref, volumes)
|
792
|
+
def modify_template_volumes_specs(vm_mob_ref, volumes, default_storage_pod: nil)
|
793
793
|
template_volumes = vm_mob_ref.config.hardware.device.grep(RbVmomi::VIM::VirtualDisk)
|
794
794
|
modified_volumes = volumes.take(template_volumes.size)
|
795
795
|
new_volumes = volumes.drop(template_volumes.size)
|
@@ -797,6 +797,9 @@ module Fog
|
|
797
797
|
specs = []
|
798
798
|
template_volumes.zip(modified_volumes).each do |template_volume, new_volume|
|
799
799
|
if new_volume
|
800
|
+
# copy identifiers to fog device to mark them as used
|
801
|
+
new_volume.unit_number = template_volume.unitNumber
|
802
|
+
new_volume.key = template_volume.key
|
800
803
|
# updated the attribtues on the existing volume
|
801
804
|
# it's not allowed to reduce the size of the volume when cloning
|
802
805
|
if new_volume.size > template_volume.capacityInKB
|
@@ -811,8 +814,7 @@ module Fog
|
|
811
814
|
device: template_volume }
|
812
815
|
end
|
813
816
|
end
|
814
|
-
new_volumes.map { |volume|
|
815
|
-
specs.concat(new_volumes.map { |volume| create_disk(volume) })
|
817
|
+
specs.concat(new_volumes.map { |volume| create_disk(volume, :add, storage_pod: default_storage_pod) })
|
816
818
|
specs
|
817
819
|
end
|
818
820
|
|
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: 3.
|
4
|
+
version: 3.1.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: 2019-
|
11
|
+
date: 2019-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog-core
|
@@ -142,6 +142,34 @@ dependencies:
|
|
142
142
|
- - "~>"
|
143
143
|
- !ruby/object:Gem::Version
|
144
144
|
version: '0.3'
|
145
|
+
- !ruby/object:Gem::Dependency
|
146
|
+
name: webmock
|
147
|
+
requirement: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - "~>"
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '3.5'
|
152
|
+
type: :development
|
153
|
+
prerelease: false
|
154
|
+
version_requirements: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - "~>"
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: '3.5'
|
159
|
+
- !ruby/object:Gem::Dependency
|
160
|
+
name: vcr
|
161
|
+
requirement: !ruby/object:Gem::Requirement
|
162
|
+
requirements:
|
163
|
+
- - "~>"
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '4.0'
|
166
|
+
type: :development
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - "~>"
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '4.0'
|
145
173
|
description: This library can be used as a module for `fog` or as standalone provider
|
146
174
|
to use vSphere in applications.
|
147
175
|
email:
|
@@ -287,48 +315,6 @@ files:
|
|
287
315
|
- lib/fog/vsphere/requests/compute/vm_suspend.rb
|
288
316
|
- lib/fog/vsphere/requests/compute/vm_take_snapshot.rb
|
289
317
|
- lib/fog/vsphere/version.rb
|
290
|
-
- tests/class_from_string_tests.rb
|
291
|
-
- tests/compute_tests.rb
|
292
|
-
- tests/helper.rb
|
293
|
-
- tests/helpers/mock_helper.rb
|
294
|
-
- tests/helpers/succeeds_helper.rb
|
295
|
-
- tests/models/compute/cluster_tests.rb
|
296
|
-
- tests/models/compute/hosts_tests.rb
|
297
|
-
- tests/models/compute/rules_tests.rb
|
298
|
-
- tests/models/compute/server_tests.rb
|
299
|
-
- tests/models/compute/server_unit_tests.rb
|
300
|
-
- tests/models/compute/servers_tests.rb
|
301
|
-
- tests/models/compute/ticket_tests.rb
|
302
|
-
- tests/models/compute/tickets_tests.rb
|
303
|
-
- tests/requests/compute/current_time_tests.rb
|
304
|
-
- tests/requests/compute/folder_destroy_tests.rb
|
305
|
-
- tests/requests/compute/get_network_tests.rb
|
306
|
-
- tests/requests/compute/list_child_snapshots_tests.rb
|
307
|
-
- tests/requests/compute/list_clusters_tests.rb
|
308
|
-
- tests/requests/compute/list_datastores_tests.rb
|
309
|
-
- tests/requests/compute/list_hosts_tests.rb
|
310
|
-
- tests/requests/compute/list_networks_tests.rb
|
311
|
-
- tests/requests/compute/list_storage_pods_test.rb
|
312
|
-
- tests/requests/compute/list_virtual_machines_tests.rb
|
313
|
-
- tests/requests/compute/list_vm_cdroms_tests.rb
|
314
|
-
- tests/requests/compute/list_vm_snapshots_tests.rb
|
315
|
-
- tests/requests/compute/modify_vm_cdrom_tests.rb
|
316
|
-
- tests/requests/compute/revert_to_snapshot_tests.rb
|
317
|
-
- tests/requests/compute/set_vm_customvalue_tests.rb
|
318
|
-
- tests/requests/compute/update_vm_tests.rb
|
319
|
-
- tests/requests/compute/vm_clone_tests.rb
|
320
|
-
- tests/requests/compute/vm_config_vnc_tests.rb
|
321
|
-
- tests/requests/compute/vm_destroy_tests.rb
|
322
|
-
- tests/requests/compute/vm_migrate_tests.rb
|
323
|
-
- tests/requests/compute/vm_power_off_tests.rb
|
324
|
-
- tests/requests/compute/vm_power_on_tests.rb
|
325
|
-
- tests/requests/compute/vm_reboot_tests.rb
|
326
|
-
- tests/requests/compute/vm_reconfig_cdrom_tests.rb
|
327
|
-
- tests/requests/compute/vm_reconfig_cpus_tests.rb
|
328
|
-
- tests/requests/compute/vm_reconfig_hardware_tests.rb
|
329
|
-
- tests/requests/compute/vm_reconfig_memory_tests.rb
|
330
|
-
- tests/requests/compute/vm_suspend_tests.rb
|
331
|
-
- tests/requests/compute/vm_take_snapshot_tests.rb
|
332
318
|
homepage: https://github.com/fog/fog-vsphere
|
333
319
|
licenses:
|
334
320
|
- MIT
|
@@ -349,50 +335,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
349
335
|
version: '0'
|
350
336
|
requirements: []
|
351
337
|
rubyforge_project:
|
352
|
-
rubygems_version: 2.7.
|
338
|
+
rubygems_version: 2.7.6.2
|
353
339
|
signing_key:
|
354
340
|
specification_version: 4
|
355
341
|
summary: Module for the 'fog' gem to support VMware vSphere.
|
356
|
-
test_files:
|
357
|
-
- tests/class_from_string_tests.rb
|
358
|
-
- tests/compute_tests.rb
|
359
|
-
- tests/helper.rb
|
360
|
-
- tests/helpers/mock_helper.rb
|
361
|
-
- tests/helpers/succeeds_helper.rb
|
362
|
-
- tests/models/compute/cluster_tests.rb
|
363
|
-
- tests/models/compute/hosts_tests.rb
|
364
|
-
- tests/models/compute/rules_tests.rb
|
365
|
-
- tests/models/compute/server_tests.rb
|
366
|
-
- tests/models/compute/server_unit_tests.rb
|
367
|
-
- tests/models/compute/servers_tests.rb
|
368
|
-
- tests/models/compute/ticket_tests.rb
|
369
|
-
- tests/models/compute/tickets_tests.rb
|
370
|
-
- tests/requests/compute/current_time_tests.rb
|
371
|
-
- tests/requests/compute/folder_destroy_tests.rb
|
372
|
-
- tests/requests/compute/get_network_tests.rb
|
373
|
-
- tests/requests/compute/list_child_snapshots_tests.rb
|
374
|
-
- tests/requests/compute/list_clusters_tests.rb
|
375
|
-
- tests/requests/compute/list_datastores_tests.rb
|
376
|
-
- tests/requests/compute/list_hosts_tests.rb
|
377
|
-
- tests/requests/compute/list_networks_tests.rb
|
378
|
-
- tests/requests/compute/list_storage_pods_test.rb
|
379
|
-
- tests/requests/compute/list_virtual_machines_tests.rb
|
380
|
-
- tests/requests/compute/list_vm_cdroms_tests.rb
|
381
|
-
- tests/requests/compute/list_vm_snapshots_tests.rb
|
382
|
-
- tests/requests/compute/modify_vm_cdrom_tests.rb
|
383
|
-
- tests/requests/compute/revert_to_snapshot_tests.rb
|
384
|
-
- tests/requests/compute/set_vm_customvalue_tests.rb
|
385
|
-
- tests/requests/compute/update_vm_tests.rb
|
386
|
-
- tests/requests/compute/vm_clone_tests.rb
|
387
|
-
- tests/requests/compute/vm_config_vnc_tests.rb
|
388
|
-
- tests/requests/compute/vm_destroy_tests.rb
|
389
|
-
- tests/requests/compute/vm_migrate_tests.rb
|
390
|
-
- tests/requests/compute/vm_power_off_tests.rb
|
391
|
-
- tests/requests/compute/vm_power_on_tests.rb
|
392
|
-
- tests/requests/compute/vm_reboot_tests.rb
|
393
|
-
- tests/requests/compute/vm_reconfig_cdrom_tests.rb
|
394
|
-
- tests/requests/compute/vm_reconfig_cpus_tests.rb
|
395
|
-
- tests/requests/compute/vm_reconfig_hardware_tests.rb
|
396
|
-
- tests/requests/compute/vm_reconfig_memory_tests.rb
|
397
|
-
- tests/requests/compute/vm_suspend_tests.rb
|
398
|
-
- tests/requests/compute/vm_take_snapshot_tests.rb
|
342
|
+
test_files: []
|