Class: Ansible::Ruby::Modules::Ce_info_center_global
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ce_info_center_global
- Defined in:
- lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_global.rb
Overview
This module offers the ability to be output to the log buffer, log file, console, terminal, or log host on HUAWEI CloudEngine switches.
Instance Method Summary collapse
-
#channel_cfg_name ⇒ String?
Channel name.The value is a string of 1 to 30 case-sensitive characters.
-
#channel_id ⇒ Object?
Number for channel.
-
#channel_name ⇒ Object?
Channel name.
-
#channel_out_direct ⇒ :console, ...
Direction of information output.
-
#facility ⇒ :local0, ...
Log record tool.
-
#filter_feature_name ⇒ Object?
Feature name of the filtered log.
-
#filter_log_name ⇒ Object?
Name of the filtered log.
-
#info_center_enable ⇒ :true, ...
Whether the info-center function is enabled.
-
#ip_type ⇒ :ipv4, ...
Log server address type, IPv4 or IPv6.
-
#is_default_vpn ⇒ :yes, ...
Use the default VPN or not.
-
#level ⇒ :emergencies, ...
Level of logs saved on a log server.
-
#logfile_max_num ⇒ Object?
Maximum number of log files of the same type.
-
#logfile_max_size ⇒ 4, ...
Maximum size (in MB) of a log file.
-
#packet_priority ⇒ Object?
Set the priority of the syslog packet.The value is an integer ranging from 0 to 7.
-
#server_domain ⇒ Object?
Server name.
-
#server_ip ⇒ Object?
Log server address, IPv4 or IPv6 type.
-
#server_port ⇒ Object?
Number of a port sending logs.The value is an integer ranging from 1 to 65535.
-
#source_ip ⇒ Object?
Log source ip address, IPv4 or IPv6 type.
-
#ssl_policy_name ⇒ Object?
SSL policy name.
-
#state ⇒ :present, ...
Specify desired state of the resource.
-
#suppress_enable ⇒ :false, ...
Whether a device is enabled to suppress duplicate statistics.
-
#timestamp ⇒ :UTC, ...
Log server timestamp.
-
#transport_mode ⇒ :tcp, ...
Transport mode.
-
#vrf_name ⇒ Object?
VPN name on a log server.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#channel_cfg_name ⇒ String?
Returns Channel name.The value is a string of 1 to 30 case-sensitive characters. The default value is console.
33 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_global.rb', line 33 attribute :channel_cfg_name |
#channel_id ⇒ Object?
Returns Number for channel. The value is an integer ranging from 0 to 9. The default value is 0.
30 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_global.rb', line 30 attribute :channel_id |
#channel_name ⇒ Object?
Returns Channel name. The value is a string of 1 to 30 case-sensitive characters.
75 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_global.rb', line 75 attribute :channel_name |
#channel_out_direct ⇒ :console, ...
Returns Direction of information output.
37 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_global.rb', line 37 attribute :channel_out_direct |
#facility ⇒ :local0, ...
Returns Log record tool.
71 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_global.rb', line 71 attribute :facility |
#filter_feature_name ⇒ Object?
Returns Feature name of the filtered log. The value is a string of 1 to 31 case-insensitive characters.
41 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_global.rb', line 41 attribute :filter_feature_name |
#filter_log_name ⇒ Object?
Returns Name of the filtered log. The value is a string of 1 to 63 case-sensitive characters.
44 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_global.rb', line 44 attribute :filter_log_name |
#info_center_enable ⇒ :true, ...
Returns Whether the info-center function is enabled. The value is of the Boolean type.
12 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_global.rb', line 12 attribute :info_center_enable |
#ip_type ⇒ :ipv4, ...
Returns Log server address type, IPv4 or IPv6.
47 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_global.rb', line 47 attribute :ip_type |
#is_default_vpn ⇒ :yes, ...
Returns Use the default VPN or not.
57 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_global.rb', line 57 attribute :is_default_vpn |
#level ⇒ :emergencies, ...
Returns Level of logs saved on a log server.
64 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_global.rb', line 64 attribute :level |
#logfile_max_num ⇒ Object?
Returns Maximum number of log files of the same type. The default value is 200.,The value range for log files is[3, 500], for security files is [1, 3],and for operation files is [1, 7].
23 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_global.rb', line 23 attribute :logfile_max_num |
#logfile_max_size ⇒ 4, ...
Returns Maximum size (in MB) of a log file. The default value is 32.,The value range for log files is [4, 8, 16, 32], for security files is [1, 4],,and for operation files is [1, 4].
26 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_global.rb', line 26 attribute :logfile_max_size |
#packet_priority ⇒ Object?
Returns Set the priority of the syslog packet.The value is an integer ranging from 0 to 7. The default value is 0.
16 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_global.rb', line 16 attribute :packet_priority |
#server_domain ⇒ Object?
Returns Server name. The value is a string of 1 to 255 case-sensitive characters.
54 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_global.rb', line 54 attribute :server_domain |
#server_ip ⇒ Object?
Returns Log server address, IPv4 or IPv6 type. The value is a string of 0 to 255 characters. The value can be an valid IPv4 or IPv6 address.
51 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_global.rb', line 51 attribute :server_ip |
#server_port ⇒ Object?
Returns Number of a port sending logs.The value is an integer ranging from 1 to 65535. For UDP, the default value is 514. For TCP, the default value is 601. For TSL, the default value is 6514.
68 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_global.rb', line 68 attribute :server_port |
#source_ip ⇒ Object?
Returns Log source ip address, IPv4 or IPv6 type. The value is a string of 0 to 255. The value can be an valid IPv4 or IPv6 address.
89 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_global.rb', line 89 attribute :source_ip |
#ssl_policy_name ⇒ Object?
Returns SSL policy name. The value is a string of 1 to 23 case-sensitive characters.
86 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_global.rb', line 86 attribute :ssl_policy_name |
#state ⇒ :present, ...
Returns Specify desired state of the resource.
92 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_global.rb', line 92 attribute :state |
#suppress_enable ⇒ :false, ...
Returns Whether a device is enabled to suppress duplicate statistics. The value is of the Boolean type.
19 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_global.rb', line 19 attribute :suppress_enable |
#timestamp ⇒ :UTC, ...
Returns Log server timestamp. The value is of the enumerated type and case-sensitive.
78 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_global.rb', line 78 attribute :timestamp |
#transport_mode ⇒ :tcp, ...
Returns Transport mode. The value is of the enumerated type and case-sensitive.
82 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_global.rb', line 82 attribute :transport_mode |
#vrf_name ⇒ Object?
Returns VPN name on a log server. The value is a string of 1 to 31 case-sensitive characters. The default value is public.
61 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_global.rb', line 61 attribute :vrf_name |