Class: Ansible::Ruby::Modules::Ce_acl
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ce_acl
- Defined in:
- lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl.rb
Overview
Manages base 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.
-
#frag_type ⇒ :fragment, ...
Type of packet fragmentation.
-
#log_flag ⇒ :yes, ...
Flag of logging matched data packets.
-
#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?
Mask of a source IP address.
-
#state ⇒ :present, ...
Specify desired state of the resource.
-
#time_range ⇒ Object?
Name of a time range in which an ACL rule takes effect.
-
#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.rb', line 26 attribute :acl_description |
#acl_name ⇒ Object
Returns ACL number or name. For a numbered rule group, the value ranging from 2000 to 2999 indicates a basic 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.rb', line 16 attribute :acl_name |
#acl_num ⇒ Object?
Returns ACL number. The value is an integer ranging from 2000 to 2999.
20 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl.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.rb', line 23 attribute :acl_step |
#frag_type ⇒ :fragment, ...
Returns Type of packet fragmentation.
45 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl.rb', line 45 attribute :frag_type |
#log_flag ⇒ :yes, ...
Returns Flag of logging matched data packets.
58 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl.rb', line 58 attribute :log_flag |
#rule_action ⇒ :permit, ...
Returns Matching mode of basic ACL rules.
35 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl.rb', line 35 attribute :rule_action |
#rule_description ⇒ Object?
Returns Description about an ACL rule. The value is a string of 1 to 127 characters.
55 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl.rb', line 55 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.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. The value is case-insensitive, and cannot contain spaces or begin with an underscore (_).
29 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl.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.
39 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl.rb', line 39 attribute :source_ip |
#src_mask ⇒ Object?
Returns Mask of a source IP address. The value is an integer ranging from 1 to 32.
42 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl.rb', line 42 attribute :src_mask |
#state ⇒ :present, ...
Returns Specify desired state of the resource.
12 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl.rb', line 12 attribute :state |
#time_range ⇒ Object?
Returns Name of a time range in which an ACL rule takes effect. The value is a string of 1 to 32 characters. The value is case-insensitive, and cannot contain spaces. The name must start with an uppercase or lowercase letter. In addition, the word “all” cannot be specified as a time range name.
52 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl.rb', line 52 attribute :time_range |
#vrf_name ⇒ Object?
Returns VPN instance name. The value is a string of 1 to 31 characters.The default value is public.
49 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl.rb', line 49 attribute :vrf_name |