Class: Ansible::Ruby::Modules::Ce_info_center_global

Inherits:
Base show all
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

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

#channel_cfg_nameString?

Returns Channel name.The value is a string of 1 to 30 case-sensitive characters. The default value is console.

Returns:

  • (String, nil)

    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_idObject?

Returns Number for channel. The value is an integer ranging from 0 to 9. The default value is 0.

Returns:

  • (Object, nil)

    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_nameObject?

Returns Channel name. The value is a string of 1 to 30 case-sensitive characters.

Returns:

  • (Object, nil)

    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.

Returns:

  • (:console, :monitor, :trapbuffer, :logbuffer, :snmp, :logfile, nil)

    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.

Returns:

  • (:local0, :local1, :local2, :local3, :local4, :local5, :local6, :local7, nil)

    Log record tool.



71
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_global.rb', line 71

attribute :facility

#filter_feature_nameObject?

Returns Feature name of the filtered log. The value is a string of 1 to 31 case-insensitive characters.

Returns:

  • (Object, nil)

    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_nameObject?

Returns Name of the filtered log. The value is a string of 1 to 63 case-sensitive characters.

Returns:

  • (Object, nil)

    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.

Returns:

  • (:true, :false, nil)

    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.

Returns:

  • (:ipv4, :ipv6, nil)

    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.

Returns:

  • (:yes, :no, nil)

    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.

Returns:

  • (:emergencies, :alert, :critical, :error, :warning, :notification, :informational, :debugging, nil)

    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_numObject?

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].

Returns:

  • (Object, nil)

    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_size4, ...

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].

Returns:

  • (4, 8, 16, 32, nil)

    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_priorityObject?

Returns Set the priority of the syslog packet.The value is an integer ranging from 0 to 7. The default value is 0.

Returns:

  • (Object, nil)

    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_domainObject?

Returns Server name. The value is a string of 1 to 255 case-sensitive characters.

Returns:

  • (Object, nil)

    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_ipObject?

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.

Returns:

  • (Object, nil)

    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_portObject?

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.

Returns:

  • (Object, nil)

    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_ipObject?

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.

Returns:

  • (Object, nil)

    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_nameObject?

Returns SSL policy name. The value is a string of 1 to 23 case-sensitive characters.

Returns:

  • (Object, nil)

    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.

Returns:

  • (:present, :absent, nil)

    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.

Returns:

  • (:false, :true, nil)

    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.

Returns:

  • (:UTC, :localtime, nil)

    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.

Returns:

  • (:tcp, :udp, nil)

    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_nameObject?

Returns VPN name on a log server. The value is a string of 1 to 31 case-sensitive characters. The default value is public.

Returns:

  • (Object, nil)

    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