Servicehandler Tests
[transportpce.git] / tests / stubmodels / src / main / yang / stubpce.yang
similarity index 84%
rename from api/src/main/yang/stubpce.yang
rename to tests/stubmodels/src/main/yang/stubpce.yang
index 44ba5ca08474cbdb6e4b9691cb971815d08c97e6..fb142ae9b7a93d457fd94fe867ee6b47a5c13c92 100644 (file)
@@ -120,6 +120,35 @@ module stubpce {
           }
       }
 
+      container service-path-list {
+          description
+            "List of service paths. Can only be created, deleted, modified, etc. using special RPCs.";
+          list service-paths {
+            key "service-path-name";
+            uses transportpce-common-service-path-types:service-path;
+          }
+        }
+
+        grouping stubpce-path-description {
+            leaf path-name {
+                type string;
+                description
+                  "Identifier for the pathDescription to be created in
+                   the ROADM network, e.g., CLFI, CLCI, etc.";
+                mandatory true;
+              }
+            uses transportpce-pathDescription:path-description;
+        }
+
+        container path-description-list {
+          description
+            "List of pathDescription. Can only be created, deleted, modified, etc. using special RPCs.";
+          list pathDescriptions {
+            key "path-name";
+            uses stubpce-path-description;
+          }
+        }
+
       notification service-path-rpc-result {
         description
           "This Notification indicates result of  service RPC";