netconfcentral logo

nc-notifications

HTML

nc-notifications@2008-07-14



  module nc-notifications {

    yang-version 1;

    namespace
      "urn:ietf:params:xml:ns:netmod:notification";

    prefix manageEvent;

    import ietf-yang-types {
      prefix yang;
    }
    import notifications {
      prefix ncEvent;
    }

    organization "IETF NETCONF WG";

    contact "netconf@ietf.org";

    description
      "Conversion of the 'manageEvent' XSD in the NETCONF
       Notifications RFC.";

    reference
      "RFC 5277";


    revision "2008-07-14" {
      description "RFC 5277 version.";
    }


    container netconf {
      config false;
      description
        "Top-level element in the notification namespace";
      container streams {
        description
          "The list of event streams supported by the system. When
           a query is issued, the returned set of streams is 
           determined based on user privileges.";
        list stream {
          key "name";
          min-elements 1;
          description
            "Stream name, description and other information.";
          leaf name {
            type ncEvent:streamNameType;
            description
              "The name of the event stream. If this is the default
               NETCONF stream, this must have the value 'NETCONF'.";
          }

          leaf description {
            type string;
            mandatory true;
            description
              "A description of the event stream, including such
               information as the type of events that are sent over
               this stream.";
          }

          leaf replaySupport {
            type boolean;
            mandatory true;
            description
              "A description of the event stream, including such
               information as the type of events that are sent over
               this stream.";
          }

          leaf replayLogCreationTime {
            type yang:date-and-time;
            description
              "The timestamp of the creation of the log used to support
               the replay function on this stream. Note that this might
               be earlier then the earliest available notification in
               the log. This object is updated if the log resets for 
               some reason.  This object MUST be present if replay is
               supported.";
          }
        }  // list stream
      }  // container streams
    }  // container netconf

    notification replayComplete {
      description
        "This notification is sent to signal the end of a replay
         portion of a subscription.";
    }  // notification replayComplete

    notification notificationComplete {
      description
        "This notification is sent to signal the end of a notification
         subscription. It is sent in the case that stopTime was
         specified during the creation of the subscription..";
    }  // notification notificationComplete
  }  // module nc-notifications

Summary

  
  
Organization IETF NETCONF WG
  
Module nc-notifications
Version 2008-07-14
File nc-notifications.yang
  
Prefix manageEvent
Namespace urn:ietf:params:xml:ns:netmod:notification
Reference
RFC 5277
  
Cooked /cookedmodules/nc-notifications/2008-07-14
YANG /src/nc-notifications@2008-07-14.yang
XSD /xsd/nc-notifications@2008-07-14.xsd
  
Abstract Conversion of the 'manageEvent' XSD in the NETCONF Notifications RFC.
  
Contact
netconf@ietf.org

Description

 
Conversion of the 'manageEvent' XSD in the NETCONF
Notifications RFC.

Objects

Type Key
Mandatory config
Optional config
Not config
Object Type Abstract
netconf container Top-level element in the notification namespace
   streams container The list of event streams supported by the system. When a query is issued, the returned set of streams is determined based on user privileges.
      stream list Stream name, description and other information.
         description leaf A description of the event stream, including such information as the type of events that are sent over this stream.
         name leaf The name of the event stream. If this is the default NETCONF stream, this must have the value 'NETCONF'.
         replayLogCreationTime leaf The timestamp of the creation of the log used to support the replay function on this stream. Note that this might be earlier then the earliest available notification in the log. This object is updated if the log resets for some reason. This object MUST b...
         replaySupport leaf A description of the event stream, including such information as the type of events that are sent over this stream.

Notifications

Notification Abstract
notificationComplete This notification is sent to signal the end of a notification subscription. It is sent in the case that stopTime was specified during the creation of the subscription..
replayComplete This notification is sent to signal the end of a replay portion of a subscription.