Class: Ansible::Ruby::Modules::Ce_acl_advance

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

Overview

Manages advanced ACL configurations 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

#acl_descriptionObject?

Returns ACL description. The value is a string of 1 to 127 characters.

Returns:

  • (Object, nil)

    ACL description. The value is a string of 1 to 127 characters.



26
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 26

attribute :acl_description

#acl_nameObject

Returns ACL number or name. For a numbered rule group, the value ranging from 3000 to 3999 indicates a advance ACL. For a named rule group, the value is a string of 1 to 32 case-sensitive characters starting with a letter, spaces not supported.

Returns:

  • (Object)

    ACL number or name. For a numbered rule group, the value ranging from 3000 to 3999 indicates a advance ACL. For a named rule group, the value is a string of 1 to 32 case-sensitive characters starting with a letter, spaces not supported.



16
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 16

attribute :acl_name

#acl_numObject?

Returns ACL number. The value is an integer ranging from 3000 to 3999.

Returns:

  • (Object, nil)

    ACL number. The value is an integer ranging from 3000 to 3999.



20
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 20

attribute :acl_num

#acl_stepObject?

Returns ACL step. The value is an integer ranging from 1 to 20. The default value is 5.

Returns:

  • (Object, nil)

    ACL step. The value is an integer ranging from 1 to 20. The default value is 5.



23
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 23

attribute :acl_step

#dest_ipObject?

Returns Destination IP address. The value is a string of 0 to 255 characters.The default value is 0.0.0.0. The value is in dotted decimal notation.

Returns:

  • (Object, nil)

    Destination IP address. The value is a string of 0 to 255 characters.The default value is 0.0.0.0. The value is in dotted decimal notation.



52
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 52

attribute :dest_ip

#dest_maskObject?

Returns Destination IP address mask. The value is an integer ranging from 1 to 32.

Returns:

  • (Object, nil)

    Destination IP address mask. The value is an integer ranging from 1 to 32.



55
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 55

attribute :dest_mask

#dest_pool_nameObject?

Returns Name of a destination pool. The value is a string of 1 to 32 characters.

Returns:

  • (Object, nil)

    Name of a destination pool. The value is a string of 1 to 32 characters.



58
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 58

attribute :dest_pool_name

#dest_port_beginObject?

Returns Start port number of the destination port. The value is an integer ranging from 0 to 65535.

Returns:

  • (Object, nil)

    Start port number of the destination port. The value is an integer ranging from 0 to 65535.



78
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 78

attribute :dest_port_begin

#dest_port_endObject?

Returns End port number of the destination port. The value is an integer ranging from 0 to 65535.

Returns:

  • (Object, nil)

    End port number of the destination port. The value is an integer ranging from 0 to 65535.



81
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 81

attribute :dest_port_end

#dest_port_op:lt, ...

Returns Range type of the destination port.

Returns:

  • (:lt, :eq, :gt, :range, nil)

    Range type of the destination port.



74
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 74

attribute :dest_port_op

#dest_port_pool_nameObject?

Returns Name of a destination port pool. The value is a string of 1 to 32 characters.

Returns:

  • (Object, nil)

    Name of a destination port pool. The value is a string of 1 to 32 characters.



84
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 84

attribute :dest_port_pool_name

#dscpObject?

Returns Differentiated Services Code Point. The value is an integer ranging from 0 to 63.

Returns:

  • (Object, nil)

    Differentiated Services Code Point. The value is an integer ranging from 0 to 63.



97
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 97

attribute :dscp

#established:yes, ...

Returns Match established connections.

Returns:

  • (:yes, :no, nil)

    Match established connections.



123
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 123

attribute :established

#frag_type:fragment, ...

Returns Type of packet fragmentation.

Returns:

  • (:fragment, :clear_fragment, nil)

    Type of packet fragmentation.



87
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 87

attribute :frag_type

#icmp_codeObject?

Returns ICMP message code. Data packets can be filtered based on the ICMP message code. The value is an integer ranging from 0 to 255.

Returns:

  • (Object, nil)

    ICMP message code. Data packets can be filtered based on the ICMP message code. The value is an integer ranging from 0 to 255.



107
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 107

attribute :icmp_code

#icmp_name:unconfiged, ...

Returns ICMP name.

Returns:

  • (:unconfiged, :echo, :"echo-reply", :"fragmentneed-DFset", :"host-redirect", :"host-tos-redirect", :"host-unreachable", :"information-reply", :"information-request", :"net-redirect", :"net-tos-redirect", :"net-unreachable", :"parameter-problem", :"port-unreachable", :"protocol-unreachable", :"reassembly-timeout", :"source-quench", :"source-route-failed", :"timestamp-reply", :"timestamp-request", :"ttl-exceeded", :"address-mask-reply", :"address-mask-request", :custom, nil)

    ICMP name.



100
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 100

attribute :icmp_name

#icmp_typeObject?

Returns ICMP type. This parameter is available only when the packet protocol is ICMP. The value is an integer ranging from 0 to 255.

Returns:

  • (Object, nil)

    ICMP type. This parameter is available only when the packet protocol is ICMP. The value is an integer ranging from 0 to 255.



104
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 104

attribute :icmp_type

#igmp_type:"host-query", ...

Returns Internet Group Management Protocol.

