123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- <?xml version="1.0" encoding="UTF-8"?>
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns="urn:ietf:params:xml:ns:netconf:notification:1.0"
- xmlns:netconf="urn:ietf:params:xml:ns:netconf:base:1.0"
- targetNamespace=
- "urn:ietf:params:xml:ns:netconf:notification:1.0"
- elementFormDefault="qualified"
- attributeFormDefault="unqualified"
- xml:lang="en">
- <!-- import standard XML definitions -->
- <xs:import namespace="http://www.w3.org/XML/1998/namespace"
- schemaLocation="http://www.w3.org/2001/xml.xsd">
- <xs:annotation>
- <xs:documentation>
- This import accesses the xml: attribute groups for the
- xml:lang as declared on the error-message element.
- </xs:documentation>
- </xs:annotation>
- </xs:import>
- <!-- import base netconf definitions -->
- <xs:import namespace="urn:ietf:params:xml:ns:netconf:base:1.0"
- schemaLocation="netconf.xsd"/>
- <!-- ************** Symmetrical Operations ********************-->
- <!-- <create-subscription> operation -->
- <xs:complexType name="createSubscriptionType">
- <xs:complexContent>
- <xs:extension base="netconf:rpcOperationType">
- <xs:sequence>
- <xs:element name="stream"
- type="streamNameType" minOccurs="0">
- <xs:annotation>
- <xs:documentation>
- An optional parameter that indicates
- which stream of events is of interest. If
- not present, then events in the default
- NETCONF stream will be sent.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="filter"
- type="netconf:filterInlineType"
- minOccurs="0">
- <xs:annotation>
- <xs:documentation>
- An optional parameter that indicates
- which subset of all possible events
- is of interest. The format of this
- parameter is the same as that of the
- filter parameter in the NETCONF
- protocol operations. If not present,
- all events not precluded by other
- parameters will be sent.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="startTime" type="xs:dateTime"
- minOccurs="0" >
- <xs:annotation>
- <xs:documentation>
- A parameter used to trigger the replay
- feature indicating that the replay
- should start at the time specified. If
- start time is not present, this is not a
- replay subscription.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="stopTime" type="xs:dateTime"
- minOccurs="0" >
- <xs:annotation>
- <xs:documentation>
- An optional parameter used with the
- optional replay feature to indicate the
- newest notifications of interest. If
- stop time is not present, the
- notifications will continue until the
- subscription is terminated. Must be used
- with startTime.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:simpleType name="streamNameType">
- <xs:annotation>
- <xs:documentation>
- The name of an event stream.
- </xs:documentation>
- </xs:annotation>
- <xs:restriction base="xs:string"/>
- </xs:simpleType>
- <xs:element name="create-subscription"
- type="createSubscriptionType"
- substitutionGroup="netconf:rpcOperation">
- <xs:annotation>
- <xs:documentation>
- The command to create a notification subscription. It
- takes as argument the name of the notification stream
- and filter. Both of those options
- limit the content of the subscription. In addition,
- there are two time-related parameters, startTime and
- stopTime, which can be used to select the time interval
- of interest to the notification replay feature.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <!-- ************** One-way Operations ******************-->
- <!-- <Notification> operation -->
- <xs:complexType name="NotificationContentType"/>
- <xs:element name="notificationContent"
- type="NotificationContentType" abstract="true"/>
- <xs:complexType name="NotificationType">
- <xs:sequence>
- <xs:element name="eventTime" type="xs:dateTime">
- <xs:annotation>
- <xs:documentation>
- The time the event was generated by the event source.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element ref="notificationContent"/>
- </xs:sequence>
- </xs:complexType>
- <xs:element name="notification" type="NotificationType"/>
- </xs:schema>
|