1 module nc-notifications {
3 namespace "urn:ietf:params:xml:ns:netmod:notification";
6 import ietf-yang-types { prefix yang; revision-date "2013-07-15";}
7 import notifications { prefix ncEvent; revision-date "2008-07-14";}
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!
79 leaf replayLogAgedTime {
80 when "current()/../replaySupport" {
82 "This object MUST be present if replay is supported
83 and any notifications have been aged out of the log.";
85 type yang:date-and-time;
87 "The timestamp of the last notification aged
88 out of the log. This object MUST be present
89 if replay is supported and any notifications
90 have been aged out of the log.";
96 notification replayComplete {
98 "This notification is sent to signal the end of a replay
99 portion of a subscription.";
102 notification notificationComplete {
104 "This notification is sent to signal the end of a notification
105 subscription. It is sent in the case that stopTime was
106 specified during the creation of the subscription..";