Comment 3 for bug 1563734

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/18877
Committed: http://github.org/Juniper/contrail-vrouter/commit/ff52886c9b7e3939c7580c33480cbd8558167fe2
Submitter: Zuul
Branch: R2.21.x

commit ff52886c9b7e3939c7580c33480cbd8558167fe2
Author: Anand H. Krishnan <email address hidden>
Date: Wed Mar 30 14:23:14 2016 +0530

Update the less specific route node with requested values

It has been observed that if the less specific route is deleted first
and then all the more specific routes, the less specific route doesn't
go away. For e.g.: if 1.1.1.0/24 is deleted first and later 1.1.1.1/32
in a table where there are no other routes, 1.1.1.0/24 remains in the
table.

When we delete a non leaf node, if it is a bucket we do not update the
prefix length, flags and label values. If these values do not match with
those of other nodes in the same bucket, then the bucket will remain
forever. Hence, update the node with the values in the request before
traversing the tree down.

Change-Id: I71778a83093a04c462b40e6c7e05b1d993f3373e
Closes-BUG: #1563734