Resolve subnet-id to subnet-key inconsistency from ipam_subnet
On encountering a missing subnet-id to subnet-key mapping in
useragent table, seek to resolve all such entries by walking the
net/ipam/subnet chain from contrail db. Also entire subnet list
shouldn't error out because of any missing subnet id to key mapping.
Change-Id: Ice615358fd01ede373edf882643aa0a6b0eaf2c2
Closes-Bug: #1511864
(cherry picked from commit 7fb6cc22004039b8a402abb715f06bcdcc377aa1)
Reviewed: https:/ /review. opencontrail. org/14820 github. org/Juniper/ contrail- controller/ commit/ bdc48e2568b1241 b87f30f28e44f41 011bd3e484
Committed: http://
Submitter: Zuul
Branch: R2.21.x
commit bdc48e2568b1241 b87f30f28e44f41 011bd3e484
Author: Hampapur Ajay <email address hidden>
Date: Fri Oct 30 14:39:20 2015 -0700
Resolve subnet-id to subnet-key inconsistency from ipam_subnet
On encountering a missing subnet-id to subnet-key mapping in
useragent table, seek to resolve all such entries by walking the
net/ipam/subnet chain from contrail db. Also entire subnet list
shouldn't error out because of any missing subnet id to key mapping.
Change-Id: Ice615358fd01ed e373edf882643aa 0a6b0eaf2c2 8a402abb715f06b cdcc377aa1)
Closes-Bug: #1511864
(cherry picked from commit 7fb6cc22004039b