Fixed some major sonar issues in yang-validation-tool
[yangtools.git] / model / ietf / ietf-topology / src / main / yang / network-topology@2013-10-21.yang
index c11433446561f738641c037db4333cb0288c65be..a5103aa2a31efe6d05e04b39256aede8540688c6 100644 (file)
@@ -165,7 +165,12 @@ module network-topology  {
                 to provide room for augmentations, e.g. for
                 statistics or priorization information associated with
                 supporting nodes.";
-            key "node-ref";
+            // This is not what was published in the initial draft,
+            // added topology-ref leaf and added it to the key
+            key "topology-ref node-ref";
+            leaf topology-ref {
+                type topology-ref;
+            }
             leaf node-ref {
                 type node-ref;
             }