Populate the Node Cache at the controller start/restart. 02/29202/3
authorAnil Vishnoi <vishnoianil@gmail.com>
Sat, 31 Oct 2015 00:21:08 +0000 (05:51 +0530)
committerAnil Vishnoi <vishnoianil@gmail.com>
Fri, 6 Nov 2015 18:38:59 +0000 (00:08 +0530)
commit65d03caab9aabec82d8b59575fd9b4e6c1670507
treea3d4392b2e5ba9296e69efdf99a1cb26000532bf
parent711e6cdd1da67b9871916a89e52e00080e136ced
Populate the Node Cache at the controller start/restart.

This cache can be removed fully, but if we do that, we need
to make read call to the data store, where we will have to
read the whole topology tree, that can put some load on the
md-sal data store, and it might not be negligible in case of
clustered data store.

Change-Id: Ieeb5ae5ba01839b34aefe7d3916c6bdd0fb14808
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/impl/NodeCacheManagerImpl.java