{"push_id":764176128,"size":1,"distinct_size":1,"ref":"refs/heads/r2.20_rtgt","head":"09ec6dde4e03ce7501c9d768aa4569320467e1c8","before":"f5179185b426609e7334db93706c25563e0b8248","commits":[{"sha":"09ec6dde4e03ce7501c9d768aa4569320467e1c8","author":{"email":"b71eefaa7334a4d7a52c1e1f1b86714cc1b1c740@juniper.net","name":"Nischal Sheth"},"message":"Support pagination of output for rtarget group introspect\n\nLimit the maximum number of entries displayed on a single page.\nA next_batch link is generated if there are more entries to be\ndisplayed.\n\nAlso limit maximum number of entries examined in one invocation of\nthe callback routine.  This comes into play when there is a search\nstring specified and many entries don't match it.  A partial page\nis saved in user-allocated data and the next invocation of callback\nappends to it.  This is repeated till there's a full page or there\nare no more entries in the table.\n\nFollowing changes are implemented:\n\n- Move introspect commands to bgp_peer.sandesh\n- Move code from rtarget_group_mgr.cc to bgp_show_rtarget_group.cc\n- Use class template BgpShowHandler to avoid code duplication\n- Implement iteration limit to avoid hogging CPU from introspect\n- Make some typedefs in RTargetGroupMgr private\n- Add unit tests to cover combinations of page and iteration limits\n\nChange-Id: I526b983b03024d248f5220d4692b0ef5880dcb9a\nCloses-Bug: 1485726","distinct":true,"url":"https://api.github.com/repos/nischalsheth/contrail-controller/commits/09ec6dde4e03ce7501c9d768aa4569320467e1c8"}]}