Bug #14095
openRemoving an interface group does not remove rules for the interface group
0%
Description
If an Alias was used in a rule on an Interface Group, after removing the interface group, you won't be able to delete that alias.
Steps to reproduce:
1.) Define an Alias "Test" and add some records.
2.) Define Interface Group using two interfaces.
3.) Define a rule using the Alias "Test" as the destination on the Interface Group interface.
4.) Remove the Interface Group.
5.) Try to delete the interface Alias and you'll get error message "Cannot delete alias. Currently in use by filter rule id 3."
Related issues
Updated by Jim Pingle almost 2 years ago
- Subject changed from Can't remove Alias to Removing an interface group does not remove rules for the interface group
- Category changed from Aliases / Tables to Interfaces
This isn't an alias problem, the alias code is doing what it should and preventing you from removing an item that's in use in rules.
The problem here is that when removing an interface group, the rules referencing that group are not removed and they are left orphaned in the configuration with no way to remove them.
Updated by Jim Pingle over 1 year ago
- Related to Feature #14144: Improve support for renaming interface groups added