Class: OvirtSDK4::HostCpuUnitsService
- Defined in:
- lib/ovirtsdk4/services.rb,
lib/ovirtsdk4/services.rb
Instance Method Summary collapse
-
#list(opts = {}) ⇒ Array<HostCpuUnit>
Returns the List of all host’s CPUs with detailed information about the topology (socket, core) and with information about the current CPU pinning.
-
#service(path) ⇒ Service
Locates the service corresponding to the given path.
Methods inherited from Service
Instance Method Details
#list(opts = {}) ⇒ Array<HostCpuUnit>
Returns the List of all host’s CPUs with detailed information about the topology (socket, core) and with information about the current CPU pinning.
12115 12116 12117 |
# File 'lib/ovirtsdk4/services.rb', line 12115 def list(opts = {}) internal_get(LIST, opts) end |
#service(path) ⇒ Service
Locates the service corresponding to the given path.
12126 12127 12128 12129 12130 12131 |
# File 'lib/ovirtsdk4/services.rb', line 12126 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |