X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=api%2Fsrc%2Fmain%2Fyang%2Fnbi-notifications%402023-07-26.yang;fp=api%2Fsrc%2Fmain%2Fyang%2Fnbi-notifications%402021-10-13.yang;h=666d3230a6e453e380ee75e6bcdf1ce17593700a;hb=3ae50f0401e91cedb628f82eb77b1431298f0387;hp=e55b7816b9135a512fda8c58fd4903bf9417ec44;hpb=56223c03a140212dee251d41417a2d6c51ec2247;p=transportpce.git diff --git a/api/src/main/yang/nbi-notifications@2021-10-13.yang b/api/src/main/yang/nbi-notifications@2023-07-26.yang similarity index 89% rename from api/src/main/yang/nbi-notifications@2021-10-13.yang rename to api/src/main/yang/nbi-notifications@2023-07-26.yang index e55b7816b..666d3230a 100644 --- a/api/src/main/yang/nbi-notifications@2021-10-13.yang +++ b/api/src/main/yang/nbi-notifications@2023-07-26.yang @@ -12,6 +12,9 @@ module nbi-notifications { import org-openroadm-common-state-types { prefix org-openroadm-common-state-types; } + import org-openroadm-resource { + prefix org-openroadm-resource; + } import tapi-common { prefix tapi-common; revision-date 2018-12-10; @@ -34,6 +37,11 @@ module nbi-notifications { "Implement new models, RPC for TAPI service notification"; } + revision 2023-07-26 { + description + "Adding service-rpc-result data details to the publish-notification-process-service"; + } + revision 2021-08-13 { description "Rename the groupings, containers and RPCs"; @@ -90,8 +98,29 @@ module nbi-notifications { description "Operational State: Actual state of service"; } + leaf is-temp-service { + type boolean; + default "false"; + description + "Used to indicate if the it is a temp-service or not"; + } + container aToZ { + when "../is-temp-service = 'true'" { + description + "a-to-z is only used for temp-service-cerate"; + } + uses org-openroadm-resource:common-och-otsi-attributes; + uses org-openroadm-resource:path-computation-outputs; + } + container zToA { + when "../is-temp-service = 'true'" { + description + "a-to-z is only used for temp-service-cerate"; + } + uses org-openroadm-resource:common-och-otsi-attributes; + uses org-openroadm-resource:path-computation-outputs; + } } - grouping notification-alarm-service { leaf message { type string;