netconfcentral logo

ietf-syslog-types

HTML

ietf-syslog-types@2017-02-14



  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 "2017-02-14" {
      description "Initial Revision";
      reference
        "RFC XXXX: SYSLOG YANG Model";

    }


    typedef severity {
      type enumeration {
        enum "emergency" {
          value 0;
          description
            "The severity level 'Emergency' indicating that the system
is unusable.";
        }
        enum "alert" {
          value 1;
          description
            "The severity level 'Alert' indicating that an action must be
taken immediately.";
        }
        enum "critical" {
          value 2;
          description
            "The severity level 'Critical' indicating a critical condition.";
        }
        enum "error" {
          value 3;
          description
            "The severity level 'Error' indicating an error condition.";
        }
        enum "warning" {
          value 4;
          description
            "The severity level 'Warning' indicating a warning condition.";
        }
        enum "notice" {
          value 5;
          description
            "The severity level 'Notice' indicating a normal but significant
condition.";
        }
        enum "info" {
          value 6;
          description
            "The severity level 'Info' indicating an informational message.";
        }
        enum "debug" {
          value 7;
          description
            "The severity level 'Debug' indicating a debug-level message.";
        }
      }
      description
        "The definitions for Syslog message severity as per RFC 5424.";
    }

    identity syslog-facility {
      base 
      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

Summary

  
ietf-syslog-types  
  
Organization IETF NETMOD (NETCONF Data Modeling Language) Working Group
  
Module ietf-syslog-types
Version 2015-10-14
File ietf-syslog-types.yang
  
Prefix syslogtypes
Namespace urn:ietf:params:xml:ns:yang:ietf-syslog-types
  
Cooked /cookedmodules/ietf-syslog-types/2015-10-14
YANG /src/ietf-syslog-types@2015-10-14.yang
XSD /xsd/ietf-syslog-types@2015-10-14.xsd
  
Abstract This module contains a collection of YANG type definitions for SYSLOG.
  
Contact
WG Web:   <http://tools.ietf.org/wg/netmod/>
WG List:  <mailto:netmod@ietf.org>

WG Chair: Tom Nadeau
	  <mailto:tnadeau@lucidvision.com>

WG Chair: Kent Watson
	  <mailto:kwatsen@juniper.net>

Editor:   Ladislav Lhotka
	  <mailto:lhotka@nic.cz>
  
ietf-syslog-types  
  
Organization IETF NETMOD (NETCONF Data Modeling Language) Working Group
  
Module ietf-syslog-types
Version 2017-02-14
File ietf-syslog-types@2017-02-14.yang
  
Prefix syslogtypes
Namespace urn:ietf:params:xml:ns:yang:ietf-syslog-types
Reference
RFC 5424: The Syslog Protocol
  
Cooked /cookedmodules/ietf-syslog-types/2017-02-14
YANG /src/ietf-syslog-types@2017-02-14.yang
XSD /xsd/ietf-syslog-types@2017-02-14.xsd
  
Abstract This module contains a collection of YANG type definitions for SYSLOG. Copyright (c) 2016 IETF Trust and the persons identified...
  
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

 
ietf-syslog-types
This module contains a collection of YANG type definitions for
SYSLOG.
 
ietf-syslog-types
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.

Typedefs

Typedef Base type Abstract
severity enumeration The definitions for Syslog message severity as per RFC 5424.
severity enumeration The definitions for Syslog message severity as per RFC 5424.