netconfcentral logo

yumaworks-event-filter@2014-02-09



  module yumaworks-event-filter {

    yang-version 1;

    namespace
      "http://yumaworks.com/ns/yumaworks-event-filter";

    prefix ef;

    import yuma-types {
      prefix yt;
    }
    import yuma-ncx {
      prefix ncx;
    }

    organization "YumaWorks, Inc.";

    contact
      "Support <support@yumaworks.com>";

    description
      "This module contains data structures representing 
     notification event filters to be applied to
     the generation of events into a notification stream.

     Copyright (c) 2012 - 2014 YumaWorks, Inc. All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the BSD 3-Clause License
     http://opensource.org/licenses/BSD-3-Clause";

    revision "2014-02-09" {
      description
        "Updated for implementation";
    }

    revision "2012-08-17" {
      description "Initial version";
    }


    container event-filters {
      ncx:sil-delete-children-first;
      presence
        "If this node is present then the event filtering
       service is enabled.";
      list event-filter {
        key "module event";
        description
          "A list of notification event filters.";
        leaf module {
          type yt:NcxName;
          description
            "The YANG module name for the this entry.";
        }

        leaf event {
          type yt:NcxName;
          description
            "The notification event name for this entry.";
        }

        leaf enabled {
          type boolean;
          default 'false';
          description
            "If 'true' then this notification event is enabled.
           If 'false' then this notification event is disabled
           and no events of this type will be saved in the
           replay buffer.";
        }

        leaf log-drops {
          type boolean;
          default 'false';
          description
            "If 'true' then dropped events will generate a log entry.
           If 'false', then dropped events will not generate
           a log entry.";
        }
      }  // list event-filter
    }  // container event-filters
  }  // module yumaworks-event-filter