ietf-syslog-types

This module contains a collection of YANG type definitions for SYSLOG. Copyright (c) 2016 IETF Trust and the persons identified...

  • Version: 2016-07-08

    ietf-syslog-types@2016-07-08


    
      module ietf-syslog-types {
    
        yang-version 1;
    
        namespace
          "urn:ietf:params:xml:ns:yang:ietf-syslog-types";
    
        prefix syslogtypes;
    
        organization
          "IETF NETMOD (NETCONF Data Modeling Language) Working 
         Group";
    
        contact
          "WG Web:   <http://tools.ietf.org/wg/netmod/>
         WG List:  <mailto:netmod@ietf.org>
         
         WG Chair: Lou Berger
                   <mailto:lberger@labn.net>
         
         WG Chair: Kent Watsen
                   <mailto:kwatsen@juniper.net>
         
         Editor:   Kiran Agrahara Sreenivasa
                   <mailto:kkoushik@cisco.com>
         
         Editor:   Clyde Wildes
                   <mailto:cwildes@cisco.com>";
    
        description
          "This module contains a collection of YANG type definitions for 
         SYSLOG.
         
         Copyright (c) 2016 IETF Trust and the persons identified as
         authors of the code. 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 Simplified BSD License set
         forth in Section 4.c of the IETF Trust's Legal Provisions
         Relating to IETF Documents
         (http://trustee.ietf.org/license-info).
         
         The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL', 'SHALL
         NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED', 'MAY', and
         'OPTIONAL' in the module text are to be interpreted as described
         in RFC 2119 (http://tools.ietf.org/html/rfc2119).
         
         This version of this YANG module is part of RFC XXXX
         (http://tools.ietf.org/html/rfcXXXX); see the RFC itself for
         full legal notices.";
    
        reference
          "RFC 5424: The Syslog Protocol";
    
    
        revision "2016-07-08" {
          description "Initial Revision";
          reference
            "RFC XXXX: SYSLOG YANG Model";
    
        }
    
    
        typedef severity {
          type enumeration {
            enum "emergency" {
              value 0;
              description "Emergency Level Msg";
            }
            enum "alert" {
              value 1;
              description "Alert Level Msg";
            }
            enum "critical" {
              value 2;
              description "Critical Level Msg";
            }
            enum "error" {
              value 3;
              description "Error Level Msg";
            }
            enum "warning" {
              value 4;
              description "Warning Level Msg";
            }
            enum "notice" {
              value 5;
              description
                "Notification Level Msg";
            }
            enum "info" {
              value 6;
              description
                "Informational Level Msg";
            }
            enum "debug" {
              value 7;
              description "Debugging Level Msg";
            }
          }
          description
            "The definitions for Syslog message severity as per RFC 5424.";
        }
    
        identity syslog-facility {
          description
            "This identity is used as a base for all syslog facilities as
           per RFC 5424.";
        }
    
        identity kern {
          base syslog-facility;
          description
            "The facility for kernel messages (0) as defined in RFC 5424.";
        }
    
        identity user {
          base syslog-facility;
          description
            "The facility for user-level messages (1) as defined in RFC 5424.";
        }
    
        identity mail {
          base syslog-facility;
          description
            "The facility for the mail system (2) as defined in RFC 5424.";
        }
    
        identity daemon {
          base syslog-facility;
          description
            "The facility for the system daemons (3) as defined in RFC 5424.";
        }
    
        identity auth {
          base syslog-facility;
          description
            "The facility for security/authorization messages (4) as defined 
           in RFC 5424.";
        }
    
        identity syslog {
          base syslog-facility;
          description
            "The facility for messages generated internally by syslogd 
           facility (5)as defined in RFC 5424.";
        }
    
        identity lpr {
          base syslog-facility;
          description
            "The facility for the line printer subsystem (6) as defined in 
           RFC 5424.";
        }
    
        identity news {
          base syslog-facility;
          description
            "The facility for the network news subsystem (7) as defined in 
           RFC 5424.";
        }
    
        identity uucp {
          base syslog-facility;
          description
            "The facility for the UUCP subsystem (8) as defined in RFC 5424.";
        }
    
        identity cron {
          base syslog-facility;
          description
            "The facility for the clock daemon (9) as defined in RFC 5424.";
        }
    
        identity authpriv {
          base syslog-facility;
          description
            "The facility for privileged security/authorization messages (10) 
           as defined in RFC 5424.";
        }
    
        identity ftp {
          base syslog-facility;
          description
            "The facility for the FTP daemon (11) as defined in RFC 5424.";
        }
    
        identity ntp {
          base syslog-facility;
          description
            "The facility for the NTP subsystem (12) as defined in RFC 5424.";
        }
    
        identity audit {
          base syslog-facility;
          description
            "The facility for log audit messages (13) as defined in RFC 5424.";
        }
    
        identity console {
          base syslog-facility;
          description
            "The facility for log alert messages (14) as defined in RFC 5424.";
        }
    
        identity cron2 {
          base syslog-facility;
          description
            "The facility for the second clock daemon (15) as defined in 
           RFC 5424.";
        }
    
        identity local0 {
          base syslog-facility;
          description
            "The facility for local use 0 messages (16) as defined in 
           RFC 5424.";
        }
    
        identity local1 {
          base syslog-facility;
          description
            "The facility for local use 1 messages (17) as defined in 
           RFC 5424.";
        }
    
        identity local2 {
          base syslog-facility;
          description
            "The facility for local use 2 messages (18) as defined in 
           RFC 5424.";
        }
    
        identity local3 {
          base syslog-facility;
          description
            "The facility for local use 3 messages (19) as defined in 
           RFC 5424.";
        }
    
        identity local4 {
          base syslog-facility;
          description
            "The facility for local use 4 messages (20) as defined in 
           RFC 5424.";
        }
    
        identity local5 {
          base syslog-facility;
          description
            "The facility for local use 5 messages (21) as defined in 
           RFC 5424.";
        }
    
        identity local6 {
          base syslog-facility;
          description
            "The facility for local use 6 messages (22) as defined in 
           RFC 5424.";
        }
    
        identity local7 {
          base syslog-facility;
          description
            "The facility for local use 7 messages (23) as defined in 
           RFC 5424.";
        }
      }  // module ietf-syslog-types
    

© 2023 YumaWorks, Inc. All rights reserved.