--- 1/draft-ietf-netmod-syslog-model-02.txt 2015-03-09 14:14:55.597241481 -0700 +++ 2/draft-ietf-netmod-syslog-model-03.txt 2015-03-09 14:14:55.645242636 -0700 @@ -1,19 +1,19 @@ NETMOD WG Clyde Wildes Internet-Draft Cisco Systems Intended status: Informational Agrahara Kiran Koushik -Expires: Sep 05, 2015 Brocade Communication Systems - Mar 05, 2015 +Expires: Sep 09, 2015 Brocade Communication Systems + Mar 09, 2015 SYSLOG YANG model - draft-ietf-netmod-syslog-model-02 + draft-ietf-netmod-syslog-model-03 Abstract This document describes a data model for Syslog protocol which is used to convey event notification messages. Status of This Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. @@ -303,20 +303,22 @@ | +--rw severity? syslogtypes:severity +--rw logging-advanced-level-processing {selector-advanced-level-processing-config}? | +--rw select-message-severity? enumeration +--rw logging-match-processing {selector-match-processing-config}? +--rw pattern-match? string 4. SYSLOG YANG Models 4.1. SYSLOG-TYPES module + file "ietf-syslog-types.yang" + module ietf-syslog-types { namespace "urn:ietf:params:xml:ns:yang:ietf-syslog-types"; prefix syslogtypes; organization "IETF NETMOD (NETCONF Data Modeling Language) Working Group"; contact "WG Web: WG List: @@ -407,21 +409,20 @@ } identity mail { base syslog-facility; description "The facility for the mail system as defined in RFC 5424."; } identity daemon { base syslog-facility; - } description "The facility for the system daemons as defined in RFC 5424."; } identity auth { base syslog-facility; description "The facility for security/authorization messages as defined in RFC 5424."; } @@ -546,22 +547,26 @@ RFC 5424."; } identity local7 { base syslog-facility; description "The facility for local use 7 messages as defined in RFC 5424."; } } + + 4.2. SYSLOG module + file "ietf-syslog.yang" + module ietf-syslog { namespace "urn:ietf:params:xml:ns:yang:ietf-syslog"; prefix syslog; import ietf-inet-types { prefix inet; } import ietf-interfaces { prefix if; @@ -1032,20 +1037,22 @@ is to receive log messages."; } uses syslog-selector; } } } } } } + + 4.3. A SYSLOG Example Requirement: Enable global logging of two facilities: kern - severity critical(1) auth - severity error(3) Enable console logging of syslogs of severity critical(1)