Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Updated toaster sample to match new Binding specification of YANG Tools."
[controller.git]
/
opendaylight
/
sal
/
yang-prototype
/
sal
/
samples
/
toaster
/
src
/
main
/
yang
/
toaster.yang
diff --git
a/opendaylight/sal/yang-prototype/sal/samples/toaster/src/main/yang/toaster.yang
b/opendaylight/sal/yang-prototype/sal/samples/toaster/src/main/yang/toaster.yang
index fc9b6656c07e59e59814e0717babdd85f439b19a..15c0ac83edea5e3f0bfd80a4889c859541b23f93 100644
(file)
--- a/
opendaylight/sal/yang-prototype/sal/samples/toaster/src/main/yang/toaster.yang
+++ b/
opendaylight/sal/yang-prototype/sal/samples/toaster/src/main/yang/toaster.yang
@@
-1,4
+1,4
@@
-module toaster {
+
module toaster {
yang-version 1;
yang-version 1;
@@
-23,7
+23,7
@@
module toaster {
identity toast-type {
description
identity toast-type {
description
-
"Base for all bread types supported by the toaster.
+ "Base for all bread types supported by the toaster.
New bread types not listed here nay be added in the
future.";
}
New bread types not listed here nay be added in the
future.";
}
@@
-59,7
+59,9
@@
module toaster {
}
typedef DisplayString {
}
typedef DisplayString {
- type string;
+ type string {
+ length "0 .. 255";
+ }
description
"YANG version of the SMIv2 DisplayString TEXTUAL-CONVENTION.";
reference
description
"YANG version of the SMIv2 DisplayString TEXTUAL-CONVENTION.";
reference