rbvmomi 1.8.2 → 2.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +5 -13
  2. data/LICENSE +1 -1
  3. data/README.md +114 -0
  4. data/{bin → exe}/rbvmomish +5 -5
  5. data/lib/rbvmomi.rb +11 -7
  6. data/lib/rbvmomi/basic_types.rb +9 -1
  7. data/lib/rbvmomi/connection.rb +11 -9
  8. data/lib/rbvmomi/deserialization.rb +4 -3
  9. data/lib/rbvmomi/fault.rb +3 -1
  10. data/lib/rbvmomi/{trollop.rb → optimist.rb} +10 -8
  11. data/lib/rbvmomi/pbm.rb +3 -1
  12. data/lib/rbvmomi/sms.rb +3 -1
  13. data/lib/rbvmomi/sms/SmsStorageManager.rb +3 -0
  14. data/lib/rbvmomi/sso.rb +313 -0
  15. data/lib/rbvmomi/trivial_soap.rb +19 -11
  16. data/lib/rbvmomi/type_loader.rb +4 -2
  17. data/lib/rbvmomi/utils/admission_control.rb +22 -19
  18. data/lib/rbvmomi/utils/deploy.rb +18 -14
  19. data/lib/rbvmomi/utils/leases.rb +4 -1
  20. data/lib/rbvmomi/utils/perfdump.rb +4 -1
  21. data/lib/rbvmomi/version.rb +6 -0
  22. data/lib/rbvmomi/vim.rb +41 -12
  23. data/lib/rbvmomi/vim/ComputeResource.rb +3 -0
  24. data/lib/rbvmomi/vim/Datacenter.rb +8 -0
  25. data/lib/rbvmomi/vim/Datastore.rb +5 -1
  26. data/lib/rbvmomi/vim/DynamicTypeMgrAllTypeInfo.rb +3 -0
  27. data/lib/rbvmomi/vim/DynamicTypeMgrDataTypeInfo.rb +4 -1
  28. data/lib/rbvmomi/vim/DynamicTypeMgrManagedTypeInfo.rb +15 -7
  29. data/lib/rbvmomi/vim/Folder.rb +19 -12
  30. data/lib/rbvmomi/vim/HostSystem.rb +5 -2
  31. data/lib/rbvmomi/vim/ManagedEntity.rb +3 -0
  32. data/lib/rbvmomi/vim/ManagedObject.rb +4 -1
  33. data/lib/rbvmomi/vim/ObjectContent.rb +3 -0
  34. data/lib/rbvmomi/vim/ObjectUpdate.rb +3 -0
  35. data/lib/rbvmomi/vim/OvfManager.rb +6 -2
  36. data/lib/rbvmomi/vim/PerfCounterInfo.rb +3 -1
  37. data/lib/rbvmomi/vim/PerformanceManager.rb +3 -0
  38. data/lib/rbvmomi/vim/PropertyCollector.rb +3 -0
  39. data/lib/rbvmomi/vim/ReflectManagedMethodExecuter.rb +5 -2
  40. data/lib/rbvmomi/vim/ResourcePool.rb +3 -0
  41. data/lib/rbvmomi/vim/ServiceInstance.rb +3 -0
  42. data/lib/rbvmomi/vim/Task.rb +3 -0
  43. data/lib/rbvmomi/vim/VirtualMachine.rb +13 -12
  44. data/vmodl.db +0 -0
  45. metadata +100 -63
  46. data/.yardopts +0 -6
  47. data/README.rdoc +0 -78
  48. data/Rakefile +0 -45
  49. data/VERSION +0 -1
  50. data/devel/analyze-vim-declarations.rb +0 -213
  51. data/devel/analyze-xml.rb +0 -46
  52. data/devel/benchmark.rb +0 -117
  53. data/devel/collisions.rb +0 -18
  54. data/devel/merge-internal-vmodl.rb +0 -59
  55. data/devel/merge-manual-vmodl.rb +0 -32
  56. data/examples/annotate.rb +0 -54
  57. data/examples/cached_ovf_deploy.rb +0 -120
  58. data/examples/clone_vm.rb +0 -84
  59. data/examples/create_vm-1.9.rb +0 -93
  60. data/examples/create_vm.rb +0 -93
  61. data/examples/extraConfig.rb +0 -54
  62. data/examples/lease_tool.rb +0 -102
  63. data/examples/logbundle.rb +0 -63
  64. data/examples/logtail.rb +0 -60
  65. data/examples/nfs_datastore.rb +0 -95
  66. data/examples/power.rb +0 -59
  67. data/examples/readme-1.rb +0 -35
  68. data/examples/readme-2.rb +0 -51
  69. data/examples/run.sh +0 -41
  70. data/examples/screenshot.rb +0 -48
  71. data/examples/vdf.rb +0 -81
  72. data/examples/vm_drs_behavior.rb +0 -76
  73. data/test/test_deserialization.rb +0 -383
  74. data/test/test_emit_request.rb +0 -128
  75. data/test/test_exceptions.rb +0 -14
  76. data/test/test_helper.rb +0 -14
  77. data/test/test_misc.rb +0 -24
  78. data/test/test_parse_response.rb +0 -69
  79. data/test/test_serialization.rb +0 -311
