summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/module_utils/network/vyos/config/firewall_global/firewall_global.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/plugins/module_utils/network/vyos/config/firewall_global/firewall_global.py b/plugins/module_utils/network/vyos/config/firewall_global/firewall_global.py
index 08b724a..29da3ec 100644
--- a/plugins/module_utils/network/vyos/config/firewall_global/firewall_global.py
+++ b/plugins/module_utils/network/vyos/config/firewall_global/firewall_global.py
@@ -36,14 +36,9 @@ class Firewall_global(ConfigBase):
The vyos_firewall_global class
"""
- gather_subset = [
- "!all",
- "!min",
- ]
+ gather_subset = ["!all", "!min"]
- gather_network_resources = [
- "firewall_global",
- ]
+ gather_network_resources = ["firewall_global"]
def __init__(self, module):
super(Firewall_global, self).__init__(module)
@@ -349,7 +344,7 @@ class Firewall_global(ConfigBase):
h_grp = h.get("group") or {}
if w:
commands.extend(
- self._render_grp_mem("port-group", w["group"], h_grp, opr)
+ self._render_grp_mem("port_group", w["group"], h_grp, opr)
)
commands.extend(
self._render_grp_mem(