Adding TestVNF netconf server
[demo.git] / vnfs / TestVNF / netconftemplates / netconftemplates / nc-notifications@2008-07-14.yin
1 <rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="m-1">
2   <data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
3 &lt;module name="nc-notifications"
4         xmlns="urn:ietf:params:xml:ns:yang:yin:1"
5         xmlns:manageEvent="urn:ietf:params:xml:ns:netmod:notification"
6         xmlns:yang="urn:ietf:params:xml:ns:yang:ietf-yang-types"
7         xmlns:ncEvent="urn:ietf:params:xml:ns:netconf:notification:1.0"&gt;
8   &lt;namespace uri="urn:ietf:params:xml:ns:netmod:notification"/&gt;
9   &lt;prefix value="manageEvent"/&gt;
10   &lt;import module="ietf-yang-types"&gt;
11     &lt;prefix value="yang"/&gt;
12   &lt;/import&gt;
13   &lt;import module="notifications"&gt;
14     &lt;prefix value="ncEvent"/&gt;
15   &lt;/import&gt;
16   &lt;organization&gt;
17     &lt;text&gt;IETF NETCONF WG&lt;/text&gt;
18   &lt;/organization&gt;
19   &lt;contact&gt;
20     &lt;text&gt;netconf@ietf.org&lt;/text&gt;
21   &lt;/contact&gt;
22   &lt;description&gt;
23     &lt;text&gt;Conversion of the 'manageEvent' XSD in the NETCONF
24 Notifications RFC.&lt;/text&gt;
25   &lt;/description&gt;
26   &lt;reference&gt;
27     &lt;text&gt;RFC 5277&lt;/text&gt;
28   &lt;/reference&gt;
29   &lt;revision date="2008-07-14"&gt;
30     &lt;description&gt;
31       &lt;text&gt;RFC 5277 version.&lt;/text&gt;
32     &lt;/description&gt;
33   &lt;/revision&gt;
34   &lt;container name="netconf"&gt;
35     &lt;config value="false"/&gt;
36     &lt;description&gt;
37       &lt;text&gt;Top-level element in the notification namespace&lt;/text&gt;
38     &lt;/description&gt;
39     &lt;container name="streams"&gt;
40       &lt;description&gt;
41         &lt;text&gt;The list of event streams supported by the system. When
42 a query is issued, the returned set of streams is
43 determined based on user privileges.&lt;/text&gt;
44       &lt;/description&gt;
45       &lt;list name="stream"&gt;
46         &lt;key value="name"/&gt;
47         &lt;min-elements value="1"/&gt;
48         &lt;description&gt;
49           &lt;text&gt;Stream name, description and other information.&lt;/text&gt;
50         &lt;/description&gt;
51         &lt;leaf name="name"&gt;
52           &lt;type name="ncEvent:streamNameType"/&gt;
53           &lt;description&gt;
54             &lt;text&gt;The name of the event stream. If this is the default
55 NETCONF stream, this must have the value 'NETCONF'.&lt;/text&gt;
56           &lt;/description&gt;
57         &lt;/leaf&gt;
58         &lt;leaf name="description"&gt;
59           &lt;type name="string"/&gt;
60           &lt;mandatory value="true"/&gt;
61           &lt;description&gt;
62             &lt;text&gt;A description of the event stream, including such
63 information as the type of events that are sent over
64 this stream.&lt;/text&gt;
65           &lt;/description&gt;
66         &lt;/leaf&gt;
67         &lt;leaf name="replaySupport"&gt;
68           &lt;type name="boolean"/&gt;
69           &lt;mandatory value="true"/&gt;
70           &lt;description&gt;
71             &lt;text&gt;A description of the event stream, including such
72 information as the type of events that are sent over
73 this stream.&lt;/text&gt;
74           &lt;/description&gt;
75         &lt;/leaf&gt;
76         &lt;leaf name="replayLogCreationTime"&gt;
77           &lt;type name="yang:date-and-time"/&gt;
78           &lt;description&gt;
79             &lt;text&gt;The timestamp of the creation of the log used to support
80 the replay function on this stream. Note that this might
81 be earlier then the earliest available notification in
82 the log. This object is updated if the log resets for
83 some reason.  This object MUST be present if replay is
84 supported.&lt;/text&gt;
85           &lt;/description&gt;
86         &lt;/leaf&gt;
87       &lt;/list&gt;
88     &lt;/container&gt;
89   &lt;/container&gt;
90   &lt;notification name="replayComplete"&gt;
91     &lt;description&gt;
92       &lt;text&gt;This notification is sent to signal the end of a replay
93 portion of a subscription.&lt;/text&gt;
94     &lt;/description&gt;
95   &lt;/notification&gt;
96   &lt;notification name="notificationComplete"&gt;
97     &lt;description&gt;
98       &lt;text&gt;This notification is sent to signal the end of a notification
99 subscription. It is sent in the case that stopTime was
100 specified during the creation of the subscription..&lt;/text&gt;
101     &lt;/description&gt;
102   &lt;/notification&gt;
103 &lt;/module&gt;
104 </data>
105 </rpc-reply>