1 module nc-notifications {
 
   3     namespace "urn:ietf:params:xml:ns:netmod:notification";
 
   6     import ietf-yang-types{ prefix yang; }
 
   7     import notifications { prefix ncEvent; }
 
  16       "Conversion of the 'manageEvent' XSD in the NETCONF
 
  23       description "RFC 5277 version.";
 
  27       description "Top-level element in the notification namespace";
 
  33           "The list of event streams supported by the system. When
 
  34            a query is issued, the returned set of streams is 
 
  35            determined based on user privileges.";
 
  39             "Stream name, description and other information.";
 
  45               "The name of the event stream. If this is the default
 
  46                NETCONF stream, this must have the value 'NETCONF'.";
 
  47             type ncEvent:streamNameType;
 
  52               "A description of the event stream, including such
 
  53                information as the type of events that are sent over
 
  61               "A description of the event stream, including such
 
  62                information as the type of events that are sent over
 
  68           leaf replayLogCreationTime {
 
  70               "The timestamp of the creation of the log used to support
 
  71                the replay function on this stream. Note that this might
 
  72                be earlier then the earliest available notification in
 
  73                the log. This object is updated if the log resets for 
 
  74                some reason.  This object MUST be present if replay is
 
  76             type yang:date-and-time;   // xsd:dateTime is wrong!
 
  82     notification replayComplete {
 
  84         "This notification is sent to signal the end of a replay
 
  85          portion of a subscription.";
 
  88     notification notificationComplete {
 
  90         "This notification is sent to signal the end of a notification
 
  91          subscription. It is sent in the case that stopTime was
 
  92          specified during the creation of the subscription..";