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/14819 github. org/Juniper/ contrail- controller/ commit/ 8f5fe0525c4cb92 ef50a21ba294d3a 25c1d24d67
Committed: http://
Submitter: Zuul
Branch: R2.20
commit 8f5fe0525c4cb92 ef50a21ba294d3a 25c1d24d67
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