Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Added support for union yang types to netconf.
[controller.git]
/
opendaylight
/
config
/
yang-test
/
src
/
main
/
yang
/
config-test-impl.yang
diff --git
a/opendaylight/config/yang-test/src/main/yang/config-test-impl.yang
b/opendaylight/config/yang-test/src/main/yang/config-test-impl.yang
index 9ad7a44915b15bdfbce7a64cbdaf2eb02f8bba14..f7cea0a52abbb0b46edb5b431d140dc4482fe76d 100644
(file)
--- a/
opendaylight/config/yang-test/src/main/yang/config-test-impl.yang
+++ b/
opendaylight/config/yang-test/src/main/yang/config-test-impl.yang
@@
-61,10
+61,6
@@
module config-test-impl {
default 127.0.0.1;
}
default 127.0.0.1;
}
- leaf ip {
- type inet:ip-address;
- // TODO defaults for union default 0:0:0:0:0:0:0:1;
- }
}
leaf as-number {
}
leaf as-number {
@@
-136,6
+132,16
@@
module config-test-impl {
default ONE;
}
default ONE;
}
+ leaf ip {
+ type inet:ip-address;
+ default 0:0:0:0:0:0:0:1;
+ }
+
+ leaf union-test-attr {
+ type tt:unionTest;
+ default 456;
+ }
+
leaf sleep-factor {
type decimal64 {
fraction-digits 2;
leaf sleep-factor {
type decimal64 {
fraction-digits 2;