arubanetworks.aoscx.aoscx_acl_interface (4.3.2) — module

Apply/Remove ACL configuration on interfaces for AOS-CX.

| "added in version" 2.8.0 of arubanetworks.aoscx"

Authors: Aruba Networks (@ArubaNetworks)

preview | supported by certified

Install collection

Install with ansible-galaxy collection install arubanetworks.aoscx:==4.3.2


Add to requirements.yml

  collections:
    - name: arubanetworks.aoscx
      version: 4.3.2

Description

This modules provides application management of Access Classifier Lists on Interfaces on AOS-CX devices.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Apply ipv4 ACL to interfaces
  aoscx_acl_interface:
    acl_name: ipv4_acl
    acl_type: ipv4
    acl_interface_list:
      - 1/1/2
      - 1/2/23
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Remove ipv4 ACL from interfaces
  aoscx_acl_interface:
    acl_name: ipv4_acl
    acl_type: ipv4
    acl_interface_list:
      - 1/1/2
      - 1/2/23
    state: delete
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Apply ipv6 ACL to Interfaces
  aoscx_acl_interface:
    acl_name: ipv6_acl
    acl_type: ipv6
    acl_interface_list:
      - 1/1/2
      - 1/2/23

Inputs

    
state:
    choices:
    - create
    - delete
    default: create
    description: Create or delete the ACL configuration from the interfaces.
    required: false
    type: str

acl_name:
    description: Name of the ACL being applied or removed from the interface.
    required: true
    type: str

acl_type:
    choices:
    - ipv4
    - ipv6
    - mac
    description: Type of ACL being applied or removed from the interfaces.
    required: true
    type: str

acl_direction:
    choices:
    - in
    - out
    default: in
    description: Direction for which the ACL is to be applied or removed.
    type: str

acl_interface_list:
    description: 'List of interfaces for which the ACL is to be applied or removed.

      '
    elements: str
    required: true
    type: list