@@ -1,3 +1,6 @@
1
+ # Copyright (c) 2011-2017 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
3
+
1
4
  class RbVmomi::VIM::DynamicTypeMgrAllTypeInfo
2
5
  def toRbvmomiTypeHash
3
6
  id2name = {}
@@ -1,3 +1,6 @@
1
+ # Copyright (c) 2011-2017 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
3
+
1
4
  class RbVmomi::VIM::DynamicTypeMgrDataTypeInfo
2
5
  def toRbvmomiTypeHash
3
6
  {
@@ -17,4 +20,4 @@ class RbVmomi::VIM::DynamicTypeMgrDataTypeInfo
17
20
  }
18
21
  }
19
22
  end
20
- end
23
+ end
@@ -1,3 +1,6 @@
1
+ # Copyright (c) 2011-2017 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
3
+
1
4
  class RbVmomi::VIM::DynamicTypeMgrManagedTypeInfo
2
5
  def toRbvmomiTypeHash
3
6
  {
@@ -29,13 +32,18 @@ class RbVmomi::VIM::DynamicTypeMgrManagedTypeInfo
29
32
  'version-id-ref' => param.version,
30
33
  }
31
34
  end,
32
- 'result' => {
33
- 'name' => result.name,
34
- 'type-id-ref' => result.type.gsub("[]", ""),
35
- 'is-array' => (result.type =~ /\[\]$/) ? true : false,
36
- 'is-optional' => result.annotation.find{|a| a.name == "optional"} ? true : false,
37
- 'version-id-ref' => result.version,
38
- }
35
+ 'result' => (
36
+ if result.nil? then
37
+ nil
38
+ else
39
+ {
40
+ 'name' => result.name,
41
+ 'type-id-ref' => result.type.gsub("[]", ""),
42
+ 'is-array' => (result.type =~ /\[\]$/) ? true : false,
43
+ 'is-optional' => result.annotation.find{|a| a.name == "optional"} ? true : false,
44
+ 'version-id-ref' => result.version,
45
+ }
46
+ end)
39
47
  }
40
48
  ]
41
49
  end
@@ -1,3 +1,6 @@
1
+ # Copyright (c) 2011-2017 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
3
+
1
4
  class RbVmomi::VIM::Folder
2
5
  # Retrieve a child entity
3
6
  # @param name [String] Name of the child.
@@ -38,19 +41,23 @@ class RbVmomi::VIM::Folder
38
41
  x if x.is_a? type
39
42
  end
40
43
 
41
- # Retrieve a virtual machine or host by BIOS UUID.
42
- # @param uuid [String] The UUID to find.
43
- # @param type [Class] Return nil unless the found entity <tt>is_a? type</tt>.
44
- # @param dc [RbVmomi::VIM::Datacenter] Restricts the query to entities in the given Datacenter.
44
+ # Finds a virtual machine or host by BIOS or instance UUID
45
+ #
46
+ # @param uuid [String] UUID to find
47
+ # @param type [Class] return nil unless found entity <tt>is_a?(type)</tt>
48
+ # @param dc [RbVmomi::VIM::Datacenter] restricts query to specified datacenter
49
+ #
45
50
  # @return [VIM::ManagedEntity]
