Class: Ansible::Ruby::Modules::Ce_acl_interface

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

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_nameObject

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.

Returns:

  • (Object)

    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.

Returns:

  • (:inbound, :outbound)

    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

#interfaceObject

Returns Interface name. Only support interface full name, such as “40GE2/0/1”.

Returns:

  • (Object)

    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.

Returns:

  • (:present, :absent, nil)

    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