.. _cisco.iosxr.iosxr_acl_interfaces_module:
********************************
cisco.iosxr.iosxr_acl_interfaces
********************************
**Resource module to configure ACL interfaces.**
Version added: 1.0.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- This module manages adding and removing Access Control Lists (ACLs) from interfaces on devices running IOS-XR software.
Parameters
----------
.. raw:: html
| Parameter |
Choices/Defaults |
Comments |
|
config
list
/ elements=dictionary
|
|
A dictionary of ACL options for interfaces.
|
|
access_groups
list
/ elements=dictionary
|
|
Specifies ACLs attached to the interfaces.
|
|
|
acls
list
/ elements=dictionary
|
|
Specifies the ACLs for the provided AFI.
|
|
|
|
direction
string
/ required
|
|
Specifies the direction of packets that the ACL will be applied on.
|
|
|
|
name
string
/ required
|
|
Specifies the name of the IPv4/IPv6 ACL for the interface.
|
|
|
afi
string
/ required
|
|
Specifies the AFI for the ACL(s) to be configured on this interface.
|
|
name
string
/ required
|
|
Name/Identifier for 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 IOS-XR device by executing the command show running-config 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:
merged ←
- replaced
- overridden
- deleted
- gathered
- parsed
- rendered
|
The state the configuration should be left in.
|