Re: [Lsr] I-D Action: draft-dontula-lsr-yang-dynamic-flooding-03.txt

tom petch <ietfc@btconnect.com> Tue, 13 October 2020 11:34 UTC

Return-Path: <ietfc@btconnect.com>
X-Original-To: lsr@ietfa.amsl.com
Delivered-To: lsr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 781073A0DEC for <lsr@ietfa.amsl.com>; Tue, 13 Oct 2020 04:34:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.onmicrosoft.com
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 SZukighp7rrD for <lsr@ietfa.amsl.com>; Tue, 13 Oct 2020 04:34:54 -0700 (PDT)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80104.outbound.protection.outlook.com [40.107.8.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6538B3A0F61 for <lsr@ietf.org>; Tue, 13 Oct 2020 04:34:52 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TBHYE7IQaYnCH/tT1P1MKiXGro1UZarvWeOtFMAGZkET2fEXZ1jQLaRHDVCBoOYnZWJpSR4ZWrk1OvZVZjNwysAK3tH6BG8fzvRshQI32zsQ2enuLfDJhNYSYcDIisgNXFf/dT6TS5utSbmh+5YHge4y/xllOg5F1f7qXogNaCvaa7/XplmLf27bmg/Z7Qm1gDCX44SEVgUdXPhWxrDrjw73yuFiw5fiMtHuVJq4hi+OKPvE/uPWc43P0vSu6nBtaF8zJgxa75DOhRVHB3UPsQrW/ZRI3+57YR94YB8qpmUEBzvJbvr59UNiQKuuUZm0VfhXR11egEFaNhhSdJWnBw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GUIFqlZUCcnvEsH3iqUCRRA1//Xf24LSOVr/s0e/cZM=; b=l72oZYnf7MjvxY+WtE70uAQsfcz1k6hVhB/mjmw3LV9nOijZBUB0yNelIb75khLBDKWrB+TbfTGmhAPAJifPuZToWXG/xyPOYWucmpw0SaOC/rJ0Jg1CfG6r2IABxE089xZs3iN7qe1g9v6ylE7AW4uDjBp+3RZWDgsyxkjFi8tlNPwcgnR7Bf8IekM3tdrijvREkX4nGo9dVOJ6ZX3iWsfvc1zFk1OJ8KvZAxwbNLroDsUIyGN1PlhaVZDewaSKKXDeu5Hmn95OVPxXFjBQP5i/4kLr9NJLIROCafdmzn3lCCszrfnoQZ3HAfDME2JLagY9WkJa2QKOyW59HI05VA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=btconnect.com; dmarc=pass action=none header.from=btconnect.com; dkim=pass header.d=btconnect.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector2-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GUIFqlZUCcnvEsH3iqUCRRA1//Xf24LSOVr/s0e/cZM=; b=NjvB9wdbGiAfvvZ2L9wDNWnmpy8SCZDJePuHXjUD0HaRRUVpSvK21EFaxgtgDAdoiskhDSs626Kwx7N2A2zUockOzNEBvKvOGZB3X/N0fiPkzgp9ajEh98wMV5+hT8+rCoOS6vsJP8VRTWZgqUt5RVfje5nhcwLISPxvC/eDfQE=
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com (2603:10a6:20b:134::11) by AM6PR07MB5720.eurprd07.prod.outlook.com (2603:10a6:20b:93::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.11; Tue, 13 Oct 2020 11:34:49 +0000
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::ad44:1086:3767:a804]) by AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::ad44:1086:3767:a804%7]) with mapi id 15.20.3477.018; Tue, 13 Oct 2020 11:34:49 +0000
From: tom petch <ietfc@btconnect.com>
To: "tony.li@tony.li" <tony.li@tony.li>, "Acee Lindem (acee)" <acee=40cisco.com@dmarc.ietf.org>
CC: "lsr@ietf.org" <lsr@ietf.org>
Thread-Topic: [Lsr] I-D Action: draft-dontula-lsr-yang-dynamic-flooding-03.txt
Thread-Index: AQHWi3nsjeBx0nOhLk6id8R9+t4XAalqNEYAgCtXKYI=
Date: Tue, 13 Oct 2020 11:34:49 +0000
Message-ID: <AM7PR07MB6248977A6263E78C1901E4E4A0040@AM7PR07MB6248.eurprd07.prod.outlook.com>
References: <83C65E45-521B-4AD4-A735-E3925A6B2ED9@cisco.com>, <DBE8F41B-98DB-4BF2-8FD9-08DED048286B@tony.li>
In-Reply-To: <DBE8F41B-98DB-4BF2-8FD9-08DED048286B@tony.li>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: tony.li; dkim=none (message not signed) header.d=none;tony.li; dmarc=none action=none header.from=btconnect.com;
x-originating-ip: [86.146.121.140]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 689bb0d6-0b75-4ce2-ff16-08d86f6bfe6f
x-ms-traffictypediagnostic: AM6PR07MB5720:
x-microsoft-antispam-prvs: <AM6PR07MB5720AE0DF44566AE62789982A0040@AM6PR07MB5720.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: JUCf+fvQcGffHBlLrBAMr/vZ7XpgqTtkDlQUaonsD7HWEsQUirfZnU9X6zRnKUBSHjEzhfUXzj91kS864AEOhVVBraVPswvEqgir6Fqr6LpjyIc8D7lIXZ8o71b7FkY2SRGQ1guhRfcef3baon+OElQzI2bu2gCXcMT9V2K71pl7dIT35zq6dueGYr8KfCDbDDJAy4AXKL9YACWLyoKec+07jDLf2/92kpCe/GquxubRUi+aDJ7ZTwKIqfZXIrbNd7FoHG2SZChz51i+KBRxw9yXWRh/dQXmWrXqAzKAvnEvV/qufgbTFV4b+qvRikerVbA7xmO8q48Unw8bG0y6URNNQovwcVenWy+vppn/X03XkRhiJBCkUTcRiBYh3+lGZUcZopEyXcbafWzx6bGnNQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM7PR07MB6248.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(136003)(346002)(396003)(366004)(376002)(39860400002)(8676002)(4326008)(91956017)(76116006)(64756008)(66476007)(66446008)(66556008)(66946007)(2906002)(52536014)(8936002)(83380400001)(110136005)(5660300002)(66574015)(316002)(33656002)(186003)(966005)(478600001)(55016002)(7696005)(26005)(9686003)(86362001)(83080400001)(71200400001)(6506007)(53546011); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: N7o6FUJxherpFnZu0SHFxtlqfQpr119okerl+DSSUfR4UCu1WkFEe6pyPO986R2OjDHRRF0cw5SIclabVlECqmQQY/xBgC5Q66X7FDlyBy1nhhnmivqT1zkJLUI6D+JbxAYFu47zYhbUzU59cyvDAaU4cTuoO8KmlvbzK7MJrK+nKFO+q+bMXcqtnHjviqJ/ndBdPUKM/8b2R/ys2U0Ka33159VaYUWqTFFv3l79rbuPXaFPef97cg7BlxbGWJbufQvfmGlSm225veYWc4qiI7wdf1jvFWtVJFgGsVP9gVODHPzuIoqw90pIuj7pEieY58e518CaQ+OCMTBBtKzxxb6lorcR8Y4J51n+a7hGXbzcdZe0eWIu+Mt5Vh6BWBMtoH0oASa8FMS1rSHaIzEOXa/AdVzFHNCy8XjoFKr3NS3EesRBgfjsHJMxk9bhp2lUmA0xh5s8r3tZ7AcJeioF2BrlIUpmvEcK+z+vTEvoMIlEA2xCUPYO5lAOEHvExaj5cGwHNd+DnMKe6kT0fzO31gAhGbEd/44nmUK7V4ppmXRuf1ni6gc7h2Sj+W/swYT4uiqdiZI+IH2dCmL5dxbiok/0V5XjmPlJ9eyXFwz630YBHKyRRwfJE7pY4eWij11VH83hdw+2g7q7njJuWIX57w==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM7PR07MB6248.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 689bb0d6-0b75-4ce2-ff16-08d86f6bfe6f
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Oct 2020 11:34:49.3095 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: aHwaIqj3SXyG9wHJO4qJ59ugUfOu5gTC0OVEL1YCEsq9SO8XEv3fp4H3SEnf9hN+wc8TXEyfHxxs7Dvn27ktFA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR07MB5720
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/qrlUX3kXhMmG8Mb1yKvWFLKwGCA>
Subject: Re: [Lsr] I-D Action: draft-dontula-lsr-yang-dynamic-flooding-03.txt
X-BeenThere: lsr@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Link State Routing Working Group <lsr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lsr>, <mailto:lsr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lsr/>
List-Post: <mailto:lsr@ietf.org>
List-Help: <mailto:lsr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lsr>, <mailto:lsr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Oct 2020 11:34:58 -0000

