Page MenuHomeVyOS Platform

Firewall global - groups - Deleting last member not working
In progress, NormalPublicBUG

Description

To reproduce, on a testing VyOS:

delete firewall
set firewall group address-group test address 1.2.3.4
commit

I would expect the following ansible task to result in one of those 2 being run:

  • delete firewall group address-group test address 1.2.3.4
  • delete firewall group address-group test address

(both of those result in the same line remaining in the config: set firewall group address-group test)

- name: clear address group test
   vyos.vyos.vyos_firewall_global:
     config:
       group:
         address_group:
         - name: test
           members: []

Currently, nothing happens.

I've already created the PR: https://github.com/vyos/vyos.vyos/pull/403

Details

Version
6.0.0
Is it a breaking change?
Behavior change
Issue type
Bug (incorrect behavior)

Event Timeline

RubenNL updated the task description. (Show Details)
RubenNL changed the task status from Open to In progress.Thu, Mar 20, 10:39 AM
RubenNL triaged this task as Normal priority.