X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=api%2Fsrc%2Fmain%2Fyang%2Fservice_path%2Ftransportpce-pathDescription%402017-04-26.yang;h=cfab2cb6beeb370966e59e8934c6efb2b611c582;hb=8b7182b4c9206bcde2668e4c8c873c092eb78787;hp=dff1bd49ba6df7175c771f596a358ec0b3e8576b;hpb=62777a1d5b1130c3e77c558d5d99efdc688bed5b;p=transportpce.git diff --git a/api/src/main/yang/service_path/transportpce-pathDescription@2017-04-26.yang b/api/src/main/yang/service_path/transportpce-pathDescription@2017-04-26.yang index dff1bd49b..cfab2cb6b 100644 --- a/api/src/main/yang/service_path/transportpce-pathDescription@2017-04-26.yang +++ b/api/src/main/yang/service_path/transportpce-pathDescription@2017-04-26.yang @@ -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 {