X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tests%2Fstubmodels%2Fsrc%2Fmain%2Fyang%2Fstubpce.yang;fp=api%2Fsrc%2Fmain%2Fyang%2Fstubpce.yang;h=fb142ae9b7a93d457fd94fe867ee6b47a5c13c92;hb=f635c4d0e4252050154b89d53bd7e658eaf75be8;hp=44ba5ca08474cbdb6e4b9691cb971815d08c97e6;hpb=25f39aab062c7d403a1ff1a698a389e6b64eb8f0;p=transportpce.git diff --git a/api/src/main/yang/stubpce.yang b/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 44ba5ca08..fb142ae9b 100644 --- a/api/src/main/yang/stubpce.yang +++ b/tests/stubmodels/src/main/yang/stubpce.yang @@ -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";