Returns:

  • (:"host-query", :"mrouter-adver", :"mrouter-solic", :"mrouter-termi", :"mtrace-resp", :"mtrace-route", :"v1host-report", :"v2host-report", :"v2leave-group", :"v3host-report", nil)

    Internet Group Management Protocol.



133
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 133

attribute :igmp_type

#log_flag:yes, ...

Returns Flag of logging matched data packets.

Returns:

  • (:yes, :no, nil)

    Flag of logging matched data packets.



137
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 137

attribute :log_flag

#precedenceObject?

Returns Data packets can be filtered based on the priority field. The value is an integer ranging from 0 to 7.

Returns:

  • (Object, nil)

    Data packets can be filtered based on the priority field. The value is an integer ranging from 0 to 7.



91
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 91

attribute :precedence

#protocol:ip, ...

Returns Protocol type.

Returns:

  • (:ip, :icmp, :igmp, :ipinip, :tcp, :udp, :gre, :ospf, nil)

    Protocol type.



39
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 39

attribute :protocol

#rule_action:permit, ...

Returns Matching mode of basic ACL rules.

Returns:

  • (:permit, :deny, nil)

    Matching mode of basic ACL rules.



35
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 35

attribute :rule_action

#rule_descriptionObject?

Returns Description about an ACL rule.

Returns:

  • (Object, nil)

    Description about an ACL rule.



130
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 130

attribute :rule_description

#rule_idObject?

Returns ID of a basic ACL rule in configuration mode. The value is an integer ranging from 0 to 4294967294.

Returns:

  • (Object, nil)

    ID of a basic ACL rule in configuration mode. The value is an integer ranging from 0 to 4294967294.



32
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 32

attribute :rule_id

#rule_nameObject?

Returns Name of a basic ACL rule. The value is a string of 1 to 32 characters.

Returns:

  • (Object, nil)

    Name of a basic ACL rule. The value is a string of 1 to 32 characters.



29
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 29

attribute :rule_name

#source_ipObject?

Returns Source IP address. The value is a string of 0 to 255 characters.The default value is 0.0.0.0. The value is in dotted decimal notation.

Returns:

  • (Object, nil)

    Source IP address. The value is a string of 0 to 255 characters.The default value is 0.0.0.0. The value is in dotted decimal notation.



43
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 43

attribute :source_ip

#src_maskObject?

Returns Source IP address mask. The value is an integer ranging from 1 to 32.

Returns:

  • (Object, nil)

    Source IP address mask. The value is an integer ranging from 1 to 32.



46
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 46

attribute :src_mask

#src_pool_nameObject?

Returns Name of a source pool. The value is a string of 1 to 32 characters.

Returns:

  • (Object, nil)

    Name of a source pool. The value is a string of 1 to 32 characters.



49
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 49

attribute :src_pool_name

#src_port_beginObject?

Returns Start port number of the source port. The value is an integer ranging from 0 to 65535.

Returns:

  • (Object, nil)

    Start port number of the source port. The value is an integer ranging from 0 to 65535.



65
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 65

attribute :src_port_begin

#src_port_endObject?

Returns End port number of the source port. The value is an integer ranging from 0 to 65535.

Returns:

  • (Object, nil)

    End port number of the source port. The value is an integer ranging from 0 to 65535.



68
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 68

attribute :src_port_end

#src_port_op:lt, ...

Returns Range type of the source port.

Returns:

  • (:lt, :eq, :gt, :range, nil)

    Range type of the source port.



61
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 61

attribute :src_port_op

#src_port_pool_nameObject?

Returns Name of a source port pool. The value is a string of 1 to 32 characters.

Returns:

  • (Object, nil)

    Name of a source port pool. The value is a string of 1 to 32 characters.



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

attribute :src_port_pool_name

#state:present, ...

Returns Specify desired state of the resource.

Returns:

  • (:present, :absent, :delete_acl, nil)

    Specify desired state of the resource.



12
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 12

attribute :state

#syn_flagObject?

Returns TCP flag value. The value is an integer ranging from 0 to 63.

Returns:

  • (Object, nil)

    TCP flag value. The value is an integer ranging from 0 to 63.



117
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 117

attribute :syn_flag

#tcp_flag_maskObject?

Returns TCP flag mask value. The value is an integer ranging from 0 to 63.

Returns:

  • (Object, nil)

    TCP flag mask value. The value is an integer ranging from 0 to 63.



120
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 120

attribute :tcp_flag_mask

#time_rangeObject?

Returns Name of a time range in which an ACL rule takes effect.

Returns:

  • (Object, nil)

    Name of a time range in which an ACL rule takes effect.



127
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 127

attribute :time_range

#tosObject?

Returns ToS value on which data packet filtering is based. The value is an integer ranging from 0 to 15.

Returns:

  • (Object, nil)

    ToS value on which data packet filtering is based. The value is an integer ranging from 0 to 15.



94
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 94

attribute :tos

#ttl_expired:yes, ...

Returns Whether TTL Expired is matched, with the TTL value of 1.

Returns:

  • (:yes, :no, nil)

    Whether TTL Expired is matched, with the TTL value of 1.



110
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 110

attribute :ttl_expired

#vrf_nameObject?

Returns VPN instance name. The value is a string of 1 to 31 characters.The default value is public.

Returns:

  • (Object, nil)

    VPN instance name. The value is a string of 1 to 31 characters.The default value is public.



114
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 114

attribute :vrf_name