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.
15280 15281 15282 |
# File 'lib/ovirtsdk4/services.rb', line 15280 def list(opts = {}) internal_get(LIST, opts) end |
#service(path) ⇒ Service
Locates the service corresponding to the given path.
15291 15292 15293 15294 15295 15296 |
# File 'lib/ovirtsdk4/services.rb', line 15291 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |