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 "Added uses to extends list. Groupings in YANG are used through key word uses...
[controller.git]
/
opendaylight
/
sal
/
yang-prototype
/
code-generator
/
binding-generator-impl
/
src
/
test
/
resources
/
leafref-test-models
/
abstract-topology@2013-02-08.yang
diff --git
a/opendaylight/sal/yang-prototype/code-generator/binding-generator-impl/src/test/resources/leafref-test-models/abstract-topology@2013-02-08.yang
b/opendaylight/sal/yang-prototype/code-generator/binding-generator-impl/src/test/resources/leafref-test-models/abstract-topology@2013-02-08.yang
index 7ed1f9950383076e01dd7eda51e468ba2e7d1798..be3119255e762da399de9cc5a67c1c356b3a54b0 100644
(file)
--- a/
opendaylight/sal/yang-prototype/code-generator/binding-generator-impl/src/test/resources/leafref-test-models/abstract-topology@2013-02-08.yang
+++ b/
opendaylight/sal/yang-prototype/code-generator/binding-generator-impl/src/test/resources/leafref-test-models/abstract-topology@2013-02-08.yang
@@
-13,8
+13,8
@@
module abstract-topology {
revision-date 2012-11-15;
}
revision-date 2012-11-15;
}
- organization "
Cisco
";
- contact "
WILL-BE-DEFINED-LATER
";
+ organization "
OPEN DAYLIGHT
";
+ contact "
http://www.opendaylight.org/
";
description
"This module contains the definitions of elements that creates network
description
"This module contains the definitions of elements that creates network
@@
-57,6
+57,12
@@
module abstract-topology {
UNIQUE topology identifier.";
}
UNIQUE topology identifier.";
}
+ leaf cond-leafref {
+ type leafref {
+ path "/tp:topology/tp:network-nodes/tp:network-node[node-id = 'super-node']";
+ }
+ }
+
container network-nodes {
list network-node {
key "node-id";
container network-nodes {
list network-node {
key "node-id";