BUG-8205: use updated DatastoreContext 56/54956/3
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 12 Apr 2017 10:15:30 +0000 (12:15 +0200)
committerTom Pantelis <tompantelis@gmail.com>
Fri, 14 Apr 2017 18:02:22 +0000 (18:02 +0000)
commit7201828ab41735c6470f927d1e7c9f6248a4b039
tree965419972cb11f7e7a49770ec48b19816a7b7569
parent5d1d9d13b5372cbb8148a47f2ccbb93067a13ce8
BUG-8205: use updated DatastoreContext

DatastoreContext is updated by the config admin overlay, which means
we cannot refer to the initial one passed in when we are deciding
which data store to instantiate.

This fixes up the protocol propagation and adds and initial info about
which protocol is in use.

Change-Id: I3c2f1a5eec1c7346fff3aca2d85609f47990723a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit e325f9ec2d3fc6b059823d88658596be544a1828)
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DistributedDataStoreFactory.java