Comment 2 for bug 1401010

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

Reviewed: https://review.opencontrail.org/6020
Committed: http://github.org/Juniper/contrail-controller/commit/0a70be6d79b21e9ad47e41cc2a3ec8fa8b230ad8
Submitter: Zuul
Branch: master

commit 0a70be6d79b21e9ad47e41cc2a3ec8fa8b230ad8
Author: Nischal Sheth <email address hidden>
Date: Tue Dec 30 14:00:46 2014 -0800

Prevent loops when re-originating service chain routes

Implement a new attribute called OriginVnPath to keep track of VNs from
which a given route has been re-originated. The OriginVn of ServiceChain
destination routing instance gets prepended to OriginVnPath when adding
the ServiceChain route. Further, a route is not re-originated if source
routing instance's OriginVn is already in the OriginVnPath.

This prevents route re-origination loops even if VNs are mis-configured
such that multiple VNs have the same route target and there are transit
VNs with mis-configured route targets as well.

Change-Id: Iab76ad4b07a69f71383db8e72531fb31bade04bd
Closes-Bug: 1401010