From: Tony Li <tony1athome@gmail.com> on behalf of tony.li@tony.li <tony.li@tony.li>
Sent: 15 September 2020 22:17

Our apologies.  We’re on it.

<tp>
Thank you, -04 is much easier to digest although perhaps not easy:-(

I think that the I-D needs to decide what to do with OpenConfig which appears a lot in one module and makes it hard to read.  If this is going to be an IETF module, then I think that it all has to go, perhaps via an appendix while the I-D is under development.

The lack of text makes it hard to know what is intended.  I reverse engineer the YANG to find out what it is meant to do and lo and behold the YANG does just that.  I think that the base OSPF YANG module gets it just right with its mix of text and tree diagram, so I can see what it is trying to do, see at a high level and then go to the detail of the YANG.  Several other routing area I-D are similar although by no means all.

Also the lack of references, or the minimal descriptions, or both make it hard to follow. so algorithm is uint8, connection type is uint8, what is an ID in number of IDs?, index is uint16, priority is uint8 but what is high what low? and so on.  I should not need to know lsr-dynamic-flooding off by heart in order to make sense of this.

And
- Security Considerations is plain wrong; go read YANG Guidelines:-)
- IANA Considerations ditto
- XXXX is used as a placeholder for two different I-D
-  ietf-ospf-dynflood would be consistent and less error prone IMHO
- RFC6991, RFC8349 need to be Normative references
- Introduction should reference OSPFv3
- objects and identities relating to TLV need references - they are ever harder to find in the IETF literature
- ospf should be capitalised, LEEF probably not
- several abbreviations need expanding on first use perhaps in a terminology section; usually there is one such for YANG terminology
- I wonder if ospf-dynamic-flooding would be a better feature name given there are the two of them side-by-side

Tom Petch



Tony


> On Sep 15, 2020, at 9:04 AM, Acee Lindem (acee) <acee=40cisco.com@dmarc.ietf.org> wrote:
>
> It looks like some unfortunate tab settings at least for the OSPF model...  Note that pyang can be used for formatting.
>
> pyang -f yang <model-file> --yang-line-length 68
>
> On 9/15/20, 11:47 AM, "Lsr on behalf of tom petch" <lsr-bounces@ietf.org on behalf of ietfc@btconnect.com> wrote:
>
>    The formatting of this I-D seems to have gone wrong making it hard to read and review.  The indentation of successive lines of the YANG module is more than it usually is.  This was a problem with -01 that was not present in -02 but has now returned in -03
>
>    Tom Petch
>
>    From: I-D-Announce <i-d-announce-bounces@ietf.org> on behalf of internet-drafts@ietf.org <internet-drafts@ietf.org>
>    Sent: 14 September 2020 22:15
>    To: i-d-announce@ietf.org
>    Subject: I-D Action: draft-dontula-lsr-yang-dynamic-flooding-03.txt
>
>
>    A New Internet-Draft is available from the on-line Internet-Drafts directories.
>
>
>            Title           : YANG Data Model for Dynamic Flooding
>            Authors         : Srinath Dontula
>                              Tony Li
>            Filename        : draft-dontula-lsr-yang-dynamic-flooding-03.txt
>            Pages           : 26
>            Date            : 2020-09-14
>
>    Abstract:
>       This document defins YANG data models that can be used to configure
>       and manage Dynamic Flooding for IS-IS and OSPF.
>
>
>    The IETF datatracker status page for this draft is:
>    https://datatracker.ietf.org/doc/draft-dontula-lsr-yang-dynamic-flooding/
>
>    There are also htmlized versions available at:
>    https://tools.ietf.org/html/draft-dontula-lsr-yang-dynamic-flooding-03
>    https://datatracker.ietf.org/doc/html/draft-dontula-lsr-yang-dynamic-flooding-03
>
>    A diff from the previous version is available at:
>    https://www.ietf.org/rfcdiff?url2=draft-dontula-lsr-yang-dynamic-flooding-03
>
>
>    Please note that it may take a couple of minutes from the time of submission
>    until the htmlized version and diff are available at tools.ietf.org.
>
>    Internet-Drafts are also available by anonymous FTP at:
>    ftp://ftp.ietf.org/internet-drafts/
>
>
>    _______________________________________________
>    I-D-Announce mailing list
>    I-D-Announce@ietf.org
>    https://www.ietf.org/mailman/listinfo/i-d-announce
>    Internet-Draft directories: http://www.ietf.org/shadow.html
>    or ftp://ftp.ietf.org/ietf/1shadow-sites.txt
>
>    _______________________________________________
>    Lsr mailing list
>    Lsr@ietf.org
>    https://www.ietf.org/mailman/listinfo/lsr
>
> _______________________________________________
> Lsr mailing list
> Lsr@ietf.org
> https://www.ietf.org/mailman/listinfo/lsr