Provide more flexibility in route introspect prefix match

Bug #1663752 reported by Nischal Sheth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.2
Fix Committed
Wishlist
Nischal Sheth
Trunk
Fix Committed
Wishlist
Nischal Sheth

Bug Description

Route introspect allows exact and longer/shorter match for prefixes.
Provide more flexibility by allowing a regex search for prefixes.
This will be particularly helpful for vpn tables and for evpn/ermvpn
tables since one can now match using the RD or MAC address etc.

The specifiex prefix string should be treated as a regex and the
string representation of each route prefix searched against it.

Nischal Sheth (nsheth)
summary: - Provide more flexibility in route introspect
+ Provide more flexibility in route introspect prefix match
Nischal Sheth (nsheth)
description: updated
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/28686
Submitter: Nischal Sheth (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/28686
Committed: http://github.org/Juniper/contrail-controller/commit/5cca03efd678b300c85721940e18a30406a06147
Submitter: Zuul (<email address hidden>)
Branch: master

commit 5cca03efd678b300c85721940e18a30406a06147
Author: Nischal Sheth <email address hidden>
Date: Fri Feb 10 11:04:23 2017 -0800

Allow prefix string in route introspect to be a perl-style regex

The specified prefix string is treated as a regex and the string
representation of each route prefix searched for the regex. Note
that the regex need not match the entire string representation of
a prefix - it only has to match a sub-sequence.

Shorter and longer matches are not supported when using a regex.

Change-Id: Ie6c8db700524b4fd02f3f4ae36c5dd91c0ce4fc0
Closes-Bug: 1663752

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2

Review in progress for https://review.opencontrail.org/28877
Submitter: Nischal Sheth (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/28877
Committed: http://github.org/Juniper/contrail-controller/commit/387c769e7355af2462e27a3c5c02db3dbdc43ffc
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 387c769e7355af2462e27a3c5c02db3dbdc43ffc
Author: Nischal Sheth <email address hidden>
Date: Fri Feb 10 11:04:23 2017 -0800

Allow prefix string in route introspect to be a perl-style regex

The specified prefix string is treated as a regex and the string
representation of each route prefix searched for the regex. Note
that the regex need not match the entire string representation of
a prefix - it only has to match a sub-sequence.

Shorter and longer matches are not supported when using a regex.

Change-Id: Ie6c8db700524b4fd02f3f4ae36c5dd91c0ce4fc0
Closes-Bug: 1663752
(cherry picked from commit 5cca03efd678b300c85721940e18a30406a06147)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.