When deleting a rule from a ruleset, get errors that the ruleset is still in use. Delete logic is pooched.
Version: VyOS 999.201609170235
vyos@vyos# compare
[edit firewall ipv6-name wan_in-6]
-rule 1 {
- action accept
- state {
- established enable
- related enable
- }
-}
-rule 2 {
- action drop
- log enable
- state {
- invalid enable
- }
-}
[edit firewall ipv6-name wan_local-6]
-rule 1 {
- action accept
- state {
- established enable
- related enable
- }
-}
-rule 2 {
- action drop
- log enable
- state {
- invalid enable
- }
-}
[edit firewall name wan_in-4]
-rule 1 {
- action accept
- state {
- established enable
- related enable
- }
-}
-rule 2 {
- action drop
- log enable
- state {
- invalid enable
- }
-}
[edit firewall name wan_local-4]
-rule 1 {
- action accept
- state {
- established enable
- related enable
- }
-}
-rule 2 {
- action drop
- log enable
- state {
- invalid enable
- }
-}
[edit]
vyos@vyos# commit
[ firewall ipv6-name wan_in-6 ]
Firewall configuration error: Cannot delete rule set "wan_in-6" (still in use)
[[firewall ipv6-name wan_in-6]] failed
[ firewall name wan_local-4 ]
Firewall configuration error: Cannot delete rule set "wan_local-4" (still in use)
[[firewall name wan_local-4]] failed
[ firewall name wan_in-4 ]
Firewall configuration error: Cannot delete rule set "wan_in-4" (still in use)
[[firewall name wan_in-4]] failed
[ firewall ipv6-name wan_local-6 ]
Firewall configuration error: Cannot delete rule set "wan_local-6" (still in use)
[[firewall ipv6-name wan_local-6]] failed
Commit failed