Class: OvirtSDK4::LinkLayerDiscoveryProtocolService
- Defined in:
- lib/ovirtsdk4/services.rb,
lib/ovirtsdk4/services.rb
Instance Method Summary collapse
-
#list(opts = {}) ⇒ Array<LinkLayerDiscoveryProtocolElement>
Fetches information elements received by LLDP.
-
#service(path) ⇒ Service
Locates the service corresponding to the given path.
Methods inherited from Service
Instance Method Details
#list(opts = {}) ⇒ Array<LinkLayerDiscoveryProtocolElement>
Fetches information elements received by LLDP.
14286 14287 14288 |
# File 'lib/ovirtsdk4/services.rb', line 14286 def list(opts = {}) internal_get(LIST, opts) end |
#service(path) ⇒ Service
Locates the service corresponding to the given path.
14297 14298 14299 14300 14301 14302 |
# File 'lib/ovirtsdk4/services.rb', line 14297 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |