X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=api%2Fsrc%2Fmain%2Fyang%2Fnbi-notifications%402023-07-28.yang;h=b4bf64fa7a3260bee270969741b76899070882a4;hb=942384f299eecdf5163014ff7930b12ce26a2ca3;hp=8f5c6a2bde95b74f893e59650f6af13325142c90;hpb=2f5d0456526325091bdef21785cd9db32e6bab0c;p=transportpce.git diff --git a/api/src/main/yang/nbi-notifications@2023-07-28.yang b/api/src/main/yang/nbi-notifications@2023-07-28.yang index 8f5c6a2bd..b4bf64fa7 100644 --- a/api/src/main/yang/nbi-notifications@2023-07-28.yang +++ b/api/src/main/yang/nbi-notifications@2023-07-28.yang @@ -23,6 +23,10 @@ module nbi-notifications { prefix tapi-notification; revision-date 2022-11-21; } + import tapi-fm { + prefix tapi-fm; + revision-date 2022-11-21; + } organization "transportPCE"; @@ -157,6 +161,17 @@ module nbi-notifications { } } + grouping alarm-tca-info { + container alarm-info { + uses tapi-fm:alarm-info; + description "none"; + } + container tca-info { + uses tapi-fm:tca-info; + description "none"; + } + } + grouping notification-tapi-service { leaf notification-type { type tapi-notification:notification-type; @@ -213,6 +228,7 @@ module nbi-notifications { type string; description "none"; } + uses alarm-tca-info; uses tapi-common:global-class; description "none"; } @@ -323,6 +339,7 @@ module nbi-notifications { description "Topic where to send the notification service"; } + uses alarm-tca-info; uses tapi-notification:notification; } }