Class: IControl::System::Internal

Inherits:
Base
  • Object
show all
Defined in:
lib/icontrol/system/internal.rb,
lib/icontrol/system.rb

Overview

The Internal interface is a private interface to support internal F5 capabilities.

Defined Under Namespace

Classes: URI, URISequence

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class IControl::Base

Instance Method Details

#map_uriURI

Returns a sequence of URIs given a list of tags.

Returns:

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



24
25
26
# File 'lib/icontrol/system/internal.rb', line 24

def map_uri
  super
end

#test_connection(opts) ⇒ boolean

Tests a connection from the device to the caller

Parameters:

  • opts (Hash)

Options Hash (opts):

  • :addresses (String)

    Addresses to test

  • :ports (long)

    Ports to test

Returns:

  • (boolean)

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



38
39
40
41
# File 'lib/icontrol/system/internal.rb', line 38

def test_connection(opts)
  opts = check_params(opts,[:addresses,:ports])
  super(opts)
end

#versionString

Gets the version information for this interface.

Returns:

  • (String)


13
14
15
# File 'lib/icontrol/system/internal.rb', line 13

def version
  super
end