Populate the Node Cache at the controller start/restart.
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)
commit1ed3a5decf04a9ec2f185fb6f699e01b513f2a9a
treefed24cade834055a57fe6687f12b755555918b32
parent746e3671ccc3f06d7babfb15ba39ec01ad589502
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