Commit 8648723a authored by lengyelb's avatar lengyelb
Browse files

Update _3gpp-common-fm.yang - Added comments to alarmrecord

parent e2a65e13
Loading
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
@@ -98,6 +98,36 @@ module _3gpp-common-fm {
    description "The possible alarm severities";
  }

  grouping AlarmCommentGrp {
    leaf commentTime {
      type yang:date-and-time;
      config false;
      mandatory true;
      description "Date and Time the comment was created.";
    }

    leaf commentUserId {
      type string;
      mandatory true;
      description "It carries the identification of the user who made the
        comment.";
    }

    leaf commentSystemId {
      type string;
      mandatory true;
      description "It carries the identification of the system (
        Management System) from which the comment is made. That system
        supports the user that made the comment.";
    }

    leaf commentText {
      type string;
      mandatory true;
      description "It carries the textual comment.";
    }
  }

  grouping AlarmRecordGrp {
    description "Contains alarm information of an alarmed object instance.
      A new record is created in the alarm list when an alarmed object
@@ -351,6 +381,16 @@ module _3gpp-common-fm {
      yext3gpp:notNotifyable;
    }

    list comments {
      yext3gpp:inVariant;
      yext3gpp:notNotifyable;
      description "List of comments and data about the comments.";
      key idx;
      leaf idx { type uint32; }

      uses AlarmCommentGrp;
    }

    leaf ackTime  {
      if-feature AcknowledgeByConsumer;
      type yang:date-and-time ;