Use LogicalDatastoreType.toMdsal() 23/76523/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 1 Oct 2018 08:39:27 +0000 (10:39 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 1 Oct 2018 08:40:22 +0000 (10:40 +0200)
commit6ecb0be267005d9b5bc74edeee0f253e4d1366ce
tree11a050754884f0366f9f916ff2f70197f7ebc18e
parent86ca62e7f704cb6544695aad7790ebf787855d71
Use LogicalDatastoreType.toMdsal()

Use direct converter method rather than matching through name, which
results in faster mapping.

Change-Id: Ic247ebc5c5704d3eb1953eea4d7f36b1d3d49cb8
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit bc83a3eb1d1bd51865f97bfb4262716fe7841293)
opendaylight/md-sal/sal-dom-compat/src/main/java/org/opendaylight/controller/sal/core/compat/LegacyDOMDataBrokerAdapter.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.