Fixed bug in resolving of conditional Revision Aware XPath.
[controller.git] / 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)
@@ -13,8 +13,8 @@ module abstract-topology {
         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 
@@ -57,6 +57,12 @@ module abstract-topology {
             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";