Fix network-topology yang files xpath syntax. 87/4487/1
authorTomas Olvecky <tolvecky@cisco.com>
Tue, 21 Jan 2014 09:17:32 +0000 (10:17 +0100)
committerTomas Olvecky <tolvecky@cisco.com>
Tue, 21 Jan 2014 09:17:32 +0000 (10:17 +0100)
Add braces to XPath in order for yuma to parse configuration.

Change-Id: I6919a10ad4436a154975fdd2c3c9e1a6bf7f0e54
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
model/ietf/ietf-topology/src/main/yang/network-topology@2013-07-12.yang
model/ietf/ietf-topology/src/main/yang/network-topology@2013-10-21.yang

index 833b9fd205552be0baa8cfb36e4c14f907b79870..b87035c1e659f65595f955c451da641b8fed3f6c 100644 (file)
@@ -299,7 +299,7 @@ module network-topology  {
                 ";
                 key "link-id";
                 uses link-attributes;
-                must "boolean(../underlay-topology/link[./supporting-link]";
+                must "boolean(../underlay-topology/link[./supporting-link])";
                     // Constraint: any supporting link must be part of an underlay topology
                 must "boolean(../node[./source/source-node])";
                     // Constraint: A link must have as source a node of the same topology
index 19d9b85273ea50e676244acc160cb9e61bdbe386..c11433446561f738641c037db4333cb0288c65be 100644 (file)
@@ -317,7 +317,7 @@ module network-topology  {
                 ";
                 key "link-id";
                 uses link-attributes;
-                must "boolean(../underlay-topology/link[./supporting-link]";
+                must "boolean(../underlay-topology/link[./supporting-link])";
                     // Constraint: any supporting link must be part of an underlay topology
                 must "boolean(../node[./source/source-node])";
                     // Constraint: A link must have as source a node of the same topology