Class: Ansible::Ruby::Modules::Nxos_logging

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/network/nxos/nxos_logging.rb

Overview

This module provides declarative management of logging on Cisco NX-OS devices.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#aggregateArray<Hash>, ...

Returns List of logging definitions.

Returns:

  • (Array<Hash>, Hash, nil)

    List of logging definitions.



44
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_logging.rb', line 44

attribute :aggregate

#dest:console, ...

Returns Destination of the logs.

Returns:

  • (:console, :logfile, :module, :monitor, :server, nil)

    Destination of the logs.



12
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_logging.rb', line 12

attribute :dest

#dest_levelInteger?

Returns Set logging severity levels.

Returns:

  • (Integer, nil)

    Set logging severity levels.



36
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_logging.rb', line 36

attribute :dest_level

#facilityString?

Returns Facility name for logging.

Returns:

  • (String, nil)

    Facility name for logging.



32
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_logging.rb', line 32

attribute :facility

#facility_levelInteger?

Returns Set logging serverity levels for facility based log messages.

Returns:

  • (Integer, nil)

    Set logging serverity levels for facility based log messages.



40
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_logging.rb', line 40

attribute :facility_level

#interfaceString?

Returns Interface to be used while configuring source-interface for logging (e.g., ‘Ethernet1/2’, ‘mgmt0’).

Returns:

  • (String, nil)

    Interface to be used while configuring source-interface for logging (e.g., ‘Ethernet1/2’, ‘mgmt0’)



24
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_logging.rb', line 24

attribute :interface

#nameString?

Returns If value of C(dest) is I(logfile) it indicates file-name.

Returns:

  • (String, nil)

    If value of C(dest) is I(logfile) it indicates file-name.



28
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_logging.rb', line 28

attribute :name

#remote_serverString?

Returns Hostname or IP Address for remote logging (when dest is ‘server’).

Returns:

  • (String, nil)

    Hostname or IP Address for remote logging (when dest is ‘server’).



16
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_logging.rb', line 16

attribute :remote_server

#state:present, ...

Returns State of the logging configuration.

Returns:

  • (:present, :absent, nil)

    State of the logging configuration.



48
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_logging.rb', line 48

attribute :state

#use_vrfString?

Returns VRF to be used while configuring remote logging (when dest is ‘server’).

Returns:

  • (String, nil)

    VRF to be used while configuring remote logging (when dest is ‘server’).



20
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_logging.rb', line 20

attribute :use_vrf