Construct IMDS delegate with proper type 03/76203/4
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 18 Sep 2018 08:35:47 +0000 (10:35 +0200)
committerTom Pantelis <tompantelis@gmail.com>
Wed, 19 Sep 2018 12:29:58 +0000 (12:29 +0000)
commit0425ce4501aec2d8f96d6379baa1116a5350fba2
treefb87c28c8ea6c4800cf5a0b232e0824699ba2dc4
parentd34538fc2e9ba682b52bf830dbb0fad3a103cb83
Construct IMDS delegate with proper type

This patch makes sure we do not ignore the datastore type, but
pass it down to MD-SAL's IMDS.

Since we are converting from controller to mdsal LogicalDatastoreType
in multiple places, centralize this via LogicalDatastoreType.toMdsal().

JIRA: MDSAL-370
Change-Id: I5e027fd439e325ff91344de98511e503fc801992
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/LogicalDatastoreType.java
opendaylight/md-sal/sal-inmemory-datastore/src/main/java/org/opendaylight/controller/md/sal/dom/store/impl/InMemoryDOMDataStore.java

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.