.. _cisco.nxos.nxos_acl_interfaces_module:
******************************
cisco.nxos.nxos_acl_interfaces
******************************
**ACL interfaces resource module**
Version added: 1.0.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- Add and remove Access Control Lists on interfaces in NX-OS platform
Parameters
----------
.. raw:: html
Parameter |
Choices/Defaults |
Comments |
config
list
/ elements=dictionary
|
|
A list of interfaces to be configured with ACLs
|
|
access_groups
list
/ elements=dictionary
|
|
List of address family indicators with ACLs to be configured on the interface
|
|
|
acls
list
/ elements=dictionary
|
|
List of Access Control Lists for the interface
|
|
|
|
direction
string
/ required
|
|
Direction to be applied for the ACL
|
|
|
|
name
string
/ required
|
|
Name of the ACL to be added/removed
|
|
|
|
port
boolean
|
|
Use ACL as port policy.
|
|
|
afi
string
/ required
|
|
Address Family Indicator of the ACLs to be configured
|
|
name
string
/ required
|
|
Name of the interface
|
running_config
string
|
|
This option is used only with state parsed.
The value of this option should be the output received from the NX-OS device by executing the command show running-config | section '^interface'.
The state parsed reads the configuration from running_config option and transforms it into Ansible structured data as per the resource module's argspec and the value is then returned in the parsed key within the result.
|
state
string
|
Choices:
- deleted
- gathered
merged ←
- overridden
- rendered
- replaced
- parsed
|
The state the configuration should be left in
|