Re: [yang-doctors] Yangdoctors early review of draft-ietf-opsawg-l3sm-l3nm-03

Oscar González de Dios <oscar.gonzalezdedios@telefonica.com> Mon, 19 October 2020 11:47 UTC

Return-Path: <oscar.gonzalezdedios@telefonica.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 61C153A0B78; Mon, 19 Oct 2020 04:47:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.202
X-Spam-Level:
X-Spam-Status: No, score=-0.202 tagged_above=-999 required=5 tests=[DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-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=telefonica.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 7jPa36C4RULJ; Mon, 19 Oct 2020 04:47:03 -0700 (PDT)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70135.outbound.protection.outlook.com [40.107.7.135]) (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 5C8F93A0B76; Mon, 19 Oct 2020 04:47:02 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mNlR/Munp2nI1xYWEPoF74wNUs9spiCdcn/9sDZ54bI1gPInb8dl4xR4ZniCHL/JYJQQAprcNoTpm0iFa9/xEQFbiLl0BPtSz6cBVPTxqZjJuMOLkIhEV90dySaNmo7KXkfyHQAqeu+Lx1wE2fk63z44hT+vB5iPyxy7/QipONQioCmnqFKQUdh5qaNSnwOtQ3POo30Df6ca0X4x22TJa7R3Ok4mZVBOlNb/ETkL9wE5vRb+AzRqcMd5AA6cgeUFJanPUfWlakzEy8S4BVO+ibMCClvwEDoHlqVzwHqtQo3Yz14AOJ0CtsjHDGnLw22MYH0CSw5w0WrRjPV1JKMdCQ==
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=Sgp+ABDwu6GIh9tCxcn+shPVT3dBRuicvRf6eDT7zQM=; b=lNcizi2TtkYxJZhr0Hg+SkZRZlu2zt8TyriMtlAJ0MJOwMxoTFzxbdIfMES+9lwgg8Con7fsyL32DshUiBSxFS6wFDt1iiAPsQWlxYg3/Kkp7dCPF/RORLzn/AN5Wbnhh9ITKO6ewzHaF7/jidaAOkJymJsqJ/T63+nqxPsRoByhPupYjSoKf7Akq0uuxxIcsruQRFXBUdKTOODW3Rw5KGPQGrAfpaUN1jhJKHBG6FsHHcEC9g8BitvPJyn9S0N3PMpzQeORZoMJ+61o24Ang3LGfdYTc7olaoUFM2HGjTGprYDmDvrjZ9WM0dRjWASWde5Sqgpv4ZVBgJk5H8H/Ww==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=telefonica.com; dmarc=pass action=none header.from=telefonica.com; dkim=pass header.d=telefonica.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telefonica.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Sgp+ABDwu6GIh9tCxcn+shPVT3dBRuicvRf6eDT7zQM=; b=EBOC2Dudf4aFQxH9Hfb/+Cy4UKcLXL5uW8vkgM0Tsn32UmJ6tFAxupz3Lbk6TDghQwd1MQ0jkttd7fQKaxmEFmeOkTIoZmxSVbL+NM5xSWvTuTnBFk2GiCeD2lX4r1S1DNLdZusKyRqHFv3HX1wV7WpO6fM/wOgembpvSP2YEto=
Received: from AM6PR06MB5653.eurprd06.prod.outlook.com (2603:10a6:20b:96::26) by AM6PR06MB5367.eurprd06.prod.outlook.com (2603:10a6:20b:82::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.21; Mon, 19 Oct 2020 11:46:59 +0000
Received: from AM6PR06MB5653.eurprd06.prod.outlook.com ([fe80::e4b7:7c12:a105:e1b3]) by AM6PR06MB5653.eurprd06.prod.outlook.com ([fe80::e4b7:7c12:a105:e1b3%5]) with mapi id 15.20.3477.028; Mon, 19 Oct 2020 11:46:59 +0000
From: Oscar González de Dios <oscar.gonzalezdedios@telefonica.com>
To: Radek Krejčí <rkrejci@cesnet.cz>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>
CC: "draft-ietf-opsawg-l3sm-l3nm.all@ietf.org" <draft-ietf-opsawg-l3sm-l3nm.all@ietf.org>, "opsawg@ietf.org" <opsawg@ietf.org>
Thread-Topic: Yangdoctors early review of draft-ietf-opsawg-l3sm-l3nm-03
Thread-Index: AQHWJ4oObCTqZhKMRkeAMHR5hIXjN6mZT8Rg
Date: Mon, 19 Oct 2020 11:46:59 +0000
Message-ID: <AM6PR06MB565398AEAEE4A652A06647B6FD1E0@AM6PR06MB5653.eurprd06.prod.outlook.com>
References: <158919768830.20415.12190281551501641241@ietfa.amsl.com>
In-Reply-To: <158919768830.20415.12190281551501641241@ietfa.amsl.com>
Accept-Language: es-ES, en-US
Content-Language: es-ES
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: cesnet.cz; dkim=none (message not signed) header.d=none;cesnet.cz; dmarc=none action=none header.from=telefonica.com;
x-originating-ip: [83.37.76.220]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: fbcfc77e-9b48-4cb9-3d2d-08d87424aff5
x-ms-traffictypediagnostic: AM6PR06MB5367:
x-microsoft-antispam-prvs: <AM6PR06MB536712B5548F3FD93432EFE2FD1E0@AM6PR06MB5367.eurprd06.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: 1FkQ4C/YwBnKdPS9YJ0CjemWMSAtpOV5MV5N+UlQ1nyDkQBFB2UxEQBZk/scOMvd+ciyOok5eln4TNszoxnW5U+19qFCAw+tcqcae180XV7/iXLx3jd09+1MkvG7Ogf/H67wls9beBoBGxJCPKKu9twqtqu2XM+k25qJlcYKTl43nZoJxko6662sawGvQ5MEKyAvKY5Je16YD52Sc0ogpetqhLnEzYZAg0RceMV6d1o1kF8luKr3Mw7S+4HyUrtXU2m3aP1kWoZP+GOmAEC8QRzBzf8G68D6ZEUpQ63b7B/MUA1HaA1dPrlUUJTe88clrlxvrMmIPu79pku20ZLqomG05G3uOnIQy5G730j65jp9P7JizV8uSt3LJkXLbK0kUd6iAxHx398yzv7APdwX1OB4TvOpaoIvb9ZrNTtURZPQRDR6iGVK31kiuXyk3QjnIAAIqjR3yYXTPLz34zx3Pw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR06MB5653.eurprd06.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(136003)(39860400002)(366004)(376002)(346002)(316002)(8676002)(83380400001)(55016002)(2906002)(786003)(110136005)(54906003)(85202003)(4326008)(66574015)(8936002)(186003)(71200400001)(9686003)(5660300002)(76116006)(85182001)(66946007)(26005)(33656002)(478600001)(4001150100001)(86362001)(52536014)(7696005)(6506007)(966005)(66476007)(66556008)(66446008)(64756008)(9010500006); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: XXgAKhGYHQ+ilFNoJpwW58TtlJKQnTqvyGGHDgitSX7U402u7tkfp5iLqEEUGBUuwYo/li/7sZYFufSOiKmATdRi8x/0hiCQaq+IsCKbPL1VadF7j4P17n+bGq8V5rzWzzr8Ph+ktR+x2VUHNlAZ3hfYAcT403Uc7TwGfF6+A8Q9gvHyqSTnvt1BFvoK4DjPoSCOeDkxB4fmjYPSzq0a+uv4B9JdCdnqnb0RtV9fXFoMAzv94SpUrZXpsvXtH5Hm5Qgl9ep6LIQ/DIq3I0RO9Pyn3OXAJzrUgFDgVvnFlqkzvynJgouCJnw7wS8F4LzURKgNVJ9/Exri6/kVCStqbLSma5WljgV774hFt84qmvmYvRSSzz/5C3+h73d4ij8heiY08ekhB7SAR4Ipnc4LA0/R8wu3oP5J0uMDfbyxsQspMNTTLgAGcBwHAzTLg2JN051gpH0cL8ewSWp/WVhESIn521PaTLf4ay/4zbW2QAkfOwmoqjf/vUbcVNZXbkdBO3/edy1NvGt/0vWkM1h5rnfi0vcIF6r1UT44x4Y3tlSutRp2KbPjBSKe1mcjRkE2TM5YYLCErYaTggtw5MVOf7+L4rt9FRmJBtlhP+KzIj/1L0jQMRIj3+qpbaItMl0URawckojaSt3roJMDAgjMaA==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: telefonica.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM6PR06MB5653.eurprd06.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: fbcfc77e-9b48-4cb9-3d2d-08d87424aff5
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Oct 2020 11:46:59.1355 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 9744600e-3e04-492e-baa1-25ec245c6f10
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: VsSYrgKORp5mcAeAtx9ZtxOAWogW0L2I+WrbXepnRxSTtFPuuHffdFZzTvLg8V6Yfhdf5s0jKL/M8BiK9bYoqgttXdbR0MhgUOQzzh0bXZdf39HPByGDVo/v0ignpkUp
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR06MB5367
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/tZCadZLamMHZHU2XeAaBzE6N_iA>
Subject: Re: [yang-doctors] Yangdoctors early review of draft-ietf-opsawg-l3sm-l3nm-03
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 19 Oct 2020 11:47:06 -0000

Dear Radek,

Thank you very much for the review. First of apologies for the delay in proving the reviewed version. The comments from the review and additional feedback from the mailing list drove us though a longer path by which it was evaluated the possibility of creating a common  YANG module to be reused  by various VPN-related modules such as Layer 3 VPN Service Model,  Layer 2 VPN Service Model, Layer 3 VPN Network Model, and Layer 2 VPN  Network Model. After discussions in the list and IETF virtual meeting, it was agreed among the WG to move though that path and create the separate module, , a new vpn-common module called " A Layer 2/3 VPN Common YANG Model", which you can find in  https://tools.ietf.org/html/draft-ietf-opsawg-vpn-common-00. Hence, the L3NM module was cleaned up to be used with the common module.

We have addressed all the comments in draft-ietf-opsawg-l3sm-l3nm-05: https://tools.ietf.org/html/draft-ietf-opsawg-l3sm-l3nm-05  . The version you reviewed was draft-ietf-opsawg-l3sm-l3nm-03.  Please use those two in the diff comparison.

Please find bellow the detailed answers to the review of L3NM in which the actions taken are explained.

Reviewer: Radek Krejčí
Review result: Ready with Issues

The I-D document contains a single YANG module ietf-l3vpn-ntw.

The module is quite complex, but despite I'm not an expert in the area, the text of the draft seems very descriptive and helpful to understand all the parts of the module tree. From my perspective, the most problematic part of the module is the overall use of groupings and the current status of their specification in the module.

Here are the specific issues:

- the module seems NMDA compliant, so it should be mentioned in Introduction (or some other) section:

    The YANG data model in this document conforms to the Network
    Management Datastore Architecture (NMDA) defined in RFC 8342.
[Oscar] The sentence has been added to the end of the introduction section and the reference to RFC 8342 has been added.

- the filename's revision part does not match the latest revision date
(2020-04-03) of the module:
  <CODE BEGINS>  file "ietf-l3vpn-ntw@2020-03.09.yang"
[Oscar] They do match now. <CODE BEGINS>  file "ietf-l3vpn-ntw@2020-10-16.yang"
                 revision 2020-10-16 {

- all the imported modules must have their document (RFC) in the normative references section, but RFC 6991, RFC 8294, RFC 8299 and RFC 8519 are missing.
[Oscar] All the references have been added in the imports in the Yang module and in the normative references section (RFC 6991, RFC 8519 ). In the new version, the commonalities with L3SM (RFC 8299) have been addressed in the vpn-common module,  so reference to RFC 8299 in the module is not needed . Similarly, the imports from RFC 8294 are used in the common module, so they are not needed any more in this draft. A reference to the common module has been added.

- since RFC 8277 is referenced in the module, it should appear in the normative references section.
[Oscar] RFC 8277 has been added to the normative references section

- additional indentation (3 spaces on each line except the first one) in the module's contact statement seems weird and unnecessary/unintentional.
[Oscar] Fixed.

- some of the descriptions in the module use RFC 2119 key words, so the module's description is supposed to contain the following text:

     The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL', 'SHALL
     NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED', 'NOT RECOMMENDED',
     'MAY', and 'OPTIONAL' in this document are to be interpreted as
     described in BCP 14 (RFC 2119) (RFC 8174) when, and only when,
     they appear in all capitals, as shown here.

[Oscar] In the description clauses we are don’t use any normative language. In this version we have removed all normative language from the description clauses.

- typedef protocol-type;
  - Are you really sure that the list of the underlying protocols is fixed
  forever in all its instances? Having it in the form of identity would allow
  later augmenting of the list of possible values.
[Oscar] Thanks for the suggestion. The protocol-type is now an identity. It has been moved to https://tools.ietf.org/html/draft-ietf-opsawg-vpn-common-00 as it can be reused by L2NM too.

- the whole groupings part need a cleanup and maybe some structural changes:
  - most of the groupings are instantiated only once - having them defined this
  way makes sense only in case you believe they are useful for other modules to
  use. Splitting a complex module into groupings just for keeping its parts
  separated IMO decreases the readability and usability of the module - it is
  quite challenging to find a specific path or subtree because of intensive
  skipping from grouping to another. - there are also groupings that are not
  instantiated at all, if they are intended exclusively for use by other
  modules, I would prefer to have some note about it in their descriptions. -
  there are several comment out uses statements, there is also whole /* UNUSED
  */ part

[Oscar] We have done a complete revision of the groupings. After several discussions within the working group, as mentioned earlier, we decided to find all the types and groupings that are reusable between L2NM and L3NM (l2nm is a complementary work covering layer 2 VPNs). These types and grouping have been revisited and as a result, a new vpn-common module,  https://tools.ietf.org/html/draft-ietf-opsawg-vpn-common-00, has been created. That document defines a common YANG module that is meant to be reused  by various VPN-related modules such as Layer 3 VPN Service Model,  Layer 2 VPN Service Model, Layer 3 VPN Network Model, and Layer 2 VPN  Network Model. Hence, in this l3nm draft the groupings from the common module are used. Now, only 2 groupings are left in the new l3nm, versus  34 groupings in the old version.

There are no longer "unused" groupings. The descriptions have also been updated and references added for better readability.

- description of the service-status grouping seems to be invalid

[Oscar]Fixed. Service –status now in https://tools.ietf.org/html/draft-ietf-opsawg-vpn-common-00

- descriptions of {grouping site-bearer-params}/site-bearers/bearer/bearer-id
and {grouping vpn-route-targets}/vpn-polices nodes are empty
[Oscar]Fixed. The vpn-policies leaf is in the common module now. There is no longer bearer-id.

- I'm afraid about the usability of appendix A. The status of the implementations will tent to change quite intensively and having such information in RFC does not make much sense to me.

[Oscar] The implementation status section follows the guidelines RFC6982. As per RFC6982 guidelines, the implementation status section in the Appendix  is to be removed once the document is published as an RFC.  We have added the boilerplate text suggested by RFC6982 with the motivation of the section and an editor's note for RFC Editor for the removal of the section upon RFC publication.

Best  Regards,

Oscar on behalf of L3NM authors and contributors.





________________________________

Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede contener información privilegiada o confidencial y es para uso exclusivo de la persona o entidad de destino. Si no es usted. el destinatario indicado, queda notificado de que la lectura, utilización, divulgación y/o copia sin autorización puede estar prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.

The information contained in this transmission is privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this transmission in error, do not read it. Please immediately reply to the sender that you have received this communication in error and then delete it.

Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário, pode conter informação privilegiada ou confidencial e é para uso exclusivo da pessoa ou entidade de destino. Se não é vossa senhoria o destinatário indicado, fica notificado de que a leitura, utilização, divulgação e/ou cópia sem autorização pode estar proibida em virtude da legislação vigente. Se recebeu esta mensagem por erro, rogamos-lhe que nos o comunique imediatamente por esta mesma via e proceda a sua destruição