BGPCEP-709: Operational OpenConfig BGP RIB output is not seen for all controllers in the 3 node cluster
- StateProviderImpl uses clustering singleton service to run only 1 instance in cluster.
Problem is that if BGP speaker needs to be kept separate across the cluster nodes
e.g. for scalability issues (creating separate shard for bgp rib and openconfig module and
disabling replication for them), since the singleton service name is same across
the nodes, only 1 instance of the service runs and so operational data is available
only on that node.
- This PR changes this to run operational data collection/update service on all nodes,
but perform the activity only for rib and peer that are active on that node.
- Updated unit-tests.
Change-Id: I7284b249b8ec68b4c6905a92bbb221816d196cae
Signed-off-by: Ajay Lele <ajayslele@gmail.com>