Commit c85aaa69 authored by lengyelb's avatar lengyelb
Browse files

Update _3gpp-common-subscription-control.yang

Missing leaflist notification types
parent 8d9bad25
Loading
Loading
Loading
Loading
Loading
+37 −29
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ module _3gpp-common-subscription-control {
  contact "https://www.3gpp.org/DynaReport/TSG-WG--S5--officials.htm?Itemid=464";
    
  description "Defines IOCs for subscription and heartbeat control.
    Copyright 2024, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, 
    Copyright 2025, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, 
    TTA, TTC). All rights reserved.";
  reference "3GPP TS 28.623
      Generic Network Resource Model (NRM)
@@ -18,7 +18,7 @@ module _3gpp-common-subscription-control {
      Solution Set (SS) definitions
      3GPP TS 28.623";
      
  revision 2025-03-27 { reference CR-0518 ; }   
  revision 2025-03-31 { reference CR-0518 ; }   
  revision 2024-05-18 { reference CR-0359 ; } 
  revision 2024-01-18 { reference "CR-0309 CR-0329" ; } 
  revision 2023-09-18 { reference CR-0271 ; } 
@@ -95,40 +95,48 @@ module _3gpp-common-subscription-control {
    }    
  }
  
  grouping NtfSubscriptionControlGrp {
    description "Attributes of a specific notification subscription";
    
    leaf notificationRecipientAddress {
      type string;
      mandatory true;
    }
    
  typedef NotificationTypes {
    description "An extensible enumeration of notification types";
    type union {
      type enumeration {
        enum NOTIFY_MOI_CREATION;
        enum NOTIFY_MOI_DELETION;
        enum NOTIFY_MOI_ATTRIBUTE_VALUE_CHANGES;
        enum NOTIFY_MOI_CHANGES;
        enum NOTIFY_EVENT;
        enum NOTIFY_NEW_ALARM;
        enum NOTIFY_CHANGED_ALARM;
        enum NOTIFY_ACKSTATE_CHANGED;
        enum NOTIFY_COMMENTS;
        enum NOTIFY_CORRELATED_NOTIFICATION_CHANGED;
        enum NOTIFY_CHANGED_ALARM_GENERAL;
        enum NOTIFY_CLEARED_ALARM;
        enum NOTIFY_ALARMLIST_REBUILT;
        enum NOTIFY_POTENTIAL_FAULTY_ALARMLIST;
        enum NOTIFY_FILEREADY;
        enum NOTIFY_FILE_PREPARATION_ERROR;
        enum NOTIFY_THRESHOLD_CROSSING;
        enum notifyMOICreation;
        enum notifyMOIDeletion;
        enum notifyMOIAttributeValueChanges;
        enum notifyMOIChanges;
        enum notifyEvent;
        enum notifyNewAlarm;
        enum notifyChangedAlarm;
        enum notifyAckStateChanged;
        enum notifyComments;
        enum notifyCorrelatedNotificationChanged;
        enum notifyChangedAlarmGeneral;
        enum notifyClearedAlarm;
        enum notifyAlarmListRebuilt;
        enum notifyPotentialFaultyAlarmList;
        enum notifyFileReady;
        enum notifyFilePreparationError;
        enum notifyThresholdCrossing ;
      }
      type string;
    }
  }
  
  grouping NtfSubscriptionControlGrp {
    description "Attributes of a specific notification subscription";
    
    leaf notificationRecipientAddress {
      type string;
      mandatory true;
    }
    
    leaf-list notificationTypes {
          type NotificationTypes;
          description "Defines the types of notifications that are candidates 
            for being forwarded to the notification recipient.
            If the notificationTypes attribute is not supported or not present 
            all candidate notifications types are forwarded to the notification; 
            discriminated by notificationFilter attribute.";
    }
        
    list scope {
      description "Scopes (selects) data nodes in an object tree.";
@@ -308,7 +316,7 @@ module _3gpp-common-subscription-control {
    description "Attributes of SupportedNotifications.";
      
    leaf-list notificationTypes {
      type string;
      type NotificationTypes;
      config false;
      description "List of notification types supported by the MnS producer";
    }