Class: Ansible::Ruby::Modules::Ce_acl_interface
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ce_acl_interface
- Defined in:
- lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_interface.rb
Overview
Manages applying ACLs to interfaces on HUAWEI CloudEngine switches.
Instance Method Summary collapse
-
#acl_name ⇒ Object
ACL number or name.
-
#direction ⇒ :inbound, :outbound
Direction ACL to be applied in on the interface.
-
#interface ⇒ Object
Interface name.
-
#state ⇒ :present, ...
Determines whether the config should be present or not on the device.
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_name ⇒ Object
Returns ACL number or name. For a numbered rule group, the value ranging from 2000 to 4999. For a named rule group, the value is a string of 1 to 32 case-sensitive characters starting with a letter, spaces not supported.
12 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_interface.rb', line 12 attribute :acl_name |
#direction ⇒ :inbound, :outbound
Returns Direction ACL to be applied in on the interface.
20 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_interface.rb', line 20 attribute :direction |
#interface ⇒ Object
Returns Interface name. Only support interface full name, such as “40GE2/0/1”.
16 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_interface.rb', line 16 attribute :interface |
#state ⇒ :present, ...
Returns Determines whether the config should be present or not on the device.
24 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_acl_interface.rb', line 24 attribute :state |