A YANG Data Model for Syslog Configuration
draft-ietf-netmod-syslog-model-26
|
Document |
Type |
|
Active Internet-Draft (netmod WG)
|
|
Last updated |
|
2018-03-20
(latest revision 2018-03-16)
|
|
Replaces |
|
draft-wildes-netmod-syslog-model
|
|
Stream |
|
IETF
|
|
Intended RFC status |
|
Proposed Standard
|
|
Formats |
|
plain text
pdf
htmlized
bibtex
|
|
Yang Validation |
|
☯
5 errors, 2 warnings.
draft-ietf-netmod-syslog-model-26.txt:
xym 0.4:
Extracting 'ietf-syslog@2018-03-15.yang'
Removed 0 empty lines
Extracting 'example-vendor-syslog-types'
Getting YANG file name from module name: example-vendor-syslog-types.yang
ietf-syslog@2018-03-15.yang:
pyang 2.1: pyang --verbose --ietf -p {libs} {model}:
# read ietf-syslog@2018-03-15.yang (CL)
# read /a/www/ietf-datatracker/6.113.0/env/share/yang/modules/ietf/ietf-inet-types.yang
# read /a/www/ietf-ftp/yang/draftmod/ietf-inet-types@2019-11-04.yang
# read /a/www/ietf-datatracker/6.113.0/env/share/yang/modules/ietf/ietf-interfaces.yang
# read /a/www/ietf-ftp/yang/rfcmod/ietf-interfaces@2018-02-20.yang
# read /a/www/ietf-datatracker/6.113.0/env/share/yang/modules/ietf/ietf-yang-types.yang
# read /a/www/ietf-ftp/yang/draftmod/ietf-yang-types@2019-11-04.yang
# read /a/www/ietf-ftp/yang/draftmod/ietf-tls-client@2019-11-20.yang
# read /a/www/ietf-ftp/yang/draftmod/ietf-tls-common@2019-11-20.yang
# read /a/www/ietf-ftp/yang/draftmod/ietf-crypto-types@2019-11-20.yang
# read /a/www/ietf-datatracker/6.113.0/env/share/yang/modules/ietf/ietf-netconf-acm.yang
# read /a/www/ietf-ftp/yang/rfcmod/ietf-netconf-acm@2018-02-14.yang
# read /a/www/ietf-ftp/yang/draftmod/iana-symmetric-algs@2019-11-20.yang
# read /a/www/ietf-ftp/yang/draftmod/iana-asymmetric-algs@2019-11-20.yang
# read /a/www/ietf-ftp/yang/draftmod/ietf-truststore@2019-11-20.yang
# read /a/www/ietf-ftp/yang/draftmod/ietf-keystore@2019-11-20.yang
ietf-syslog@2018-03-15.yang:67: warning: RFC 8407: 3.1: The IETF Trust Copyright statement seems to be missing (see pyang --ietf-help for details).
ietf-syslog@2018-03-15.yang:67: warning: the module seems to use RFC 2119 keywords, but the required text from RFC 8174 is not found (see pyang --ietf-help for details).
ietf-syslog@2018-03-15.yang:761: error: grouping "private-key-grouping" not found in module "ietf-keystore"
ietf-syslog@2018-03-15.yang:762: error: grouping "certificate-grouping" not found in module "ietf-keystore"
yanglint 0.14.80: yanglint --verbose -p {rfclib} -p {draftlib} -p {tmplib} {model} -i:
err : Failed to resolve uses "ks:private-key-grouping". (/ietf-syslog:syslog/actions/remote/destination/signing/cert-signers/cert-signer/cert/ks:private-key-grouping)
err : Failed to resolve uses "ks:certificate-grouping". (/ietf-syslog:syslog/actions/remote/destination/signing/cert-signers/cert-signer/cert/ks:certificate-grouping)
err : Module "ietf-syslog" parsing failed.
|
|
Reviews |
|
|
|
Additional URLs |
|
|
Stream |
WG state
|
|
Submitted to IESG for Publication
|
|
Document shepherd |
|
Kent Watsen
|
|
Shepherd write-up |
|
Show
(last changed 2018-04-26)
|
IESG |
IESG state |
|
RFC Ed Queue
|
|
Consensus Boilerplate |
|
Yes
|
|
Telechat date |
|
|
|
Responsible AD |
|
Benoît Claise
|
|
Send notices to |
|
"Lou Berger" <lberger@labn.net>, "Kent Watsen" <kwatsen@juniper.net>
|
IANA |
IANA review state |
|
IANA OK - Actions Needed
|
|
IANA action state |
|
RFC-Ed-Ack
|
RFC Editor |
RFC Editor state |
|
MISSREF |
NETMOD WG C. Wildes, Ed.
Internet-Draft Cisco Systems Inc.
Intended status: Standards Track K. Koushik, Ed.
Expires: September 14, 2018 Verizon Wireless
March 15, 2018
A YANG Data Model for Syslog Configuration
draft-ietf-netmod-syslog-model-26
Abstract
This document defines a YANG data model for the configuration of a
syslog process. It is intended this model be used by vendors who
implement syslog in their systems.
Status of this Memo
This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet-
Drafts is at http://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."
This Internet-Draft will expire on September 14, 2018.
Copyright Notice
Copyright (c) 2018 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents (http://trustee.ietf.org/
license-info) in effect on the date of publication of this document.
Please review these documents carefully, as they describe your rights
and restrictions with respect to this document. Code Components
extracted from this document must include Simplified BSD License text
as described in Section 4.e of the Trust Legal Provisions and are
provided without warranty as described in the Simplified BSD License.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1. Requirements Language . . . . . . . . . . . . . . . . . . 2
1.2. Terminology . . . . . . . . . . . . . . . . . . . . . . . 3
1.3. NDMA Compliance . . . . . . . . . . . . . . . . . . . . . 3
Wildes & Koushik Expires September 14, 2018 [Page 1]
Internet-Draft Syslog Management March 2018
1.4. Editorial Note (To be removed by RFC Editor) . . . . . . . 3
2. Design of the Syslog Model . . . . . . . . . . . . . . . . . . 3
2.1. Syslog Module . . . . . . . . . . . . . . . . . . . . . . 5
3. Syslog YANG Module . . . . . . . . . . . . . . . . . . . . . . 7
3.1. The ietf-syslog Module . . . . . . . . . . . . . . . . . . 8
4. Usage Examples . . . . . . . . . . . . . . . . . . . . . . . . 25
5. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 25
6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 26
6.1. The IETF XML Registry . . . . . . . . . . . . . . . . . . 26
6.2. The YANG Module Names Registry . . . . . . . . . . . . . . 26
7. Security Considerations . . . . . . . . . . . . . . . . . . . 26
8. References . . . . . . . . . . . . . . . . . . . . . . . . . . 27
8.1. Normative References . . . . . . . . . . . . . . . . . . . 27
8.2. Informative References . . . . . . . . . . . . . . . . . . 29
Appendix A. Implementer Guidelines . . . . . . . . . . . . . . . . 29
Appendix A.1. Extending Facilities . . . . . . . . . . . . . . 29
Appendix A.2. Syslog Terminal Output . . . . . . . . . . . . . 30
Appendix A.3. Syslog File Naming Convention . . . . . . . . . . 30
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 31
1. Introduction
This document defines a YANG [RFC7950] configuration data model that
may be used to configure the syslog feature running on a system.
YANG models can be used with network management protocols such as
NETCONF [RFC6241] to install, manipulate, and delete the
configuration of network devices.
The data model makes use of the YANG "feature" construct which allows
implementations to support only those syslog features that lie within
their capabilities.
This module can be used to configure the syslog application
conceptual layers as implemented on the target system.
Essentially, a syslog process receives messages (from the kernel,
processes, applications or other syslog processes) and processes
them. The processing may involve logging to a local file, and/or
displaying on console, and/or relaying to syslog processes on other
machines. The processing is determined by the "facility" that
originated the message and the "severity" assigned to the message by
Show full document text