Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Delay snapshot backed transaction ready error
[controller.git]
/
opendaylight
/
md-sal
/
sal-inmemory-datastore
/
src
/
test
/
resources
/
odl-datastore-test.yang
diff --git
a/opendaylight/md-sal/sal-inmemory-datastore/src/test/resources/odl-datastore-test.yang
b/opendaylight/md-sal/sal-inmemory-datastore/src/test/resources/odl-datastore-test.yang
index 2d7601e0b85a29434385ef36db290d230712abb9..ffc8fe07c88b9adfeaa078e586b996616b7b633b 100644
(file)
--- a/
opendaylight/md-sal/sal-inmemory-datastore/src/test/resources/odl-datastore-test.yang
+++ b/
opendaylight/md-sal/sal-inmemory-datastore/src/test/resources/odl-datastore-test.yang
@@
-41,4
+41,16
@@
module odl-datastore-test {
}
}
}
+
+ container mandatory-data-test {
+ presence "needs to be present when empty";
+
+ leaf optional-data {
+ type string;
+ }
+ leaf mandatory-data {
+ type string;
+ mandatory true;
+ }
+ }
}