From: Tony Tkacik Date: Wed, 22 Jan 2014 10:22:53 +0000 (+0100) Subject: Default DataBroker does not read subtrees from Mountpoint X-Git-Tag: jenkins-controller-bulk-release-prepare-only-2-1~24^2 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=refs%2Fchanges%2F61%2F4561%2F1;hp=d5249b67ad169d56e78c03df88cce9f1da5ef353 Default DataBroker does not read subtrees from Mountpoint Changed default behaviour of DataBroker, which involved also read from remote Netconf nodes to return only data from local store. To access Netconf device as a datastore one must get MountInstance for it - MD-SAL instance exclusive for that device. Change-Id: I5e900b3964475e95a5436746c1d47c3b68b712db Signed-off-by: Tony Tkacik --- diff --git a/opendaylight/md-sal/sal-dom-broker/src/main/java/org/opendaylight/controller/sal/dom/broker/MountPointManagerImpl.xtend b/opendaylight/md-sal/sal-dom-broker/src/main/java/org/opendaylight/controller/sal/dom/broker/MountPointManagerImpl.xtend index 5d441bddbd..c3bc88ed5e 100644 --- a/opendaylight/md-sal/sal-dom-broker/src/main/java/org/opendaylight/controller/sal/dom/broker/MountPointManagerImpl.xtend +++ b/opendaylight/md-sal/sal-dom-broker/src/main/java/org/opendaylight/controller/sal/dom/broker/MountPointManagerImpl.xtend @@ -35,8 +35,8 @@ class MountPointManagerImpl implements MountProvisionService { } def registerMountPoint(MountPointImpl impl) { - dataBroker?.registerConfigurationReader(impl.mountPath,impl.readWrapper); - dataBroker?.registerOperationalReader(impl.mountPath,impl.readWrapper); + //dataBroker?.registerConfigurationReader(impl.mountPath,impl.readWrapper); + //dataBroker?.registerOperationalReader(impl.mountPath,impl.readWrapper); }