Comment 1 for bug 1416808

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

Reviewed: https://review.opencontrail.org/6864
Committed: http://github.org/Juniper/contrail-controller/commit/84347759dde36c758f37f4d12a7540de97786dbd
Submitter: Zuul
Branch: R2.1

commit 84347759dde36c758f37f4d12a7540de97786dbd
Author: manishsingh <email address hidden>
Date: Sun Feb 1 13:31:20 2015 +0530

Problem: TOR path not deleted on VRF delete.
When VRF is deleted in TSN mode, notification is received for physical_device_vn
entry.This entry contain vn_entry which can in turn can be used to extract VRF.
Multicast handler on adding the entry puts a state where it adds the VRF
entry name so that it can be used at the time of deletion because when VRF is
deleted vn_entry from physical_device_vn may not contain any VRF.
Issue was that search for multicast object was being done using vrf from VN
at time of delete. This should be done using the vrf_name stored in state.
Fixed the same here. Along with this fix also added a check to verify VRF is
in deleted state when IsTorDeleted being calculated.
Closes-bug: #1416808

Change-Id: Ica526b736a07723db40c6bb31a2f91f756cb1373