46
- def findByUuid uuid, type=RbVmomi::VIM::VirtualMachine, dc=nil
47
- propSpecs = {
48
- :entity => self, :uuid => uuid, :instanceUuid => false,
49
- :vmSearch => type == RbVmomi::VIM::VirtualMachine
51
+ def findByUuid(uuid, type = RbVmomi::VIM::VirtualMachine, dc = nil, instance_uuid = false)
52
+ prop_specs = {
53
+ :entity => self,
54
+ :instanceUuid => instance_uuid,
55
+ :uuid => uuid,
56
+ :vmSearch => type == RbVmomi::VIM::VirtualMachine
50
57
  }
51
- propSpecs[:datacenter] = dc if dc
52
- x = _connection.searchIndex.FindByUuid(propSpecs)
53
- x if x.is_a? type
58
+ prop_specs[:datacenter] = dc if dc
59
+ x = _connection.searchIndex.FindByUuid(prop_specs)
60
+ x if x.is_a?(type)
54
61
  end
55
62
 
56
63
  # Retrieve a managed entity by inventory path.
@@ -60,7 +67,7 @@ class RbVmomi::VIM::Folder
60
67
  propSpecs = {
61
68
  :entity => self, :inventoryPath => path
62
69
  }
63
- x = _connection.searchIndex.FindByInventoryPath(propSpecs)
70
+ _connection.searchIndex.FindByInventoryPath(propSpecs)
64
71
  end
65
72
 
66
73
  # Alias to <tt>traverse path, type, true</tt>
@@ -1,3 +1,6 @@
1
+ # Copyright (c) 2011-2017 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
3
+
1
4
  module RbVmomi
2
5
 
3
6
  class VIM::HostSystem
@@ -112,12 +115,12 @@ class VIM::EsxcliNamespace
112
115
  conn.type(@type_info.wsdlName).new(conn, @instance)
113
116
  end
114
117
 
115
- def method_missing name, *args
118
+ def method_missing(name, *args)
116
119
  name = name.to_s
117
120
  if @namespaces.member? name and args.empty?
118
121
  @namespaces[name]
119
122
  elsif @commands.member? name
120
- @commands[name].call *args
123
+ @commands[name].call(*args)
121
124
  else
122
125
  raise NoMethodError
123
126
  end
@@ -1,3 +1,6 @@
1
+ # Copyright (c) 2011-2017 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
3
+
1
4
  class RbVmomi::VIM::ManagedEntity
2
5
  # Retrieve the ancestors of the entity.
3
6
  # @return [Array] Ancestors of this entity, starting with the root.
@@ -1,3 +1,6 @@
1
+ # Copyright (c) 2011-2017 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
3
+
1
4
  class RbVmomi::VIM::ManagedObject
2
5
  # Wait for updates on an object until a condition becomes true.
3
6
  #
@@ -49,7 +52,7 @@ class RbVmomi::VIM::ManagedObject
49
52
  # @return [Array] Property values in same order as +pathSet+, or the return
50
53
  # value from the block if it is given.
51
54
  def collect *pathSet
52
- h = collect! *pathSet
55
+ h = collect!(*pathSet)
53
56
  a = pathSet.map { |k| h[k.to_s] }
54
57
  if block_given?
55
58
  yield a
@@ -1,3 +1,6 @@
1
+ # Copyright (c) 2011-2017 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
3
+
1
4
  class RbVmomi::VIM::ObjectContent
2
5
  # Represent this ObjectContent as a hash.
3
6
  # @return [Hash] A hash from property paths to values.
@@ -1,3 +1,6 @@
1
+ # Copyright (c) 2011-2017 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
3
+
1
4
  class RbVmomi::VIM::ObjectUpdate
2
5
  # Represent this ObjectUpdate as a hash.
3
6
  # @return [Hash] A hash from property paths to values.
@@ -1,3 +1,6 @@
1
+ # Copyright (c) 2011-2017 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
3
+
1
4
  # @note +deployOVF+ and requires +curl+. If +curl+ is not in your +PATH+
2
5
  # then set the +CURL+ environment variable to point to it.
3
6
  # @todo Use an HTTP library instead of executing +curl+.
@@ -16,6 +19,7 @@ class RbVmomi::VIM::OvfManager
16
19
  # @option opts [String] :diskProvisioning (thin) Disk provisioning mode.
17
20
  # @option opts [Hash] :networkMappings Network mappings.
18
21
  # @option opts [Hash] :propertyMappings Property mappings.
22
+ # @option opts [String] :deploymentOption Deployment option key.
19
23
  def deployOVF opts
20
24
  opts = { :networkMappings => {},
21
25
  :propertyMappings => {},
@@ -29,7 +33,7 @@ class RbVmomi::VIM::OvfManager
29
33
  :hostSystem => opts[:host],
30
34
  :locale => "US",
31
35
  :entityName => opts[:vmName],
32
- :deploymentOption => "",
36
+ :deploymentOption => opts[:deploymentOption] || "",
33
37
  :networkMapping => opts[:networkMappings].map{|from, to| RbVmomi::VIM::OvfNetworkMapping(:name => from, :network => to)},
34
38
  :propertyMapping => opts[:propertyMappings].to_a,
35
39
  :diskProvisioning => opts[:diskProvisioning]
@@ -135,7 +139,7 @@ class RbVmomi::VIM::OvfManager
135
139
  # to the uploadCmd. It is not clear to me why, but that leads to
136
140
  # trucation of the uploaded disk. Without this option curl can't tell
137
141
  # the progress, but who cares
138
- system("#{downloadCmd} | #{uploadCmd}", STDOUT => "/dev/null")
142
+ system("#{downloadCmd} | #{uploadCmd}", :out => "/dev/null")
139
143
 
140
144
  keepAliveThread.kill
141
145
  keepAliveThread.join
@@ -1,4 +1,6 @@
1
- # Copyright (c) 2011 VMware, Inc. All Rights Reserved.
1
+ # Copyright (c) 2012-2017 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
3
+
2
4
  #
3
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
4
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,3 +1,6 @@
1
+ # Copyright (c) 2012-2017 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
3
+
1
4
  require 'date'
2
5
 
3
6
  class Time
@@ -1,3 +1,6 @@
1
+ # Copyright (c) 2011-2017 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
3
+
1
4
  class RbVmomi::VIM::PropertyCollector
2
5
  def collectMultiple objs, *pathSet
3
6
  return {} if objs.empty?
@@ -1,8 +1,11 @@
1
+ # Copyright (c) 2011-2017 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
3
+
1
4
  module RbVmomi
2
5
 
3
6
  class VIM::ReflectManagedMethodExecuter
4
7
  def fetch moid, prop
5
- result = FetchSoap(:moid => moid, :version => 'urn:vim25/5.0', :prop => prop)
8
+ result = FetchSoap(:moid => moid, :version => 'urn:vim25/6.5', :prop => prop)
6
9
  xml = Nokogiri(result.response)
7
10
  _connection.deserializer.deserialize xml.root, nil
8
11
  end
@@ -16,7 +19,7 @@ class VIM::ReflectManagedMethodExecuter
16
19
  soap_arg.val = xml.target!
17
20
  end
18
21
  end
19
- result = ExecuteSoap(:moid => moid, :version => 'urn:vim25/5.0',
22
+ result = ExecuteSoap(:moid => moid, :version => 'urn:vim25/6.5',
20
23
  :method => method, :argument => soap_args)
21
24
  if result
22
25
  _connection.deserializer.deserialize Nokogiri(result.response).root, nil
@@ -1,3 +1,6 @@
1
+ # Copyright (c) 2011-2017 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
3
+
1
4
  class RbVmomi::VIM::ResourcePool
2
5
  # Retrieve a child ResourcePool.
3
6
  # @param name [String] Name of the child.
@@ -1,3 +1,6 @@
1
+ # Copyright (c) 2011-2017 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
3
+
1
4
  class RbVmomi::VIM::ServiceInstance
2
5
  # Retrieve a Datacenter.
3
6
  # If no path is given the first datacenter will be returned.
@@ -1,3 +1,6 @@
1
+ # Copyright (c) 2011-2017 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
3
+
1
4
  class RbVmomi::VIM::Task
2
5
  # Wait for a task to finish.
3
6
  # @return +info.result+ on success.
@@ -1,47 +1,48 @@
1
+ # Copyright (c) 2011-2017 VMware, Inc. All Rights Reserved.
2
+ # SPDX-License-Identifier: MIT
3
+
1
4
  class RbVmomi::VIM::VirtualMachine
2
5
  # Retrieve the MAC addresses for all virtual NICs.
3
6
  # @return [Hash] Keyed by device label.
4
7
  def macs
5
8
  Hash[self.config.hardware.device.grep(RbVmomi::VIM::VirtualEthernetCard).map { |x| [x.deviceInfo.label, x.macAddress] }]
6
9
  end
7
-
10
+
8
11
  # Retrieve all virtual disk devices.
9
12
  # @return [Array] Array of virtual disk devices.
10
13
  def disks
11
14
  self.config.hardware.device.grep(RbVmomi::VIM::VirtualDisk)
12
15
  end
13
-
14
- # Get the IP of the guest, but only if it is not stale
16
+
17
+ # Get the IP of the guest, but only if it is not stale
15
18
  # @return [String] Current IP reported (as per VMware Tools) or nil
16
- def guest_ip
19
+ def guest_ip
17
20
  g = self.guest
18
21
  if g.ipAddress && (g.toolsStatus == "toolsOk" || g.toolsStatus == "toolsOld")
19
22
  g.ipAddress
20
23
  else
21
24
  nil
22
25
  end
23
- end
26
+ end
24
27
 
25
28
  # Add a layer of delta disks (redo logs) in front of every disk on the VM.
26
29
  # This is similar to taking a snapshot and makes the VM a valid target for
27
30
  # creating a linked clone.
28
31
  #
29
- # Background: The API for linked clones is quite strange. We can't create
32
+ # Background: The API for linked clones is quite strange. We can't create
30
33
  # a linked straight from any VM. The disks of the VM for which we can create a
31
34
  # linked clone need to be read-only and thus VC demands that the VM we
32
35
  # are cloning from uses delta-disks. Only then it will allow us to
33
36
  # share the base disk.
34
37
  def add_delta_disk_layer_on_all_disks
35
- devices, = self.collect 'config.hardware.device'
36
- disks = devices.grep(RbVmomi::VIM::VirtualDisk)
37
38
  spec = update_spec_add_delta_disk_layer_on_all_disks
38
39
  self.ReconfigVM_Task(:spec => spec).wait_for_completion
39
40
  end
40
-
41
+
41
42
  # Updates a passed in spec to perform the task of adding a delta disk layer
42
43
  # on top of all disks. Does the same as add_delta_disk_layer_on_all_disks
43
- # but instead of issuing the ReconfigVM_Task, it just constructs the
44
- # spec, so that the caller can batch a couple of updates into one
44
+ # but instead of issuing the ReconfigVM_Task, it just constructs the
45
+ # spec, so that the caller can batch a couple of updates into one
45
46
  # ReconfigVM_Task.
46
47
  def update_spec_add_delta_disk_layer_on_all_disks spec = {}
47
48
  devices, = self.collect 'config.hardware.device'
@@ -70,5 +71,5 @@ class RbVmomi::VIM::VirtualMachine
70
71
  spec[:deviceChange] += device_change
71
72
  end
72
73
  spec
73
- end
74
+ end
74
75
  end
data/vmodl.db CHANGED
Binary file
metadata CHANGED
@@ -1,111 +1,155 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbvmomi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.2
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rich Lane
8
8
  - Christian Dickmann
9
9
  autorequire:
10
- bindir: bin
10
+ bindir: exe
11
11
  cert_chain: []
12
- date: 2014-10-01 00:00:00.000000000 Z
12
+ date: 2020-04-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: nokogiri
15
+ name: builder
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ! '>='
18
+ - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 1.4.1
20
+ version: '3.0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ! '>='
25
+ - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: 1.4.1
27
+ version: '3.0'
28
28
  - !ruby/object:Gem::Dependency
29
- name: builder
29
+ name: json
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ! '>='
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: '0'
34
+ version: '1.8'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ! '>='
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
- version: '0'
41
+ version: '1.8'
42
42
  - !ruby/object:Gem::Dependency
43
- name: trollop
43
+ name: nokogiri
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ! '>='
46
+ - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: '0'
48
+ version: '1.5'
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ! '>='
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '1.5'
56
+ - !ruby/object:Gem::Dependency
57
+ name: optimist
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '3.0'
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '3.0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: rake
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '10.5'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '10.5'
84
+ - !ruby/object:Gem::Dependency
85
+ name: simplecov
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - "~>"
89
+ - !ruby/object:Gem::Version
90
+ version: 0.12.0
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - "~>"
54
96
  - !ruby/object:Gem::Version
55
- version: '0'
97
+ version: 0.12.0
98
+ - !ruby/object:Gem::Dependency
99
+ name: yard
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - "~>"
103
+ - !ruby/object:Gem::Version
104
+ version: 0.9.5
105
+ type: :development
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - "~>"
110
+ - !ruby/object:Gem::Version
111
+ version: 0.9.5
112
+ - !ruby/object:Gem::Dependency
113
+ name: test-unit
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: '2.5'
119
+ type: :development
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ version: '2.5'
56
126
  description:
57
- email: rlane@vmware.com
127
+ email: jrg@vmware.com
58
128
  executables:
59
129
  - rbvmomish
60
130
  extensions: []
61
- extra_rdoc_files:
62
- - LICENSE
63
- - README.rdoc
131
+ extra_rdoc_files: []
64
132
  files:
65
- - .yardopts
66
133
  - LICENSE
67
- - README.rdoc
68
- - Rakefile
69
- - VERSION
70
- - bin/rbvmomish
71
- - devel/analyze-vim-declarations.rb
72
- - devel/analyze-xml.rb
73
- - devel/benchmark.rb
74
- - devel/collisions.rb
75
- - devel/merge-internal-vmodl.rb
76
- - devel/merge-manual-vmodl.rb
77
- - examples/annotate.rb
78
- - examples/cached_ovf_deploy.rb
79
- - examples/clone_vm.rb
80
- - examples/create_vm-1.9.rb
81
- - examples/create_vm.rb
82
- - examples/extraConfig.rb
83
- - examples/lease_tool.rb
84
- - examples/logbundle.rb
85
- - examples/logtail.rb
86
- - examples/nfs_datastore.rb
87
- - examples/power.rb
88
- - examples/readme-1.rb
89
- - examples/readme-2.rb
90
- - examples/run.sh
91
- - examples/screenshot.rb
92
- - examples/vdf.rb
93
- - examples/vm_drs_behavior.rb
134
+ - README.md
135
+ - exe/rbvmomish
94
136
  - lib/rbvmomi.rb
95
137
  - lib/rbvmomi/basic_types.rb
96
138
  - lib/rbvmomi/connection.rb
97
139
  - lib/rbvmomi/deserialization.rb
98
140
  - lib/rbvmomi/fault.rb
141
+ - lib/rbvmomi/optimist.rb
99
142
  - lib/rbvmomi/pbm.rb
100
143
  - lib/rbvmomi/sms.rb
101
144
  - lib/rbvmomi/sms/SmsStorageManager.rb
145
+ - lib/rbvmomi/sso.rb
102
146
  - lib/rbvmomi/trivial_soap.rb
103
- - lib/rbvmomi/trollop.rb
104
147
  - lib/rbvmomi/type_loader.rb
105
148
  - lib/rbvmomi/utils/admission_control.rb
106
149
  - lib/rbvmomi/utils/deploy.rb
107
150
  - lib/rbvmomi/utils/leases.rb
108
151
  - lib/rbvmomi/utils/perfdump.rb
152
+ - lib/rbvmomi/version.rb
109
153
  - lib/rbvmomi/vim.rb
110
154
  - lib/rbvmomi/vim/ComputeResource.rb
111
155
  - lib/rbvmomi/vim/Datacenter.rb
@@ -128,16 +172,10 @@ files:
128
172
  - lib/rbvmomi/vim/ServiceInstance.rb
129
173
  - lib/rbvmomi/vim/Task.rb
130
174
  - lib/rbvmomi/vim/VirtualMachine.rb
131
- - test/test_deserialization.rb
132
- - test/test_emit_request.rb
133
- - test/test_exceptions.rb
134
- - test/test_helper.rb
135
- - test/test_misc.rb
136
- - test/test_parse_response.rb
137
- - test/test_serialization.rb
138
175
  - vmodl.db
139
176
  homepage: https://github.com/vmware/rbvmomi
140
- licenses: []
177
+ licenses:
178
+ - MIT
141
179
  metadata: {}
142
180
  post_install_message:
143
181
  rdoc_options: []
@@ -145,17 +183,16 @@ require_paths:
145
183
  - lib
146
184
  required_ruby_version: !ruby/object:Gem::Requirement
147
185
  requirements:
148
- - - ! '>='
186
+ - - ">="
149
187
  - !ruby/object:Gem::Version
150
188
  version: 1.8.7
151
189
  required_rubygems_version: !ruby/object:Gem::Requirement
152
190
  requirements:
153
- - - ! '>='
191
+ - - ">="
154
192
  - !ruby/object:Gem::Version
155
193
  version: '0'
156
194
  requirements: []
157
- rubyforge_project:
158
- rubygems_version: 2.2.2
195
+ rubygems_version: 3.1.2
159
196
  signing_key:
160
197
  specification_version: 4
161
198
  summary: Ruby interface to the VMware vSphere API