[netmod] Re: Gunter Van de Velde's Discuss on draft-ietf-netmod-syslog-model-32: (with DISCUSS and COMMENT)

Mahesh Jethanandani <mjethanandani@gmail.com> Fri, 13 September 2024 19:29 UTC

Return-Path: <mjethanandani@gmail.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D3C62C14F6E4; Fri, 13 Sep 2024 12:29:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GKSzE1mbOidU; Fri, 13 Sep 2024 12:29:41 -0700 (PDT)
Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2C5AFC14F6E1; Fri, 13 Sep 2024 12:29:41 -0700 (PDT)
Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-718d606726cso1674604b3a.3; Fri, 13 Sep 2024 12:29:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726255780; x=1726860580; darn=ietf.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=HkXtuoHFFEBunIDxXe35Y41ZAF3a8Cbihfte2s+CJvA=; b=QOBWX5FE/bpoNwh462D0WKlVgPKwzFQuDljkRl+aYBmUcPBLAFHikhmsz0SOeC0Uks +oFfXKwDP5O0akJStbjGHJrAd9Ie2J+jzGqsPFNma08Z8O0887orl+TJdNiP/gLZ3Zrz eYDOxJvCh+hOKAjMzRfN+A55xeMdtWT9OmkrPiSwKc4mnCIzOtkcYJdVtgSPiGm+317R sjm0WJTOcqlWndPu7bvqHq2RikTrk6CRd9qrcnB4WZzfWlh03yneb8eWo/2ZdMhZXcVa CZyjIhKBxJQ3RhoCBYVAuGJwblNQ7yo73M5q2dT5+CsRscZWqBrji1vpFN1cRY0Y8b2S mk3A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726255780; x=1726860580; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HkXtuoHFFEBunIDxXe35Y41ZAF3a8Cbihfte2s+CJvA=; b=ZePqnKePDAyMSaed+2V69xBaeaLKcJ9vjlvM9elYoJwRooJxfeQ8ChMJT4yRuw8Wb3 BrHb5WSMIJie137AG2NxMiv/0W3hxRErwzmBsKwBuhFosFiz+9URY5suxVVQL748if6E qKpuAyVzMdyOU8TeV0hNU4BHT4nq4zbT1M7WUVtY4ieUPdoC6/+2AHCMz2lVf+5lb/Tz Y/uYRODv8ndRVlQDIV8VRLxFXFZEBJpXfahrJPXUn8dc7HXPCpjLp7OA/1+2d+9Mi/Zo YmSu8OauKRdN8Th3kFaVHa/WVtF/qGhn1ftatlBPcTQnwdmYeS8gR0mW5RbMCjF8BQPC NJSg==
X-Forwarded-Encrypted: i=1; AJvYcCVZZNgH9TNFgo8OV4h/lZ98YXJwmPjAh728ICFyTW0P5X3lpQCofmPSMIk5Vane65SnR4iZNXUL@ietf.org, AJvYcCW/E0FE1esmQznRvZTahcHH66BFClwpMsEvduEEGHzZ/zLSkicTzcLUdgwNH75y3seSqBfcfsIVjoSwrJSg9g3uQBX2nHivQr12kRoTXbo=@ietf.org, AJvYcCWWxrmHZCj5rC9KEnrSHjVm4xPCSb5hHR5yGRzn5Q+VB9tX+cExK2BTpEBXLRS1yK0KhtTapuyDGBwLDQSY5w==@ietf.org
X-Gm-Message-State: AOJu0YyQD1YHWQF+QS7N7dIrNkFoBh1x/G2jdROY0T4aNGsddj5ylBye EkCFeaJ89eiPV5ylzDXx1yRsoVQeZX1TXYlSGAUAz1Ray7jJki79
X-Google-Smtp-Source: AGHT+IHKS8MKTPQZ5IVRxdIOANjam/6945imjEbXbNRmYsYKr9hJbg8FBrYCFQuzdnYsRPq21y+ajQ==
X-Received: by 2002:a05:6a00:1a86:b0:70d:265a:eec6 with SMTP id d2e1a72fcca58-7192609113emr9744262b3a.13.1726255780437; Fri, 13 Sep 2024 12:29:40 -0700 (PDT)
Received: from smtpclient.apple (c-69-181-169-15.hsd1.ca.comcast.net. [69.181.169.15]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71909005869sm6626925b3a.91.2024.09.13.12.29.38 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Sep 2024 12:29:39 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\))
From: Mahesh Jethanandani <mjethanandani@gmail.com>
In-Reply-To: <172601796105.2968058.6235183032336170987@dt-datatracker-68b7b78cf9-q8rsp>
Date: Fri, 13 Sep 2024 12:29:38 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <D35A439C-7E43-425E-9944-C2CB3002D519@gmail.com>
References: <172601796105.2968058.6235183032336170987@dt-datatracker-68b7b78cf9-q8rsp>
To: Gunter Van de Velde <gunter.van_de_velde@nokia.com>
X-Mailer: Apple Mail (2.3654.120.0.1.15)
Message-ID-Hash: W2JUDMDXKLZUFYZQQ2OYQWVA5D3CLGPK
X-Message-ID-Hash: W2JUDMDXKLZUFYZQQ2OYQWVA5D3CLGPK
X-MailFrom: mjethanandani@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-netmod.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: The IESG <iesg@ietf.org>, draft-ietf-netmod-syslog-model@ietf.org, NETMOD WG Chairs <netmod-chairs@ietf.org>, NETMOD Working Group <netmod@ietf.org>, Kent Watsen <kent+ietf@watsen.net>, kwatsen@juniper.net
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [netmod] Re: Gunter Van de Velde's Discuss on draft-ietf-netmod-syslog-model-32: (with DISCUSS and COMMENT)
List-Id: NETMOD WG list <netmod.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/Nd2siN0raNhqw7zPioyMtizp10Q>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Owner: <mailto:netmod-owner@ietf.org>
List-Post: <mailto:netmod@ietf.org>
List-Subscribe: <mailto:netmod-join@ietf.org>
List-Unsubscribe: <mailto:netmod-leave@ietf.org>

