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.
11958 11959 11960 |
# File 'lib/ovirtsdk4/services.rb', line 11958 def list(opts = {}) internal_get(LIST, opts) end |
#service(path) ⇒ Service
Locates the service corresponding to the given path.
11969 11970 11971 11972 11973 11974 |
# File 'lib/ovirtsdk4/services.rb', line 11969 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |