Re: [netmod] WG Last Call for draft-ietf-netmod-syslog-model-15

Kent Watsen <kwatsen@juniper.net> Wed, 12 July 2017 21:55 UTC

Return-Path: <kwatsen@juniper.net>
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 8F714126E3A for <netmod@ietfa.amsl.com>; Wed, 12 Jul 2017 14:55:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.022
X-Spam-Level:
X-Spam-Status: No, score=-2.022 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=juniper.net
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Um2dfKSE7QUQ for <netmod@ietfa.amsl.com>; Wed, 12 Jul 2017 14:55:37 -0700 (PDT)
Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0094.outbound.protection.outlook.com [104.47.37.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 17A05129B36 for <netmod@ietf.org>; Wed, 12 Jul 2017 14:55:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=IXDd2ndcJ4x+EchVMSkLU7X3pswxxY4OQauaXCjLwaQ=; b=GxWqihUE/SAIExuOwUul9V5HUwB5qc1qcBPNjdBf1hiNvCBCtJRDAE7+I7EYYlXEqqQ3MhJodWaM46VAO2oKuLb5gKwdJ/RHfVjx6g5YOf3KVOyX9E1DoY64lYAJlwSW4uTCuy3SQmQIxrUCSrSe5pGk5vNfehKsMSyzOuK6M2k=
Received: from CY1PR0501MB1450.namprd05.prod.outlook.com (10.160.149.11) by CY1PR0501MB1532.namprd05.prod.outlook.com (10.161.161.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.5; Wed, 12 Jul 2017 21:55:35 +0000
Received: from CY1PR0501MB1450.namprd05.prod.outlook.com ([10.160.149.11]) by CY1PR0501MB1450.namprd05.prod.outlook.com ([10.160.149.11]) with mapi id 15.01.1261.012; Wed, 12 Jul 2017 21:55:35 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] WG Last Call for draft-ietf-netmod-syslog-model-15
Thread-Index: AQHS+qgfFNU1WyBT406RudsboUthDA==
Date: Wed, 12 Jul 2017 21:55:35 +0000
Message-ID: <A9577A53-2B74-49E5-B87A-118C4AC4E2ED@juniper.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/f.20.0.170309
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=juniper.net;
x-originating-ip: [66.129.241.10]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; CY1PR0501MB1532; 7:cJmSBtRHIJeL7CR/iQ/sJsm0pw22OUfn5Ok+d/9MnhMqvhjagzPvDDcbzFvYIqumusxiDCGsNNd111GVx5ciwhZcP6Miz6JmfEphsm3o1Pm5pSozOB0rKeTtXnYFNvhmmhcRlqasjXzM8CwiqrOyiG6dKcFViJ7bKXJh79ssfxu4g1mxJopadE9+AWb1Ycv96vGjT6ihsVTOeYS0Y2AvIgRuD6tMIK+CGqlnRvfPmModkyMxP8HMNbnuT5J5wmz7VcoWrJ9YrG+vtckBJFwYXHy0Icnk8mr2T3Ocp+tJKumagVapJbXidCTT7p7+CFefDiTOLuSzI/sxmHUZ68Kcj8Hg4pmj2yzymYGSniu25ay4+Zpl2e+SjkhuKOMENnm6BSM3NJUooMU7SnA9xqbe9JjeRbM7bQovGZHXKSZXkHrIKPuY6f7tUWkJKLVh5scxSX/3d/NqabOQnrg0GV178NqwkOHwb/ou0oEntsRlaT4Iy9tpCm7bjJyFgxffkw6sfDldnzgPAEAaX2j+4dDxveG9oE9wuh5hk1SsdV2VHbHDVW2qXxcn/45s0cjh4Zcyu8XZpHWD3H2b7oZ3PZdl90xnvBqHU3gwztEN/g280oRE42kPRGpN8/2yzZfRuG1IXl3c3Ka6v+/fpkkNQPo/022rlkCFWuhlsVLRuvtDIC0ACZRzOAsJZe3e5hbHnRVNHAFsdw2DcAZcIMhwG3O4vQMo4Umr0BRTTorxA4wXZwPEj/vWShBhJg7FrToKc+1Jnhoce9Wlc88ey+Dyg2KCxqWWIaxBuI6N4IZNFhlS1nU=
x-ms-office365-filtering-correlation-id: f097976b-51a8-41b1-406a-08d4c970b995
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(300000503095)(300135400095)(48565401081)(2017052603031)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:CY1PR0501MB1532;
x-ms-traffictypediagnostic: CY1PR0501MB1532:
x-exchange-antispam-report-test: UriScan:(278178393323532)(158342451672863)(236129657087228)(788757137089)(148574349560750)(247924648384137);
x-microsoft-antispam-prvs: <CY1PR0501MB1532AD5ABE1B503FA9C76F36A5AF0@CY1PR0501MB1532.namprd05.prod.outlook.com>
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(2017060910075)(5005006)(10201501046)(93006095)(93001095)(100000703101)(100105400095)(3002001)(6055026)(6041248)(20161123562025)(20161123564025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY1PR0501MB1532; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY1PR0501MB1532;
x-forefront-prvs: 036614DD9C
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(39450400003)(39410400002)(39860400002)(39840400002)(39850400002)(39400400002)(51444003)(57704003)(38564003)(230783001)(54356999)(2501003)(83716003)(5660300001)(229853002)(2906002)(6486002)(82746002)(3280700002)(77096006)(3660700001)(6506006)(99286003)(6916009)(6306002)(50986999)(6512007)(86362001)(3846002)(305945005)(102836003)(6116002)(6436002)(33656002)(83506001)(7736002)(5640700003)(53936002)(2351001)(8676002)(8936002)(81166006)(6246003)(110136004)(1730700003)(14454004)(38730400002)(966005)(66066001)(36756003)(478600001)(25786009)(2900100001)(189998001)(4001350100001); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0501MB1532; H:CY1PR0501MB1450.namprd05.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <55EF3D0E3A30CA4EB6518F478F729804@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jul 2017 21:55:35.2075 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0501MB1532
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/10lo41Ud4A3ZN11s-0gOfCe8NSE>
Subject: Re: [netmod] WG Last Call for draft-ietf-netmod-syslog-model-15
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Jul 2017 21:55:39 -0000

As shepherd, yang doctor, and individual contributor, following is 
my LC/YD review.

1. Because I know this draft will not be presented in Prague, I first
checked to see if it was NMDA-compatible.  The draft contains just
one module, and it only contains config true nodes (no config false
nodes).  There is no companion "-state" module in the Appendix.  As
far as I can tell, all this is accurate, as I don't believe this 
module needs to do anything special to be NMDA compatible.  Agreed?

2. the abstract seems just a little bland.  Is there any way to beef
it up with a sentence or two?

3. S1, P1, last sentence.  s/the messages/these messages/?

4. S1, P3, 1st sentence: "and processes those"?  - rewrite sentence?

5. S1 as a whole.  I'm a bit unclear what this section is doing.  It
seems to be a general summary of Syslog (RFC5424).  Do we need this here?

6. S1.1: you should also reference RFC8174 here.

7. S1.2: three terms come from 5424, but only one has its definition
   provided.  This seems inconsistent...

8. S2: s/6020/7950/

9. S3, P3: this paragraph is hard to read due to the previous paragraph
talking about proprietary features.  Maybe replace the beginning of the 
sentence to read "Some optional features are defined in this document
to specify"?

10. S3, P4: The diagram appears to show multiple originators, not 
just one, so s/an originator/originators/?  Also, I don't think 
either of the commas are needed.

11. S3, P6: This paragraph starts a new aspect of the design, right?
This is likely just a text-rendering issue, but the transition from
the diagram above (Figure 1) to this line is not visible.  Can you
provide a transition sentence?

12. S3, P8: I'm having trouble understanding the pseudocode.  What
happens if S and/or F are not present?  Can S or F ever not be
present? - looking at the tree diagram, it seems like they might
always be set to something in the model.

13. S3.1, P1: RFC 6087 did not define tree diagram notation, and
rfc6087bis references the tree-diagram draft.  I don't think that
it is safe for this draft to reference the tree-diagram draft, as
that draft is unstable (the notation may change).  You should 
probably copy/paste the Tree Diagram Notation section found in
other drafts today (especially mine).

14. S3.1: is /syslog/actions/remote/destination/tls/ missing an
'address' leaf?

15. S4.1, P1: Doesn't the module import *groupings* from ietf-keystore
and ietf-tls-client?

16. S4.1, though it's not in 6087bis, I think that it is best
practice for 'import' statements to include a 'reference'
substatement:

  import ietf-keystore {
    prefix ks;
    reference
      "RFC YYYY: Keystore Model";
  }

17. S4.1, imports that are used for groupings only should use a
revision statement:

  import ietf-tls-client {
    prefix tlsc;
    revision-date YYYY-MM-DD; // stable grouping definitions
    reference
      "RFC ZZZZ: TLS Client and Server Models";
  }

18. S4.1, can you put the beginning of the 'organization' (i.e. "IETF")
on the next line, s/NETCONF Data Modeling Language/Network Modeling/,
and put a blank line in after the 'organization' line?

19. S4.1, in the 'severity-filter' grouping, why does leaf 'severity'
have values set for enums 'none' and 'all'?  When would these values
be used, as opposed to the enum's name string?  If you do need values,
then shouldn't 'none' be 2147483647 (so nothing can be greater than it)
and 'all' be -2147483648 (so everything is greater than it)?

20. S7: can you indent the two blocks of details so the whole thing
reads better?

21. S8: please rework so this section so it matches the new template
at: https://trac.ietf.org/trac/ops/wiki/yang-security-guidelines

22. S8.1: it would be better if the third paragraph was moved up to
become the first paragraph.


DISCLAIMER: I'm not a syslog expert, but have interacted with it,
including structured-syslog, over the years.

Kent