Add unit test to test BgpPath::GetFlagsStringList

Bug #1763833 reported by Ananth Suryanarayana
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Fix Committed
Undecided
Ananth Suryanarayana
Trunk
Fix Committed
Undecided
Ananth Suryanarayana

Bug Description

BgpPath::GetFlagsStringList() returns a list of strings, one for each of the path flags bit set. This code is not currently tested by the BGP unit tests. It is a simple enough code which can be readily tested using unit test, and also gives better code coverage.

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

Review in progress for https://review.opencontrail.org/41901
Submitter: Ananth Suryanarayana (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/41902
Submitter: Ananth Suryanarayana (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/41901
Committed: http://github.com/Juniper/contrail-controller/commit/082259433f6e514f4c1364f6eb7c37adee4b3bf2
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 082259433f6e514f4c1364f6eb7c37adee4b3bf2
Author: Ananth Suryanarayana <email address hidden>
Date: Fri Apr 13 13:24:39 2018 -0700

Add unit test to test BgpPath::GetFlagsStringList()

Add specific unit test to test BgpPath::GetFlagsStringList() with various
path flags set. Also add a test to test BgpPath::GetSourceString() with
all PathSource possible values

Change-Id: Id00413a778c8883bf94ead7c1045564b8c59c7cb
Closes-Bug: 1763833

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

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

commit 80f23fb1424adcf20505ff458c5bc3fbf386390f
Author: Ananth Suryanarayana <email address hidden>
Date: Fri Apr 13 13:24:39 2018 -0700

Add unit test to test BgpPath::GetFlagsStringList()

Add specific unit test to test BgpPath::GetFlagsStringList() with various
path flags set. Also add a test to test BgpPath::GetSourceString() with
all PathSource possible values

Change-Id: Id00413a778c8883bf94ead7c1045564b8c59c7cb
Closes-Bug: 1763833

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.