Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Handle empty type in NormalizedNode streaming
[controller.git]
/
opendaylight
/
md-sal
/
sal-clustering-commons
/
src
/
test
/
resources
/
odl-datastore-test.yang
diff --git
a/opendaylight/md-sal/sal-clustering-commons/src/test/resources/odl-datastore-test.yang
b/opendaylight/md-sal/sal-clustering-commons/src/test/resources/odl-datastore-test.yang
index c720d5e0cdcc099026b545357c1edc8edb92de41..294b001a8509c7469c8714e630b9488baff6440e 100644
(file)
--- a/
opendaylight/md-sal/sal-clustering-commons/src/test/resources/odl-datastore-test.yang
+++ b/
opendaylight/md-sal/sal-clustering-commons/src/test/resources/odl-datastore-test.yang
@@
-35,27
+35,67
@@
module odl-datastore-test {
leaf desc {
type string;
}
leaf desc {
type string;
}
+
+ leaf short-leaf {
+ type uint16;
+ }
+
+ leaf biginteger-leaf {
+ type uint64;
+ }
+
+ leaf bigdecimal-leaf {
+ type decimal64 {
+ fraction-digits 2;
+ }
+ }
+
+ leaf boolean-leaf {
+ type boolean;
+ }
+
+ leaf byte-leaf {
+ type uint8;
+ }
+
+ list unkeyed-list {
+ leaf name {
+ type string;
+ }
+ }
+
+ choice outer-choice {
+ case one {
+ leaf one {
+ type string;
+ }
+ }
+ case two-three {
+ leaf two {
+ type string;
+ }
+ leaf three {
+ type string;
+ }
+ }
+ }
+
+ list ordered-list {
+ key ordered-list-leaf;
+ ordered-by user;
+
+ leaf ordered-list-leaf {
+ type string;
+ }
+ }
+
list outer-list {
key id;
leaf id {
type uint16;
}
list outer-list {
key id;
leaf id {
type uint16;
}
- choice outer-choice {
- case one {
- leaf one {
- type string;
- }
- }
- case two-three {
- leaf two {
- type string;
- }
- leaf three {
- type string;
- }
- }
- }
- list inner-list {
+
+ list inner-list {
key name;
leaf name {
type string;
key name;
leaf name {
type string;
@@
-63,6
+103,9
@@
module odl-datastore-test {
leaf value {
type string;
}
leaf value {
type string;
}
+
+ container inner-container {
+ }
}
}
}
}
@@
-115,6
+158,11
@@
module odl-datastore-test {
type binary;
}
type binary;
}
+ anyxml any {
+ }
+ leaf empty-leaf {
+ type empty;
+ }
}
}
}
}