Re: [Lsr] I-D Action: draft-ietf-lsr-ospfv3-extended-lsa-yang-04.txt

tom petch <ietfc@btconnect.com> Wed, 30 September 2020 10:13 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 371413A0A3E for <lsr@ietfa.amsl.com>; Wed, 30 Sep 2020 03:13:50 -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=ham 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 YUUpAjoC44W3 for <lsr@ietfa.amsl.com>; Wed, 30 Sep 2020 03:13:48 -0700 (PDT)
Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150114.outbound.protection.outlook.com [40.107.15.114]) (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 B88FF3A0A36 for <lsr@ietf.org>; Wed, 30 Sep 2020 03:13:47 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JfkSBHxVKTACIntSBYJZOiwckaeqUj6Kfb3Bj8jNQVcTFzDn10YSzZ63ON2BfTzPwU1SGomB+xeDFeArcHiL2IqdYNMHZ/9dVY8NUkBnhTUdAXbKG6tmKqSLsCXYDzVjfCLU/HgoNNQSqG3hTs0uhaJVFUGHDDK4k+2fXK66xWBvPeq1MaMPFugUHwxLI27DqUmucRYG11lCeM5vMe9CD84NtqwWeWnSi3RNI/fts9QR7fCC0SBaUNdv19akl7RwDLez0ryWKAhbDBnGpLBthsqRM/p8LXCfoJca/WClsYTHcdUTJ/6r4OJjU6tO8WLd+a0lyC/DDCNzhg2tkTx5Yw==
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=9NQxLuZy7R7V0TsPpPQpQVTB19SApjLWq/25XcWRIj8=; b=K3KMqeYlNPjYLRQ9/6vquYRT01GGDW4CRKg9bneg7hYBkHuaVd/MNGYHefjHPbfuZoh4v5Oz+v5GKwju5IC/MKDq8CNXJvztWa15jJLPi/KUxwvrrIbCwyng/+GFA/HG3lidKIumqptL1Ey6Dcpjindkk8G6nZcKopGfq4/fh0K8bh95iNetQlXp7wn67okRFhB7mWh7Ocg8/AXs9NDTp6RPggWPZd9V478oe6AVbLSfmAcWofauh85ZEc8eMB1m6PjLe+u208yqKrc7+NQsXXUctii79sxOJn5GskYMj9cTxafa39lxGF0phijtDHEu9GrR4wde590ORFs13cr5yg==
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=9NQxLuZy7R7V0TsPpPQpQVTB19SApjLWq/25XcWRIj8=; b=DQeswNlVn/l4/S5smSy483toujJ4JwrFgRzar2TFO0/+4Gqq0qOpTDv6AE5SDzt1Wa/fGHxFQ00XeE9ftW/ypykO71/0dq0XFoEmjf7x+XBHqQurxKHDzJT7IGaiCE4dEaUq1ymGMH5v095Vl/XrBhywA7XQORyTeR2kc2SLZt8=
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com (2603:10a6:20b:134::11) by AM6PR07MB4503.eurprd07.prod.outlook.com (2603:10a6:20b:1e::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.18; Wed, 30 Sep 2020 10:13:41 +0000
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::bcaa:4f79:2802:9bf]) by AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::bcaa:4f79:2802:9bf%9]) with mapi id 15.20.3433.035; Wed, 30 Sep 2020 10:13:41 +0000
From: tom petch <ietfc@btconnect.com>
To: "Acee Lindem (acee)" <acee@cisco.com>, "lsr@ietf.org" <lsr@ietf.org>
CC: Yingzhen Qu <yingzhen.qu@futurewei.com>
Thread-Topic: [Lsr] I-D Action: draft-ietf-lsr-ospfv3-extended-lsa-yang-04.txt
Thread-Index: AQHWcSuRIOkUrehz7UmLs62i8LmET6k1yPk6gEqoOYCAAMvV+w==
Date: Wed, 30 Sep 2020 10:13:41 +0000
Message-ID: <AM7PR07MB624874BC3DDB9EF8D0074DB4A0330@AM7PR07MB6248.eurprd07.prod.outlook.com>
References: <159729345724.32598.10798369052469436120@ietfa.amsl.com> <AM7PR07MB62480BC77EABB838C031CA20A0430@AM7PR07MB6248.eurprd07.prod.outlook.com>, <316D1B5E-F709-4598-8998-4F6368569CD1@cisco.com>
In-Reply-To: <316D1B5E-F709-4598-8998-4F6368569CD1@cisco.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: cisco.com; dkim=none (message not signed) header.d=none;cisco.com; 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: 9de9c29c-7141-42d4-a710-08d8652981a4
x-ms-traffictypediagnostic: AM6PR07MB4503:
x-microsoft-antispam-prvs: <AM6PR07MB45039A5CC836BB66CB08BDCBA0330@AM6PR07MB4503.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: nf6XX2YRQ6WVL69gy4EZOGSdmivgd42y7PCsBU08Yn6CiVLzxEJnSUR1aZInFC6WuiX58NDMPbr/b1PIefvLmiIKZTERvaNTJhVvBBf3Jom0FMMvLv0+siAV1Jy+BBpqczoH/HLWp3bkGxXqA0yl7qHIJbIiKLBlRDJe0eDlVGfRpU6CfCsupPw4V+ut5C2pF4uIG0AbHAFrhyWnQBevQhexYXJoWBrtKYelr79I7X7oaBNClfP/Lqm2kBN/SFnA9vHzOCcFErlmRzGc2WZYL3tA3dsq1WNEF2Pdklk6lHZWg359rMWasK3hjI5wZzEHDpsxjD5f25CO//Ipvn0+t+I+f3pIML4gPkR5EAGMBIfOkealGl6vo1lHAHqRwnsa0V5q4mIIll13scSyJ3csmQ==
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:(346002)(39860400002)(136003)(366004)(376002)(396003)(76116006)(91956017)(4326008)(5660300002)(2906002)(71200400001)(66446008)(66476007)(66556008)(64756008)(6506007)(7696005)(52536014)(9686003)(83080400001)(55016002)(478600001)(966005)(86362001)(8676002)(8936002)(83380400001)(316002)(186003)(110136005)(66946007)(33656002)(66574015)(26005); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: JRGB4iHhY1LtTJ0fqtzbgzhkhOP56EAUOONNMzKRPS5luX0d02qX2fsLOp08hy5kHusFAbe+w/+f0lmy7orCoC9JAfF5ljsLFng9TDRL8VYqKdaoigGRrHz9Op+PBgZoHMeKVSetIeB3U4kNujdfPGQYjDhH8cjo2CaO9um+DWsxMnxnTYMlyzPmWC2glFyJ+nJ7t3OKVomVmxlgsjoMNyiTqv8fmeCJIwBDlC7c/7ARBWvldlOq/v7QYC4zyNS7Su10DKs6+MR1/aaxQeR2NWkhhM2Xq3e952Bw+BRLa2yJPWFuOOv3OM7iKDTVSjxidxyL2owMB1lWa+B8QkxqCqtBl92qp1eoIUpTK2G4eQjrHEci4rCy/wAAm936iBLkVua3UA37uUXrfX4AgGRxl/6KIl+VXN3wQgfhuqoxfjrEnoh/icTOW94BVWV+eSCeZmGYFoFmDl3y17+49klNCDGstpaTzDbIi8K+rUPiOTblC2nQ2ohKgsDwqvqohh1hhiwFYlX57L5PZQJw+NTLdtGOs9QmqfXcGBgf0+96KkF3N6BjZAPk6TCcyWuI3HGwVyKGrFWp7cHNyw2xABfFjRtvqu7Nw5/irnV+AzzcB8qMcoQLJSmLWU7prSUcfFEv/oMeK9X0nvo2L3qO2ZbgTA==
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: 9de9c29c-7141-42d4-a710-08d8652981a4
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Sep 2020 10:13:41.4498 (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: RVguxnN7TYAmlB0Z7+QVbF/Ao7quWEczLymrRSGrQwMKMus8zalZvSLsOgdU5UR2XDRT7Hq0NzBIUp6DYe1jKQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR07MB4503
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/ab5z_mmvcIcrJcC_h665qzOD2KE>
Subject: Re: [Lsr] I-D Action: draft-ietf-lsr-ospfv3-extended-lsa-yang-04.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: Wed, 30 Sep 2020 10:13:50 -0000

From: Acee Lindem (acee) <acee@cisco.com>
Sent: 29 September 2020 22:44

Hi Tom,

We can add the references. See ACEE>.
<tp>
Yes please - it will make it easier for me to review

On 8/13/20, 6:03 AM, "Lsr on behalf of tom petch" <lsr-bounces@ietf.org on behalf of ietfc@btconnect.com> wrote:

    From: Lsr <lsr-bounces@ietf.org> on behalf of internet-drafts@ietf.org <internet-drafts@ietf.org>
    Sent: 13 August 2020 05:37

    I said before that it was tough to review because of a lack of references in the YANG module and that remains true.
    You have two Boolean to enable extended LSA on for ospf, one for area.  Yes, the answer is in RFC8362 but it tells me the YANG module is wrong - and it took me some time to find it.  RFC8362 defines two parameters ExtendedLSASupport and AreaExtendedLSASupport and the latter is not in the model; yes you have a Boolean under area but I think its meaning requires a reading of RFC8362 Appendix B and that is missing and the description is unclear and the name is wrong.  Also the RFC has a SHOULD in it which the model does not implement.  You reference s.6.2 but I think that wrong, that it is Appendices A and B that describe this.

ACEE> What is the SHOULD that isn't implemented?

<tp>
The very last sentence of RFC8362 about the interaction of ExtendedLSASupport and AreaExtendedLSASupport; YANG has 'must' not 'should' and I would be inclined to make this a YANG 'must' but it you think that that is too much, then a comment in the description is needed IMHO

    On type, you say there are three possible values. Precisely.  Can you have the type set to 'ospf' and support ospfv3?  If so, your model fails.  Or does ospf-yang only allow the type to be ospfv2 or ospfv3 and bar the use of ospf per se?

ACEE>"ospf" is the base identity for  "ospfv2" and "ospfv3". So, if a container is applicable to both, no when constraint is needed. However, if it is applicable to the one or the other, a "when" constraint. It is common to do this in YANG. This module is applicable only to OSPFv3.

<tp>
Yes, my question is more about the base ospf model about the valid values that can appear in rt:type; is ospf per se a valid value of type or must it be either ospfv2 or ospfv3?

    The reference statement after the description could do with a title as you have for the revision description

    My point about link type is that you are augmenting ospf-yang which uses an enum so in places users will be required to use an enum and in others a uint8 which could be confusing

ACEE> I don't get this. We don’t augment link-type.

<tp>
Yes,  In base ospf.yang  link type is YANG type enum but in this it is type unit8 so modelling the same object with two different data types I think might be confusing.

Tom Petch

Thanks,
Acee

    Tom Petch

    A New Internet-Draft is available from the on-line Internet-Drafts directories.
    This draft is a work item of the Link State Routing WG of the IETF.

            Title           : YANG Model for OSPFv3 Extended LSAs
            Authors         : Acee Lindem
                              Sharmila Palani
                              Yingzhen Qu
            Filename        : draft-ietf-lsr-ospfv3-extended-lsa-yang-04.txt
            Pages           : 27
            Date            : 2020-08-12

    Abstract:
       This document defines a YANG data model augmenting the IETF OSPF YANG
       model to provide support for OSPFv3 Link State Advertisement (LSA)
       Extensibility as defined in RFC 8362.  OSPFv3 Extended LSAs provide
       extensible TLV-based LSAs for the base LSA types defined in RFC 5340.


    The IETF datatracker status page for this draft is:
    https://datatracker.ietf.org/doc/draft-ietf-lsr-ospfv3-extended-lsa-yang/

    There are also htmlized versions available at:
    https://tools.ietf.org/html/draft-ietf-lsr-ospfv3-extended-lsa-yang-04
    https://datatracker.ietf.org/doc/html/draft-ietf-lsr-ospfv3-extended-lsa-yang-04

    A diff from the previous version is available at:
    https://www.ietf.org/rfcdiff?url2=draft-ietf-lsr-ospfv3-extended-lsa-yang-04


    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/


    _______________________________________________
    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