Extend the Peer class to specify if a validity check for peer
is needed whenver it is enqueued as a key paramater for DB request.
Currently BGP peer derived class falls into this category.
Any agent route data enqueued with BGP peer in key will have to
implement validity check.
Also remove NULL peer usages in agent key from test cases.
Reviewed: https:/ /review. opencontrail. org/12660 github. org/Juniper/ contrail- controller/ commit/ da0ff12426969f9 7d74ba25f5bf59b e9a58ef2d3
Committed: http://
Submitter: Zuul
Branch: R2.20
commit da0ff12426969f9 7d74ba25f5bf59b e9a58ef2d3
Author: Manish <email address hidden>
Date: Mon Jun 29 09:27:47 2015 +0530
Force peer validity check for BGP peer.
Extend the Peer class to specify if a validity check for peer
is needed whenver it is enqueued as a key paramater for DB request.
Currently BGP peer derived class falls into this category.
Any agent route data enqueued with BGP peer in key will have to
implement validity check.
Also remove NULL peer usages in agent key from test cases.
Closes-bug: 1466739
Conflicts: agent/test- xml/test_ xml_oper. cc
src/vnsw/
Conflicts: agent/pkt/ test/test_ pkt_flowv6. cc agent/pkt/ test/test_ sg_flowv6. cc agent/test/ SConscript
src/vnsw/
src/vnsw/
src/vnsw/
Conflicts: agent/test/ SConscript
src/vnsw/
Change-Id: Ifdb7af038e3bc9 cf9be7d91b2aa7a 7544746b6a9