-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make IPv6 and NAT pool work together
When providing multiple IP addresses on router create or router update, we used to take all of them in consideration for NAT pooling. This prevents user from updating their router with an IPv6 address (as "a router with two addresses is not allowed for NAT pooling") and also will fail when trying to create a NAT pool that contains IPv6 addresses. Now we split all provided addresses in two lists, one per address family. All IPv4 addresses go the regular NAT pooling / no NAT pooling path. For IPv6 we allow zero or one address. Providing more than one IPv6 address will show a nice error message to the user.
- Loading branch information
Showing
3 changed files
with
127 additions
and
13 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