Hi Gunter,

Just so you know, Joe and I were late additions as authors on this document, after most of the original authors had retired or moved on from the document.  As such, some of the motivations for design or reason for certain phrases are mere speculation on our part. 

See inline.

> On Sep 10, 2024, at 6:26 PM, Gunter Van de Velde via Datatracker <noreply@ietf.org> wrote:
> 
> Gunter Van de Velde has entered the following ballot position for
> draft-ietf-netmod-syslog-model-32: Discuss
> 
> When responding, please keep the subject line intact and reply to all
> email addresses included in the To and CC lines. (Feel free to cut this
> introductory paragraph, however.)
> 
> 
> Please refer to https://www.ietf.org/about/groups/iesg/statements/handling-ballot-positions/ 
> for more information about how to handle DISCUSS and COMMENT positions.
> 
> 
> The document, along with other ballot positions, can be found here:
> https://datatracker.ietf.org/doc/draft-ietf-netmod-syslog-model/
> 
> 
> 
> ----------------------------------------------------------------------
> DISCUSS:
> ----------------------------------------------------------------------
> 
> # Gunter Van de Velde, RTG AD, comments for draft-ietf-netmod-syslog-model-32
> 
> # Many thanks for writing this document. It contains one blocking DISCUSS,
> which will likely be straightforward to resolve and some non-blocking comments
> and observations.
> 
> #DISCUSS
> ========
> ## I am raising a DISCUSS. The inclusion of vendor-specific details in the main
> body of a standards-track document is unexpected (see line 165). If the Working
> Group wishes to document vendor-specific properties, it should be considered
> informational and explicitly placed in an appendix for clarity. Upon reviewing
> the YANG module, I note that the vendor-specific augmentations are already
> documented in the appendix. It may be beneficial for clarity to add a note at
> line 165 indicating that the referenced vendor-specific augmentations are
> detailed in Appendix A.1 and A.2.

We can do that. But I will agree that the wording of that paragraph could be improved. See suggestions below on how to improve the paragraph you refer to here, and the previous one.
.
> 
> 
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
> 
> #GENERIC COMMENTS
> #================
> ## The yang module has a significant amount of feature statement defines an
> optional capability that may or may not be supported by an implementation of
> the YANG module. Some of these at first glance look rather feasible for being
> supported by default. Has the list of optional capabilities been verified with
> existing syslog implementations?

There are two ways to deal with optional features in a YANG model. Define them, and then have implementations deviate them using the deviate option in the language, or provide feature statements that enable the feature to be included. RFC 7950 discourages the first approach, so the authors went with the latter option.

> 
> ## Some lines in the pyang tree output are wrapped, which affects the overall
> presentation. While this is not ideal, I do not have a better suggestion at
> this time. In my view, using abbreviations for leaf names would be less
> desirable from a modeling perspective than allowing wrapped lines within an
> IETF YANG standards document.

The tree output in the normative section of the draft is meant to help explain the design of the model. For that, the entire tree diagram does not need to be presented. The next update of the draft will abridge the tree output in such a way as to still be able to explain the design without the ugly line wrapping. A more complete tree diagram will be moved to the Appendix.

> 
> #DETAILED COMMENTS
> #=================
> ##classified as [minor] and [major]
> 
> 117     2.  Terminology
> 118
> 119        The term "originator" is defined in [RFC5424] : an "originator"
> 120        generates syslog content to be carried in a message.
> 121
> 122        The term "relay" is defined in [RFC5424] : a "relay" forwards
> 123        messages, accepting messages from originators or other relays and
> 124        sending them to collectors or other relays
> 125
> 126        The term "collectors" is defined in [RFC5424] : a "collector" gathers
> 127        syslog content for further analysis.
> 128
> 129        The term "action" refers to the processing that takes place for each
> 130        syslog message received.
> 
> [minor]
> rewrite suggestion for making the Terminology section more structured:
> 
> "
> The following terms are used throughout this document:
> 
> Originator: As defined in [RFC5424], an "originator" refers to an entity that
> generates syslog content to be included in a message.
> 
> Relay: As defined in [RFC5424], a "relay" is an entity that forwards syslog
> messages. It accepts messages from originators or other relays and sends them
> to collectors or other relays.
> 
> Collector: As defined in [RFC5424], a "collector" refers to an entity that
> gathers syslog messages for further analysis.
> 
> Action: Refers to the processing applied to each syslog message received.
> "

We will take these suggestions to improve the Terminology Section.

> 
> 160        This document addresses the common leafs between implementations and
> 161        creates a common model, which can be augmented with proprietary
> 162        features, if necessary.  This model is designed to be very simple for
> 163        maximum flexibility.
> 
> [minor]
> rewrite proposal:
> 
> "
> This document identifies common elements across implementations and defines a
> shared model, which can be augmented with proprietary features as needed. The
> model is intentionally designed to be simple, ensuring maximum flexibility. "

How about this to address your DISCUSS and the COMMENT?

OLD:
This document addresses the common leafs between implementations and creates a common model, which can be augmented with proprietary features, if necessary. This model is designed to be very simple for maximum flexibility.

Some optional features are defined in this document to specify functionality that is present in specific vendor configurations.

NEW:
The module defines leafs that are common across implementations. Its simple design is meant to offer maximum flexibility. However, not all optional features defined in this document are present in all vendor implementations. Vendors, therefore, need to use the feature statements to specify the optional features they support. At the same time, vendors can augment the model to add proprietary features. Appendix A.1 and A.2 show examples of how that can be realized.

Thanks

Mahesh Jethanandani
mjethanandani@gmail.com