diff options
author | Shawn Wilsher <656602+sdwilsh@users.noreply.github.com> | 2021-04-29 14:59:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-29 21:59:04 +0000 |
commit | bbfba5ce18f50e3c5284b75df99ba2d8b069c46f (patch) | |
tree | 45de27e7cff4e695f2418152c6b9522b4065bf56 /plugins | |
parent | 27481cb586042ef4ff1c15f8df46493bb84b3980 (diff) | |
download | vyos.vyos-bbfba5ce18f50e3c5284b75df99ba2d8b069c46f.tar.gz vyos.vyos-bbfba5ce18f50e3c5284b75df99ba2d8b069c46f.zip |
[firewall_global] port-groups are not added (#143)
[firewall_global] port-groups are not added
Reviewed-by: https://github.com/apps/ansible-zuul
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/module_utils/network/vyos/config/firewall_global/firewall_global.py | 11 |
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( |