3 namespace "urn:ietf:params:xml:ns:netconf:notification:1.0";
6 import ietf-yang-types { prefix yang; revision-date "2010-09-24";}
12 "netconf@ops.ietf.org";
15 "Conversion of the 'ncEvent' XSD in the
16 NETCONF Notifications RFC.";
22 description "RFC 5277 version.";
25 typedef streamNameType {
27 "The name of an event stream.";
31 rpc create-subscription {
33 "The command to create a notification subscription. It
34 takes as argument the name of the notification stream
35 and filter. Both of those options limit the content of
36 the subscription. In addition, there are two time-related
37 parameters, startTime and stopTime, which can be used to
38 select the time interval of interest to the notification
44 "An optional parameter that indicates which stream of events
45 is of interest. If not present, then events in the default
46 NETCONF stream will be sent.";
53 "An optional parameter that indicates which subset of all
54 possible events is of interest. The format of this
55 parameter is the same as that of the filter parameter
56 in the NETCONF protocol operations. If not present,
57 all events not precluded by other parameters will
63 "A parameter used to trigger the replay feature and
64 indicates that the replay should start at the time
65 specified. If start time is not present, this is not a
66 replay subscription.";
67 type yang:date-and-time;
71 // must ". >= ../startTime";
73 "An optional parameter used with the optional replay
74 feature to indicate the newest notifications of
75 interest. If stop time is not present, the notifications
76 will continue until the subscription is terminated.
77 Must be used with startTime.";
78 type yang:date-and-time;