Comment 18 for bug 1756498

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

Reviewed: https://review.opencontrail.org/41443
Committed: http://github.com/Juniper/contrail-controller/commit/281da93893e7442958a77e0863c6ecad0a482ab9
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0

commit 281da93893e7442958a77e0863c6ecad0a482ab9
Author: Nikhil Bansal <email address hidden>
Date: Mon Apr 2 08:05:11 2018 +0530

Policy match was not matching subprotocol correctly

If matching protocol is subprotocol, then match function should compare
it with corresponding value in attributes. Otherwise, match with path
protocol as it was done earlier.
Also need to retain subprotocol value in re-originated routes since
there can be a use case to match on subprotocol for reoriginated
routes. Will have to modify spec accordingly.

Change-Id: Idbbf3e216dfa6cf2fd0e298a451125750613ab83
Closes-Bug: #1756498
(cherry picked from commit 025cd84e5807197f80225315108948c9c89afbe3)