diff options
author | 2016-03-29 13:37:36 +0200 | |
---|---|---|
committer | 2016-03-31 16:14:27 +0200 | |
commit | 199494d2912ef7809d09f5f3131ff7f55e98f922 (patch) | |
tree | 245f78b4cbb703003b3694582433f0f875aee351 /v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/data/ReadableVppDataTree.java | |
parent | 9f63f7e528d7845c39c69e6b900fa80bbf4e0a17 (diff) |
VPP API <-> YANG translation layer integration
Prototype that uses Readers API for non-list nodes.
Change-Id: I482dcfe09d094456b014e55edbc38ce6e98afcc3
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Diffstat (limited to 'v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/data/ReadableVppDataTree.java')
-rw-r--r-- | v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/data/ReadableVppDataTree.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/data/ReadableVppDataTree.java b/v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/data/ReadableVppDataTree.java index 18e854a81..19248ddf0 100644 --- a/v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/data/ReadableVppDataTree.java +++ b/v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/data/ReadableVppDataTree.java @@ -19,6 +19,7 @@ package io.fd.honeycomb.v3po.impl.data; import com.google.common.annotations.Beta; import com.google.common.base.Optional; import com.google.common.util.concurrent.CheckedFuture; +import javax.annotation.Nonnull; import org.opendaylight.controller.md.sal.common.api.data.ReadFailedException; import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier; import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode; @@ -34,5 +35,5 @@ public interface ReadableVppDataTree { * @param path Path of the node * @return a CheckFuture containing the result of the read. */ - CheckedFuture<Optional<NormalizedNode<?, ?>>, ReadFailedException> read(YangInstanceIdentifier path); + CheckedFuture<Optional<NormalizedNode<?, ?>>, ReadFailedException> read(@Nonnull final YangInstanceIdentifier path); } |