Class: IControl::ASM::SystemConfiguration

Inherits:
Base
  • Object
show all
Defined in:
lib/icontrol/asm/system_configuration.rb,
lib/icontrol/asm.rb

Overview

The SystemConfiguration interface enables you to manipulate system-wide settings of ASM.

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

#is_asm_readyboolean

Returns the current status of ASM: '1’=ASM ready '0’=ASM not ready

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.



46
47
48
# File 'lib/icontrol/asm/system_configuration.rb', line 46

def is_asm_ready
  super
end

#set_violation_severities(opts) ⇒ Object

Set the severity of violations.

Parameters:

  • opts (Hash)

Options Hash (opts):

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.



58
59
60
61
# File 'lib/icontrol/asm/system_configuration.rb', line 58

def set_violation_severities(opts)
  opts = check_params(opts,[:violation_severities])
  super(opts)
end

#signature_file_versionString

Returns the current version of the installed signature file

Returns:

  • (String)

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.



16
17
18
# File 'lib/icontrol/asm/system_configuration.rb', line 16

def signature_file_version
  super
end

#update_signature_file_automatic(opts) ⇒ SignatureFileUpdateReturnValue

Updates the factory negsig file automatically from F5 server

Parameters:

  • opts (Hash)

Options Hash (opts):

  • :do_set_active (boolean)

    Whether to make the signatures active for all policies

  • :force (boolean)

    Deprecated.

  • :user_name (String)

    Deprecated.

  • :check_interval (boolean)

    Deprecated. Should be ‘false’.

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.



75
76
77
78
# File 'lib/icontrol/asm/system_configuration.rb', line 75

def update_signature_file_automatic(opts)
  opts = check_params(opts,[:do_set_active,:force,:user_name,:check_interval])
  super(opts)
end

#update_signature_file_manual(opts) ⇒ SignatureFileUpdateReturnValue

Updates the factory negsig file manually

Parameters:

  • opts (Hash)

Options Hash (opts):

  • :file_context (IControl::ASM::FileTransferContext)

    The signature file’s context used to update the system.

  • :do_set_active (boolean)

    Whether to make the signatures active for all policies

  • :force (boolean)

    Deprecated.

  • :user_name (String)

    Deprecated.

  • :check_interval (boolean)

    Deprecated. Should be ‘false’.

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.



93
94
95
96
# File 'lib/icontrol/asm/system_configuration.rb', line 93

def update_signature_file_manual(opts)
  opts = check_params(opts,[:file_context,:do_set_active,:force,:user_name,:check_interval])
  super(opts)
end

#versionString

Gets the version information for this interface.

Returns:

  • (String)


24
25
26
# File 'lib/icontrol/asm/system_configuration.rb', line 24

def version
  super
end

#violation_severitiesViolationSeverity

Get the severity of violations.

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.



35
36
37
# File 'lib/icontrol/asm/system_configuration.rb', line 35

def violation_severities
  super
end