Pathdescription Update
[transportpce.git] / api / src / main / yang / service_path / transportpce-pathDescription@2017-04-26.yang
index dff1bd49ba6df7175c771f596a358ec0b3e8576b..cfab2cb6beeb370966e59e8934c6efb2b611c582 100644 (file)
@@ -50,35 +50,41 @@ module transportpce-pathDescription {
   }
 
   grouping PCE-resource {
-    description
-      "This resource identifier is intended to provide a generic identifer
-       for any resource that can be used without specific knowledge of
-       the resource.";
-    container resource {
-      choice resource {
-        case termination-point {
-          leaf tp-id {
-              type string; //to be clarified with topology model
-          }
-          leaf tp-node-id {
-              type string; //to be clarified with topology model
+      description
+        "This resource identifier is intended to provide a generic identifer
+         for any resource that can be used without specific knowledge of
+         the resource.";
+      container resource {
+        choice resource {
+          case termination-point {
+            container termination-point-identifier {
+              leaf tp-id {
+                  type string; //to be clarified with topology model
+              }
+              leaf node-id {
+                  type string; //to be clarified with topology model
+              }
+            }
           }
-        }
 
-        case link {
-          leaf link-id {
-              type string; //to be clarified with topology model
+          case link {
+            container link-identifier {
+              leaf link-id {
+                  type string; //to be clarified with topology model
+              }
+            }
           }
-        }
 
-        case node {
-          leaf node-id {
-              type string; // to be clarified with topology model
+          case node {
+            container node-identifier {
+              leaf node-id {
+                  type string; // to be clarified with topology model
+              }
+            }
           }
         }
       }
     }
-  }
 
 
   grouping path-description {