arubanetworks.aoscx.aoscx_acl_vlan (4.3.2) — module

Apply/Remove ACL configuration on VLANs 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 VLANs on AOS-CX devices.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Apply ipv4 ACL to VLANs
  aoscx_acl_vlan:
    acl_name: ipv4_acl
    acl_type: ipv4
    acl_vlan_list:
      - 2
      - 4
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Remove ipv4 ACL from VLANs
  aoscx_acl_vlan:
    acl_name: ipv4_acl
    acl_type: ipv4
    acl_vlan_list:
      - 2
      - 4
    state: delete
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Apply ipv6 ACL to VLANs
  aoscx_acl_vlan:
    acl_name: ipv6_acl
    acl_type: ipv6
    acl_vlan_list:
      - 2
      - 4

Inputs

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

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

acl_type:
    choices:
    - ipv4
    - ipv6
    - mac
    description: Type of ACL being applied or removed from the VLAN.
    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_vlan_list:
    description: List of VLANs for which the ACL is to be applied or removed.
    elements: int
    required: true
    type: list