nautobot-app-firewall-models
nautobot-app-firewall-models copied to clipboard
Add M2M pre_change signal to `Policy.policy_rules` & signal for `PolicyRule.index` to enforce uniqueness on index of rules in a single policy
Environment
- Nautobot version: 2.0.0
- nautobot-firewall-models version: Latest
Proposed Functionality
Add signals to prevent duplicate indexes of PolicyRules when assigned to a Policy
Use Case
Create two rules with the same index and apply to a Policy, this is not supported by most (assuming all really) FW vendors.