.. _vyos.vyos.vyos_firewall_interfaces_module:
**********************************
vyos.vyos.vyos_firewall_interfaces
**********************************
**FIREWALL interfaces resource module**
Version added: 1.0.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- Manage firewall rules of interfaces on VyOS network devices.
Parameters
----------
.. raw:: html
Parameter |
Choices/Defaults |
Comments |
config
list
/ elements=dictionary
|
|
A list of firewall rules options for interfaces.
|
|
access_rules
list
/ elements=dictionary
|
|
Specifies firewall rules attached to the interfaces.
|
|
|
afi
string
/ required
|
|
Specifies the AFI for the Firewall rules to be configured on this interface.
|
|
|
rules
list
/ elements=dictionary
|
|
Specifies the firewall rules for the provided AFI.
|
|
|
|
direction
string
/ required
|
|
Specifies the direction of packets that the firewall rule will be applied on.
|
|
|
|
name
string
|
|
Specifies the name of the IPv4/IPv6 Firewall rule for the interface.
|
|
name
string
/ required
|
|
Name/Identifier for the interface.
|
running_config
string
|
|
The module, by default, will connect to the remote device and retrieve the current running-config to use as a base for comparing against the contents of source. There are times when it is not desirable to have the task get the current running-config for every task in a playbook. The running_config argument allows the implementer to pass in the configuration to use as the base config for comparison. This value of this option should be the output received from device by executing command C(show configuration commands | grep 'firewall'
|
state
string
|
Choices:
merged ←
- replaced
- overridden
- deleted
- parsed
- rendered
- gathered
|
The state the configuration should be left in.
|