Class: Ansible::Ruby::Modules::Nxos_logging
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Nxos_logging
- 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
-
#aggregate ⇒ Array<Hash>, ...
List of logging definitions.
-
#dest ⇒ :console, ...
Destination of the logs.
-
#dest_level ⇒ Integer?
Set logging severity levels.
-
#facility ⇒ String?
Facility name for logging.
-
#facility_level ⇒ Integer?
Set logging serverity levels for facility based log messages.
-
#interface ⇒ String?
Interface to be used while configuring source-interface for logging (e.g., ‘Ethernet1/2’, ‘mgmt0’).
-
#name ⇒ String?
If value of C(dest) is I(logfile) it indicates file-name.
-
#remote_server ⇒ String?
Hostname or IP Address for remote logging (when dest is ‘server’).
-
#state ⇒ :present, ...
State of the logging configuration.
-
#use_vrf ⇒ String?
VRF to be used while configuring remote logging (when dest is ‘server’).
Methods inherited from Base
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
#aggregate ⇒ Array<Hash>, ...
Returns 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.
12 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_logging.rb', line 12 attribute :dest |
#dest_level ⇒ Integer?
Returns Set logging severity levels.
36 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_logging.rb', line 36 attribute :dest_level |
#facility ⇒ String?
Returns Facility name for logging.
32 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_logging.rb', line 32 attribute :facility |
#facility_level ⇒ Integer?
Returns 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 |
#interface ⇒ String?
Returns 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 |
#name ⇒ String?
Returns 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_server ⇒ String?
Returns 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.
48 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_logging.rb', line 48 attribute :state |
#use_vrf ⇒ String?
Returns 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 |