Class: Ansible::Ruby::Modules::Ce_acl_advance
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ce_acl_advance
- 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
-
#acl_description ⇒ Object?
ACL description.
-
#acl_name ⇒ Object
ACL number or name.
-
#acl_num ⇒ Object?
ACL number.
-
#acl_step ⇒ Object?
ACL step.
-
#dest_ip ⇒ Object?
Destination IP address.
-
#dest_mask ⇒ Object?
Destination IP address mask.
-
#dest_pool_name ⇒ Object?
Name of a destination pool.
-
#dest_port_begin ⇒ Object?
Start port number of the destination port.
-
#dest_port_end ⇒ Object?
End port number of the destination port.
-
#dest_port_op ⇒ :lt, ...
Range type of the destination port.
-
#dest_port_pool_name ⇒ Object?
Name of a destination port pool.
-
#dscp ⇒ Object?
Differentiated Services Code Point.
-
#established ⇒ :yes, ...
Match established connections.
-
#frag_type ⇒ :fragment, ...
Type of packet fragmentation.
-
#icmp_code ⇒ Object?
ICMP message code.
-
#icmp_name ⇒ :unconfiged, ...
ICMP name.
-
#icmp_type ⇒ Object?
ICMP type.
-
#igmp_type ⇒ :"host-query", ...
Internet Group Management Protocol.
-
#log_flag ⇒ :yes, ...
Flag of logging matched data packets.
-
#precedence ⇒ Object?
Data packets can be filtered based on the priority field.
-
#protocol ⇒ :ip, ...
Protocol type.
-
#rule_action ⇒ :permit, ...
Matching mode of basic ACL rules.
-
#rule_description ⇒ Object?
Description about an ACL rule.
-
#rule_id ⇒ Object?
ID of a basic ACL rule in configuration mode.
-
#rule_name ⇒ Object?
Name of a basic ACL rule.
-
#source_ip ⇒ Object?
Source IP address.
-
#src_mask ⇒ Object?
Source IP address mask.
-
#src_pool_name ⇒ Object?
Name of a source pool.
-
#src_port_begin ⇒ Object?
Start port number of the source port.
-
#src_port_end ⇒ Object?
End port number of the source port.
-
#src_port_op ⇒ :lt, ...
Range type of the source port.
-
#src_port_pool_name ⇒ Object?
Name of a source port pool.
-
#state ⇒ :present, ...
Specify desired state of the resource.
-
#syn_flag ⇒ Object?
TCP flag value.
-
#tcp_flag_mask ⇒ Object?
TCP flag mask value.
-
#time_range ⇒ Object?
Name of a time range in which an ACL rule takes effect.
-
#tos ⇒ Object?
ToS value on which data packet filtering is based.
-
#ttl_expired ⇒ :yes, ...
Whether TTL Expired is matched, with the TTL value of 1.
-
#vrf_name ⇒ Object?
VPN instance name.
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
#acl_description ⇒ Object?
Returns 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_name ⇒ Object
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.
16 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 16 attribute :acl_name |
#acl_num ⇒ Object?
Returns 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_step ⇒ Object?
Returns 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_ip ⇒ Object?
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.
52 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 52 attribute :dest_ip |
#dest_mask ⇒ Object?
Returns 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_name ⇒ Object?
Returns 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_begin ⇒ Object?
Returns 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_end ⇒ Object?
Returns 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.
74 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 74 attribute :dest_port_op |
#dest_port_pool_name ⇒ Object?
Returns 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 |
#dscp ⇒ Object?
Returns 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.
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.
87 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 87 attribute :frag_type |
#icmp_code ⇒ Object?
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.
107 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 107 attribute :icmp_code |
#icmp_name ⇒ :unconfiged, ...
Returns ICMP name.
100 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 100 attribute :icmp_name |
#icmp_type ⇒ Object?
Returns 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.
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.
137 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 137 attribute :log_flag |
#precedence ⇒ Object?
Returns 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.
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.
35 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 35 attribute :rule_action |
#rule_description ⇒ Object?
Returns Description about an ACL rule.
130 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 130 attribute :rule_description |
#rule_id ⇒ Object?
Returns 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_name ⇒ Object?
Returns 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_ip ⇒ Object?
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.
43 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 43 attribute :source_ip |
#src_mask ⇒ Object?
Returns 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_name ⇒ Object?
Returns 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_begin ⇒ Object?
Returns 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_end ⇒ Object?
Returns 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.
61 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 61 attribute :src_port_op |
#src_port_pool_name ⇒ Object?
Returns 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.
12 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 12 attribute :state |
#syn_flag ⇒ Object?
Returns 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_mask ⇒ Object?
Returns 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_range ⇒ Object?
Returns 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 |
#tos ⇒ Object?
Returns 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.
110 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_advance.rb', line 110 attribute :ttl_expired |
#vrf_name ⇒ Object?
Returns 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 |