-
Notifications
You must be signed in to change notification settings - Fork 390
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Two issues being fixed: 1. When subnet is added, we are adding an entry in kv-store to get the mapping from subnet uuid to key. In neutron backend, we calculate the key by converting prefix/len to IPNetwork and then converting it back to string values. While creating this mapping, we were directly using the supplied prefix and len. The former method could normalize ip v6 prefixes by stripping trailing 0 that may not be required. Fixed to use the same method in both places. 2. If subnet id is available, use it compare whenever possible to avoid the above issue. Change-Id: Icee9fe8e77688427aa2fab415e059f7bdbd35e5d Closes-Bug: 1596763 (cherry picked from commit 390287e)
- Loading branch information
Sachin Bansal
committed
Aug 5, 2016
1 parent
cc448ab
commit 86865e0
Showing
2 changed files
with
6 additions
and
17 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