Re: [CCAMP] Yangdoctors last call review of draft-ietf-ccamp-rfc9093-bis-04

"Sergio Belotti (Nokia)" <sergio.belotti@nokia.com> Thu, 25 May 2023 16:13 UTC

Return-Path: <sergio.belotti@nokia.com>
X-Original-To: ccamp@ietfa.amsl.com
Delivered-To: ccamp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 238F0C15152C; Thu, 25 May 2023 09:13:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 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, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_NONE=0.001, 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=nokia.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 XfI3EmdDUQCl; Thu, 25 May 2023 09:13:52 -0700 (PDT)
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2090.outbound.protection.outlook.com [40.107.20.90]) (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 BEBB8C15109E; Thu, 25 May 2023 09:13:52 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XaTlwYF7ff2HjuLdY0YZylvZ2Rygu0XNttQ/GBh5hYCAqHiEMViFmzUArAMvQdJ0xoZ7dO7ZPnGmCInPnexnaQFYt1kmpFU0lyWoQQwnG57fPKXnH9yap0VloS03exr+ATyCtE8M3o0VhTMIROGqrkUYzEb+CEkjvxdVax91QTr77EMtdm3ka5ov3KHqguquHIUB/6DLtHa+k2a08/E6Ne4Cub7Po+TCSSzIF9pamSIdtaZNihnw2trYn+IXHturDFrEcaxir0Cs6jC5knAGJW6PDtzbe63HyaKSCM+uI0U90kILaMWjcE6ulYaNTB3uFMLvkRj1fGxoGy3ejSR0RA==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wJtU/7+Rh8ZE25xa4nD3fA4ixnJnWtJtPmxsYlsG5yc=; b=MqTcHbRK53QWloK2HkjPYfaSLfLYJ+zdtno9wvKMR6CBXbl40IwmnbkDT/v6wadfOty/EbLMyQaoPau3Rw7aqPfo1LszsrjXnLXsY0LKcAGrySHCDHH4knv3NwLRQnpcIBnyOoZazli/YgWtp20lHhLgxHwaMkLlOgfUFCJ1p3pQH0WheFswQqiX3jvcuoZtiC9s2+M0UbZcJiGz5BeR6QXuFwVcla65JsVHYS7Opg1xF70KDqO2BRF0f3I9KTL0iLtsyMu83sutUSVlLBLiIBOyqxw5dPxgEQ1WmMEY62w9jUbRu7VZaXULIusdfReOuQ3QazXokCjucHqhk0zQPQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nokia.com; dmarc=pass action=none header.from=nokia.com; dkim=pass header.d=nokia.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wJtU/7+Rh8ZE25xa4nD3fA4ixnJnWtJtPmxsYlsG5yc=; b=oKSZaDG9lR0p65S4/PxmgKsJ1wk0BPoSPnKko0ZAzTgkg3K5KxLGKsopjAbZxalY5wkyTfEDvyj9IQiKQ2kG6RSKKjlqLm+sddw8ezFxv2AF6ArpLoNBPTv5DmpwnGZcitjfMdHa9VbvJpcc6E99wdJ6UdxOkgppCsXExWBvDJ4BckRwk8BPUlGqMd+ILwWmvBu/MlySMoDN5k2QSKlHNy0Jy7yj0sUSKLJVCOJ2BwRH3U7F4AmsUY291qqg6ow+BEGy0KCkqBUXiASwUChvC7abgLWr18Z2UX/44YOT48X513AZjXFEHJFp/LoySBCIQxRJRN62EEkZxtHVrrQ7mw==
Received: from AM0PR07MB5490.eurprd07.prod.outlook.com (2603:10a6:208:104::27) by DU0PR07MB8714.eurprd07.prod.outlook.com (2603:10a6:10:318::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.29; Thu, 25 May 2023 16:13:48 +0000
Received: from AM0PR07MB5490.eurprd07.prod.outlook.com ([fe80::3ee9:fb3:811c:d50e]) by AM0PR07MB5490.eurprd07.prod.outlook.com ([fe80::3ee9:fb3:811c:d50e%5]) with mapi id 15.20.6433.015; Thu, 25 May 2023 16:13:48 +0000
From: "Sergio Belotti (Nokia)" <sergio.belotti@nokia.com>
To: Joe Clarke <jclarke@cisco.com>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>
CC: "ccamp@ietf.org" <ccamp@ietf.org>, "draft-ietf-ccamp-rfc9093-bis.all@ietf.org" <draft-ietf-ccamp-rfc9093-bis.all@ietf.org>, "last-call@ietf.org" <last-call@ietf.org>, Italo Busi <italo.busi@huawei.com>
Thread-Topic: Yangdoctors last call review of draft-ietf-ccamp-rfc9093-bis-04
Thread-Index: AQHZZzWtmSzUpU1+1EGKjGfdchuOea9rb5Pg
Date: Thu, 25 May 2023 16:13:48 +0000
Message-ID: <AM0PR07MB549001835F3465747413F7BE91469@AM0PR07MB5490.eurprd07.prod.outlook.com>
References: <168064081934.63356.8503906694772883067@ietfa.amsl.com>
In-Reply-To: <168064081934.63356.8503906694772883067@ietfa.amsl.com>
Accept-Language: it-IT, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nokia.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: AM0PR07MB5490:EE_|DU0PR07MB8714:EE_
x-ms-office365-filtering-correlation-id: 90d9380f-5d10-4f58-e793-08db5d3b060c
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: jREpj67hZ7zXxxtBHV4Iqve46A1xLXbtWs9WQuaJDEU626sFDtLV1AjGfBwKcQ4j1eurJ51+204npN8uH76Q4iG0p8U9cMCGjF/Vee32ZiOqWeB15A7IfGPreFFKcLC1U3JYvg/qBLSDcgwSA2AwjzSZHE/10vZIWqr1a7Tpbw5BThiHsApl+iRngPI8oQB45doeaiW6CYNPXtbiPhb3OTkVuSTpFNsvVDkpki7rSRTLFJ4wfOjN8EzotFxkRGdaIrFdlCrkVtZMhn7HtjN7C06MVfXCNGWbtEsC8NUGi5HW8B+RTcsnrUEk0cVdhFTpY2o2o/udb8ZJcq7vNpYdvA8iz15MpCYDlG7rm1gnRzFpRLI1c2QrAGPxyZRuTDsnfDvf4cca9qNJ55cVVZsoLixsoC9evEGdB4keOqJ2Vpye/CL+zXM1FIq+Q3wiWJHoa++7x5WAmF+oJtHQR4+ROP8Y0igqH7fqLF7Z6zNgu1wGFRsEJ+NDt52ayRTVzF1/7ivbE5QSnTxs18dC6/dmQSKzYccaS3ZOv34ufKP+9Jh0SG1Cu3hBwXqV+Nxp4gB4K1qUkeC9zEwi83Cp+3UrUQcuXvDvDXe0SUMjAvu0MwCdXl2qAe2EOWnuimN5G8IQhH5VeU/QCqogxt1acT9UN3WhUa2RJGkACQxlKijHt+qV+n6kYqFsUSGLg2aEP42g
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR07MB5490.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(396003)(39860400002)(376002)(136003)(366004)(346002)(451199021)(110136005)(41300700001)(7696005)(53546011)(83380400001)(8936002)(186003)(33656002)(6506007)(9686003)(8676002)(2906002)(52536014)(5660300002)(26005)(86362001)(966005)(38070700005)(55016003)(66476007)(66446008)(64756008)(66556008)(66946007)(76116006)(82960400001)(4326008)(478600001)(54906003)(316002)(38100700002)(122000001)(71200400001)(10090945012); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: lDxdDtmMn1Oes71Rw/X8vRuyFxGlYvGrk3mjn1YX3iFg+4rAGmryeqywRimyC8z3lLlK1dUxOaIYmA3GyRGAtqjaCAoniYfgYk/kKqmJt3Bzk3vlkPHAUe2NTdIbLha9JvpO0/bhrtKpw2OhkSrZsDk1Obbis80YkSlEDbqs4OF9Phb5YA+hNg2rJFqDkQdT5OOqLrMD5PGaRA1GiCF+m6vWlffARtnBah55kLVcypQM9U2FT/9gCXlSJFBFA4VNPVWIT7S+71Ck3Bek98q7inpIm/rbbzauDbXtjrezUy7xBrJN8rZ08/U71+/Rbca6wFVrQya51VH+Bi5WwbdNfoPh7Jx6fj/NqL/7L/kfxGkA4TWNJV9egM/2m8d2QeOolcxGXrBNcGLE/fxt38K3lBs5C/PUmmvLOCOwa6UWVNSp8vvueUSObEV9Mrpg1Qk8di+dyvIYOylrYWO6T7AfKKHeslFrhSn8noMP51Gj2WDl20z9HihrxvUnSjAz3jwzCUBoIMpiQPnItPA0HoocRmXytuWdltWBi4nV8hFmJ0upFPp6ToqqY/ZmBhTec3mAvHWSHWIvQBtJsUeEVYq6D7lrzPGOyf3HNxfakjN9nYH1UCUvUGQEVlSZ+OK7nP1U0MyL5DC0/8KM4iTCOu97hGQPf0hj2Y3YSXO79cMbtihYxsssanWrx4ClH7pjpyKaDgAFfLHBuJWzJaPUv58HyKPKi5QofdeSoFuNS2OVe8w3cegkc2R4qYjCMVKY3ybnRo1npnv9y3DPHqfDYjI823hCn7zEtwSIb72dDD+sMYuVyEysyoySe1zWBG5LS9m9ZAL7u3piCQCqgolx935DB8hEorFym5R49MV/8YcUtLg+gD4aOshBkwvPrXxs+FGOieI/QwBgX3Js8+VTu28VHNrHLxH1OxX8sNOvJ65rMv3FS8WnCdTR8wRDXmSsFE6iQO3l+QTIQb23t87qvJfAtLFsU3fpwiznxOwnR53JeQSyxfpAoyHRUg7xkLsotXUSzJqxhDFISluUcdnVbWtwELSrsHJFNRasq1QsE59atcMAwpXMEaTRVt0nrCsukPYeJgo7Eg+8R7ZsDPT3Qy+PrL1kVRz3PeXBWq+5l4OrGhKsQAEp2Wy/C5Cbco/qvhWyq2++YhO+3GqLVPtoMSXE7YxlVHZXfFQwwLegMI/YrbyPegWnqWzw16kY8EoIRwr88384epJgqth0LzGme45lWLz1m8uk2+PapztAVAwKKP7y44/NpIV/VPExUmemKqgNCOpSqzFYoOtxkOtewf1fVJVb0eyWyp+SCIusBfYPF4enUfhgRcm99zbC76T/yWQOgbxNifdEivgiVs0/xP4Mvqg/pUXTyy9qirzSvq9GIcQShpwadRHn5E3BYotWMX2CPIQXmnzTlWrDFEMwo9pczOUwwMC7ChUV6lYX2TW6TzaGMo885hLUuk/y8rLsW/5yHqAVOCUmXhZIrJcYVxx20p2AeJG1r3wQX62Bw8w1J3qWFsN5GtDr1vFJ7Mbhcqa4M/4vzBsyK1hyi6ciduHHznVURlWCMuF91Kh+BbDtHJP0C1qbQKoqxrX2lxVlBuTU
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM0PR07MB5490.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 90d9380f-5d10-4f58-e793-08db5d3b060c
X-MS-Exchange-CrossTenant-originalarrivaltime: 25 May 2023 16:13:48.8543 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: Nrdcw8EHHLHHenBX4X2/yJtJe5AoN51exFIvIxxtbmXPtaXtWze2Sk2o42nUL2IZrZAC55f0zvZKT8Zg5+4fRhRj8H83TJwTHfixn66foq0=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR07MB8714
Archived-At: <https://mailarchive.ietf.org/arch/msg/ccamp/V827awo7hrhkcekSDwcCxJicGl8>
Subject: Re: [CCAMP] Yangdoctors last call review of draft-ietf-ccamp-rfc9093-bis-04
X-BeenThere: ccamp@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Discussion list for the CCAMP working group <ccamp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ccamp>, <mailto:ccamp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ccamp/>
List-Post: <mailto:ccamp@ietf.org>
List-Help: <mailto:ccamp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ccamp>, <mailto:ccamp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 May 2023 16:13:57 -0000

Hi Joe,

thanks a lot for your careful review and comments.

We have updated the model following  your suggestion in most of the indicated points, where we do not follow suggestion we provided a comment on line .
You can find the YANG updated module and diff with the previous one at https://github.com/ietf-ccamp-wg/ietf-ccamp-layer0-types-ext-RFC9093-bis/pull/70

See in line for comments (marked [Belotti Sergio-Italo Busi].

Thanks
Italo and Sergio

> -----Original Message-----
> From: Joe Clarke via Datatracker <noreply@ietf.org>
> Sent: Tuesday, April 4, 2023 10:40 PM
> To: yang-doctors@ietf.org
> Cc: ccamp@ietf.org; draft-ietf-ccamp-rfc9093-bis.all@ietf.org; last-
> call@ietf.org
> Subject: Yangdoctors last call review of draft-ietf-ccamp-rfc9093-bis-04
> 
> 
> CAUTION: This is an external email. Please be very careful when clicking links
> or opening attachments. See http://nok.it/ext for additional information.
> 
> 
> 
> Reviewer: Joe Clarke
> Review result: Ready with Issues
> 
> I have been asked to review this document on behalf of YANG Doctors.
> While I do not have domain experience in layer 0 optical, I found the
> document and YANG module fairly easy to get through.  Since this document
> is a bis for RFC9093, I did a pyang check to make sure that there are no
> backwards-incompatible changes between the 9093 version and this one.  I
> did not find any.  The new module adds new types, identities, and nodes.
> 
> In terms of issues, the leafref and must in the transceiver-mode are relative
> back to the transceiver-capabilities grouping, which uses the transceiver-
> mode grouping.  But what if transceiver-mode is used outside of this
> context?  Those references may break.
> 
[Belotti, Sergio-Italo Busi] : Changing to relative path is not possible because we need to point to the same network, node, ttp, transceiver through another relative path. We have moved the code with leafref and must statements to the transceiver-capabilities grouping. A similar code (with adjusted relative paths) should be added by anyone using the transceiver-mode grouping elsewhere.

> In terms of nits, I found an inconsistent use of first-letter capitalization and
> period termination in descriptions.
>
[Belotti, Sergio-Italo Busi] OK we have reviewed and made the module more consistent

  I also noted that both the document and
> the module lack an overall summary of changes between this version and the
> 9093 version (and I'm just setting the interrupt bit to make sure the authors
> address that). 
 >
[Belotti, Sergio-Italo Busi] We have in fact a specific issue #40 in github for that, saying “ Add description of the changes from RFC 9093 both in the YANG revision statement as well as in Appendix A”. Thanks to remind us.


 There is also an inconsistent use of quotes around various
> units.
> 
[Belotti, Sergio-Italo Busi] We think to have fixed inconsistencies.


> I notice that there are some config true nodes that are a union with "empty"
> as being one of the options.  Some of the nodes explain when to use empty,
> but others do not.  I think it would be good to be consistent with the "empty"
> explanation.
> 
[Belotti, Sergio-Italo Busi]: We have updated all the descriptions to be consistent. The only config true attribute is the tx-channel-power which in some cases it is also used as config false. We have added a MUST in the description to limit the use of empty value only when the attribute is config false.