Page MenuHomeVyOS Platform

Replace confusing error messages with clear ones when delete rule form firewall policy
Closed, ResolvedPublic

Description

The configuration:

set firewall name fw_test default-action 'accept'
set firewall name fw_test rule 100 action 'accept'
set interfaces ethernet eth1 firewall in name 'fw_test'

When we try to delete the rule 100

delete firewall name fw_test rule 100
commit

The error message confuses the customer (not clear to the customer)

[ firewall name fw_test ]
Firewall configuration error: Cannot delete rule set "fw_test" (still in use)

[[firewall name fw_test]] failed
Commit failed
[edit]
[edit firewall name fw_test]
-rule 100 {
-    action accept
-}

Details

Difficulty level
Unknown (require assessment)
Version
1.3
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Cosmetic issue (typos etc.)