Improve search capability of ConfigDBUUIDToFQName introspect

Bug #1708318 reported by Nischal Sheth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.0
Fix Committed
Wishlist
Pramodh D'Souza
Trunk
Fix Committed
Wishlist
Pramodh D'Souza

Bug Description

The introspect command should accept a regex as a search string and show
any rows whose uuid, obj_type or fq_name fields match the search string
when searched using boost::regex_search().

Further, the uuid field in the output should be made clickable. Clicking a
uuid should call the ConfigDBUUIDCacheReq introspect with that uuid as the
input.

Nischal Sheth (nsheth)
description: updated
description: updated
description: updated
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/34855
Submitter: Pramodh D'Souza (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/34964
Submitter: Pramodh D'Souza (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/34964
Committed: http://github.com/Juniper/contrail-controller/commit/06d274431ef2577fb1c0464fd48da8e8832c01e1
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 06d274431ef2577fb1c0464fd48da8e8832c01e1
Author: Pramodh D'Souza <email address hidden>
Date: Sat Aug 26 17:29:32 2017 -0700

Implements regex search for ifmap fqname/objcache

-Replaced specific search by regex search for the FQNameCache and
ObjectCache introspect commands.
-Made FQNameCache and UUIDObjectCache searchable on
uuid, object type and FQ name.
-Added last read tiemstamp, read retry timer created/running state,
and retry count, fq name to the ObjectCache
- Fixed FQName Introspect Task instance - cassandra::reader
- Changed task name for IFMap introspect SendStage to be more readable
= Added FQName and Obj type to the UUIDObjectCache
Partial-Bug: 1708318

Change-Id: I4941d8d74ee5a4a3f2e36d037a44026de7c9e03b

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

Review in progress for https://review.opencontrail.org/35104
Submitter: Pramodh D'Souza (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/35212
Submitter: Pramodh D'Souza (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/35104
Committed: http://github.com/Juniper/contrail-controller/commit/8edf81ab9bea22642fa73b86cc8bd5c41b44bc85
Submitter: Zuul (<email address hidden>)
Branch: master

commit 8edf81ab9bea22642fa73b86cc8bd5c41b44bc85
Author: Pramodh D'Souza <email address hidden>
Date: Sat Aug 26 17:29:32 2017 -0700

Implements regex search for ifmap fqname/objcache

-Replaced specific search by regex search for the FQNameCache and
ObjectCache introspect commands.
-Made FQNameCache and UUIDObjectCache searchable on
uuid, object type and FQ name.
-Added last read tiemstamp, read retry timer created/running state,
and retry count, fq name to the ObjectCache
- Fixed FQName Introspect Task instance - cassandra::reader
- Changed task name for IFMap introspect SendStage to be more readable
= Added FQName and Obj type to the UUIDObjectCache
Partial-Bug: 1708318
Change-Id: I4941d8d74ee5a4a3f2e36d037a44026de7c9e03b

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

Review in progress for https://review.opencontrail.org/35212
Submitter: Pramodh D'Souza (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/35212
Committed: http://github.com/Juniper/contrail-controller/commit/a1f90f470278087b8a2f93721b169f07379dfeb1
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit a1f90f470278087b8a2f93721b169f07379dfeb1
Author: Pramodh D'Souza <email address hidden>
Date: Fri Sep 1 16:34:44 2017 -0700

Traces to detect Cassandra Read inconsistencies

- Added Trace (oper, obj_type, uuid) for the scenario when
the FQNameCache entry is missing on receiving an UPDATE from Rabbit.
- Added Trace (oper, obj_type, uuid) for RabbitMQ messages.
- Display FQ Name and Object Type in Object Cache Show
- Fixed Testdata files to have proper FQName format for UPDATE messages
Closes-Bug: 1708318
Change-Id: I72f631d6e03768d7b3b5ba074104d51a6db3e22c

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

Review in progress for https://review.opencontrail.org/35334
Submitter: Pramodh D'Souza (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/35334
Committed: http://github.com/Juniper/contrail-controller/commit/8e3708d1d8ae417128e38f5c649f602fc2d6dfbd
Submitter: Zuul (<email address hidden>)
Branch: master

commit 8e3708d1d8ae417128e38f5c649f602fc2d6dfbd
Author: Pramodh D'Souza <email address hidden>
Date: Fri Sep 1 16:34:44 2017 -0700

Traces to detect Cassandra Read inconsistencies

- Added Trace (oper, obj_type, uuid) for the scenario when
the FQNameCache entry is missing on receiving an UPDATE from Rabbit.
- Added Trace (oper, obj_type, uuid) for RabbitMQ messages.
- Display FQ Name and Object Type in Object Cache Show
- Fixed Testdata files to have proper FQName format for UPDATE messages
Closes-Bug: 1708318
Change-Id: I72f631d6e03768d7b3b5ba074104d51a6db3e22c

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

Review in progress for https://review.opencontrail.org/35662
Submitter: Pramodh D'Souza (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/35662
Committed: http://github.com/Juniper/contrail-controller/commit/8718e7eddbde1e89d560e07bd12f7e01ff1214bc
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 8718e7eddbde1e89d560e07bd12f7e01ff1214bc
Author: Pramodh D'Souza <email address hidden>
Date: Tue Sep 12 16:56:41 2017 -0700

Debug/trace for config client mgr state machine

-Separate trace bug for rabbit messages
-Added Config Client Mgr State Machine trace
-Fixed object Cache introspect issue
-Cleaned up unused trace buffers/debugs
Closes-Bug: 1708318
Change-Id: Ie742318fa9adff71b58442551b7e3acbe9721821

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

Review in progress for https://review.opencontrail.org/35797
Submitter: Pramodh D'Souza (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/35797
Committed: http://github.com/Juniper/contrail-controller/commit/43d3f35011703418493cf5d89a983c9f695ff315
Submitter: Zuul (<email address hidden>)
Branch: master

commit 43d3f35011703418493cf5d89a983c9f695ff315
Author: Pramodh D'Souza <email address hidden>
Date: Tue Sep 12 16:56:41 2017 -0700

Debug/trace for config client mgr state machine

-Separate trace bug for rabbit messages
-Added Config Client Mgr State Machine trace
-Fixed object Cache introspect issue
-Cleaned up unused trace buffers/debugs
Closes-Bug: 1708318
Change-Id: Ie742318fa9adff71b58442551b7e3acbe9721821

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.