Class: OvirtSDK4::AffinityGroupHostService
- Defined in:
- lib/ovirtsdk4/services.rb,
lib/ovirtsdk4/services.rb
Instance Method Summary collapse
-
#remove(opts = {}) ⇒ Object
Remove host from the affinity group.
-
#service(path) ⇒ Service
Locates the service corresponding to the given path.
Methods inherited from Service
Instance Method Details
#remove(opts = {}) ⇒ Object
Remove host from the affinity group.
1098 1099 1100 |
# File 'lib/ovirtsdk4/services.rb', line 1098 def remove(opts = {}) internal_remove(REMOVE, opts) end |
#service(path) ⇒ Service
Locates the service corresponding to the given path.
1109 1110 1111 1112 1113 1114 |
# File 'lib/ovirtsdk4/services.rb', line 1109 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |