-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix firewall rule management. (#230)
* Fix typo in proposal to remove firewall rules. * Fix signature of remove command being called. * Batch multiple operations so we can at least remove / modify / add multiple rules in one proposal. Before we do the batching, we sort the rules by modification slot then we reverse the order of the rules list, and then we do the batching. This ensures that the modifications happen in an order that will not conflict between each other (what does it mean "add rule in position 3" if rule in position 2 was removed prior to that?).
- Loading branch information
1 parent
ed7142b
commit bdd1208
Showing
3 changed files
with
214 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters