summaryrefslogtreecommitdiff
path: root/plugins/modules/vyos_firewall_rules.py
diff options
context:
space:
mode:
authorGomathiselviS <gomathiselvi@gmail.com>2022-02-22 16:30:07 -0500
committerGitHub <noreply@github.com>2022-02-22 21:30:07 +0000
commitd3c91d0ee00c187a5623a6b66f9fedad800ff3d0 (patch)
tree2aaa943628f94b4133abc23f574931a9db0a8127 /plugins/modules/vyos_firewall_rules.py
parent4662d6d03742ecc2fd09c530cf4b70217975e5bb (diff)
downloadvyos-ansible-collection-d3c91d0ee00c187a5623a6b66f9fedad800ff3d0.tar.gz
vyos-ansible-collection-d3c91d0ee00c187a5623a6b66f9fedad800ff3d0.zip
vyos_firewall_rules: Add support for log enable on individual rules (#238)
vyos_firewall_rules: Add support for log enable on individual rules SUMMARY ISSUE TYPE Feature Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Rohit Thakur <rohitthakur2590@outlook.com> Reviewed-by: None <None>
Diffstat (limited to 'plugins/modules/vyos_firewall_rules.py')
-rw-r--r--plugins/modules/vyos_firewall_rules.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/modules/vyos_firewall_rules.py b/plugins/modules/vyos_firewall_rules.py
index b6ed81b..6df6892 100644
--- a/plugins/modules/vyos_firewall_rules.py
+++ b/plugins/modules/vyos_firewall_rules.py
@@ -220,6 +220,13 @@ options:
choices:
- match-ipsec
- match-none
+ log:
+ description:
+ - Option to log packets matching rule
+ type: str
+ choices:
+ - disable
+ - enable
limit:
description:
- Rate limit using a token bucket filter.