Re: [OPSAWG] Last Call: <draft-ietf-opsawg-l2nm-15.txt> (A YANG Network Data Model for Layer 2 VPNs) to Proposed Standard l2vpn-ntw

tom petch <daedulus@btconnect.com> Wed, 18 May 2022 11:24 UTC

Return-Path: <daedulus@btconnect.com>
X-Original-To: opsawg@ietfa.amsl.com
Delivered-To: opsawg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 33EA1C14F718; Wed, 18 May 2022 04:24:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.556
X-Spam-Level:
X-Spam-Status: No, score=-3.556 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, NICE_REPLY_A=-1.857, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (body has been altered)" header.d=btconnect.onmicrosoft.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 A5a5t1AasPC1; Wed, 18 May 2022 04:24:32 -0700 (PDT)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on070d.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0e::70d]) (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 04231C14F611; Wed, 18 May 2022 04:24:30 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MYfBXSrJGq/uAGwq1Ip6Hi3RJwo7n3+LJwe9/SKigXYhJkgbpeWRw+TT0B4Rj6RSRcjH0D7KM7GbIvq+SQJP2SySu43nM3P3Q8S+GRNGosicKiWznlFzB6xVth7LE+s1BjdV2lFVyjT0giue09Kf+uIDqiwWMeJ5wBCSQbOxXK/SoiBckFd0bKm5fs3LuJGv5a4uZax/vuEg8QumkMiqRKB9dnoRugTyr7v2QBnD3dXX62Xi34f3PL+6Uj0ehDBlv5+hdPhWkQgN6m7Zg9XXoHTf6GPTvhZD57jg8zPAnDsN/bTL/Y29c6EoKhtPoUXdmGksP/KOLTEBHNdr1F0tSg==
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=DnTEu3u1bcVnms0SrEKAz0IPHj5N1nl7j51ObqcllnE=; b=bZ45AE2Wf7AMf8mR0sOWm143sZpBVOk6pF00LKiwIUsSGW5zj3wgl9lhOQjTRIfZUemyz7H0givGHz6IlA9o5Fjwdc9d7a+AIABJYVUzh0Gi/TM7+xKtoGVyoyZbBLK5/p8fuoylpxsAHwyOw3+DS+rhLpJVHmFds/CIT7+JUqmaZtU2tjUsNz3qQXXftF8XWztZwvkSdvC2rjN9sBhTyHn3Xo8puVFkmi/w6yfSRKdQkGsRXuzvQfURaLdh97Ja4nbyGiu9ZmqkBgbbMXEfdJUhPZgedwxSGwdnAV6XSI4q0XiZaSEpVLVJlbrJ38K7Hi1/xHcEjbR+3opb4kX8Hw==
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=DnTEu3u1bcVnms0SrEKAz0IPHj5N1nl7j51ObqcllnE=; b=wCoRIfEIKRZ1QIKRuDePjD7wk2DD4iPaRDXspnT12n2BD3Rqf/rUpbR4RFGzNZTPq03ofA8nrEj8iegEnbgCkEcDMLMWlQ7y7UEYnX1IberMIY3Gw61wYjlclyN0Rlguiv1NLZBRlYKZsUOCT1gwD9I1NyUBZYBYkmjWY9tAeeA=
Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=btconnect.com;
Received: from DBAPR07MB6695.eurprd07.prod.outlook.com (2603:10a6:10:18a::15) by DB8PR07MB6298.eurprd07.prod.outlook.com (2603:10a6:10:137::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5273.5; Wed, 18 May 2022 11:24:23 +0000
Received: from DBAPR07MB6695.eurprd07.prod.outlook.com ([fe80::c155:91e6:eff1:dca2]) by DBAPR07MB6695.eurprd07.prod.outlook.com ([fe80::c155:91e6:eff1:dca2%6]) with mapi id 15.20.5273.014; Wed, 18 May 2022 11:24:23 +0000
To: mohamed.boucadair@orange.com, "last-call@ietf.org" <last-call@ietf.org>
References: <165124323213.7379.13149514636739448316@ietfa.amsl.com> <627E3AF3.8020303@btconnect.com> <25254_1652445383_627E50C7_25254_360_1_343b10ba958d4c7bbd9f31ef9f9c7aa4@orange.com>
Cc: "adrian@olddog.co.uk" <adrian@olddog.co.uk>, "opsawg@ietf.org" <opsawg@ietf.org>, "opsawg-chairs@ietf.org" <opsawg-chairs@ietf.org>, "draft-ietf-opsawg-l2nm@ietf.org" <draft-ietf-opsawg-l2nm@ietf.org>
From: tom petch <daedulus@btconnect.com>
Message-ID: <6284D763.8080205@btconnect.com>
Date: Wed, 18 May 2022 12:24:19 +0100
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
In-Reply-To: <25254_1652445383_627E50C7_25254_360_1_343b10ba958d4c7bbd9f31ef9f9c7aa4@orange.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
X-ClientProxiedBy: LNXP265CA0090.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:76::30) To DBAPR07MB6695.eurprd07.prod.outlook.com (2603:10a6:10:18a::15)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 001e40c2-0a7d-4b18-5bde-08da38c0f566
X-MS-TrafficTypeDiagnostic: DB8PR07MB6298:EE_
X-Microsoft-Antispam-PRVS: <DB8PR07MB6298B2EBFB761A6AD094F87DC6D19@DB8PR07MB6298.eurprd07.prod.outlook.com>
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: 6GN6miXQJPIxoFBL9lxLsYnDtm/sG10G8lItACKdb+W+cE/8eY4l6OKp0QR0u67uMRMz5ib3qbNXiAenbtd/eEcblubClKLL0eGGmwnrBJuUKsmLU1ESu/fl3z81e+sApE15ZgLWaXSJxi70ziOee9XkfhuzuDJocPdpJjtBIeYrhOjGkSExoEEvWUCBWPdPm2bvWEKub+XvtamlC+GCXBClguPsRsaZea5ZNycWbJgFAWgCFkbtbJR4yMPHj+UM2yjAGIuxHzEQCTxIq1C2zsUMn9Meyy1Jb9I4MYdNHI3Qk5YqtaAbVMqgZNy+vDz9gj5wb0FEXSwnhOLqBDRHkr45TZ2/AARbRbOWGuOVkDeZlMqdCxxgHXrbpwq6PmrAVcBZXoFP9b6cm/YQE6sWP5SURKHH/drvLUtnW34rn+9mOTktnnIUXkS01hvhxd5w5+gzNilky2ldlkqMWxQITvBOadUlF233x0PXyUVAWydVRUkiX7AlclVz75dbaKy820WIUil3WGcD7U5591QzVeeeTS99J+q5sfUlhn6fXd59xgYnppSCX77LXRotNQDYdOQqciHLXcBYn/t2HWSaPVZOpb+vw1HBley45N4Bhl7XditfVlvdr2q+PMM6l6bABJD24HZKib10DwByo6eUdikcGF1ektGQJZ/4EqHS7tHpFKruoeE7OCY6CA15slT3I1CLNCnM4KHp+cvCL3KyXkYk38pTttgLMPgEdWVeLRyyvJSsXd7iGWgGtSFPkmzbc0uFwp5/LgKGQ1xwUYSzBIY/wDM0QAvUy5IZXUt90CV3+8LB6wir+iSXLcUeblnW69lPrhb2dtvnHyuu0ezKrvbOrYNLurjLAxHsKg5Izztq8sYuQOdeiECCDzUDwZxl
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBAPR07MB6695.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(508600001)(66476007)(33656002)(966005)(6486002)(4326008)(66946007)(8676002)(86362001)(66556008)(36756003)(2616005)(53546011)(6916009)(87266011)(5660300002)(54906003)(52116002)(186003)(6666004)(6506007)(83380400001)(316002)(38100700002)(2906002)(6512007)(38350700002)(26005)(82960400001)(8936002); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: oxuDwNJ6HXOeQzBWPVVNuZ79LBG+fPjCMD5Li8XzU72Iu3VTvS7cxAqovS5tfXSHgdiIoWH6wh4lfvICGRhkHKDWD4P0IGu7Pt2f3cBvGCbPvHGfxnUJyaL1hlxKdAI5JQbZNodqmhauo/OzKuudAE/0xdERQQ36sknY//ZSZaDFf0TLvLvXFW1SlglPer80oI4oXHkltr3Vg6/CXlLlOlyOAsOGI+brRKYJMJqVzsFEhwbtqaVEgTsYo4IR2IPj6Xk8SJ7gu8CtrumVniHiQwQ+MjxmRNK2Xu9KBUmO/C9OSDzFIzsm1rOABhHpsf4mrhOXVJB7OX246uubfCcVMcsBsohjgbHLv++9thPmMS/oB8regNOYMhIyaD2EGYeA1ilQLW/WvjVaza2Kkgt/MoKPHAk4Iid1/vEypwKZY4RsQbpi/74fYOvR+lNwT/MbnwJqxPX02qHl1ztW/TBWIVTR+FXPVG4hVVAbbWmwAi+VBnW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BHItoDAwIUSbqIt5+cylXp2zNqFLniTLuEbq9GadiQ5cUXwoMpltsaV+bfbhfSqL/+jzavGhAsuK8Bjlqi4C7E6REnB4dNrz+VRDmvXZOY1R+NIHAky8KMgMkhLO67EQ6bESoE0293j6WbfdQVvgcY/ElGKzz8YZtBfCg+2qCtpbFT5S1GcuHfuEve98OF6nf8xJIb9IsZISBN59g=
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 001e40c2-0a7d-4b18-5bde-08da38c0f566
X-MS-Exchange-CrossTenant-AuthSource: DBAPR07MB6695.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 May 2022 11:24:23.0223 (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: 15CsFRf9EJIzBWwfHRR1geAnfo9nBqGuyz/FHS4IIbwEOH1mz9czuNxn0oqaC+m2IRjlUnIjF45uHBonWD5eWw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR07MB6298
Archived-At: <https://mailarchive.ietf.org/arch/msg/opsawg/UXnA7kG9vNELRGqnS6RzAoFf9GA>
Subject: Re: [OPSAWG] Last Call: <draft-ietf-opsawg-l2nm-15.txt> (A YANG Network Data Model for Layer 2 VPNs) to Proposed Standard l2vpn-ntw
X-BeenThere: opsawg@ietf.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: OPSA Working Group Mail List <opsawg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/opsawg>, <mailto:opsawg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/opsawg/>
List-Post: <mailto:opsawg@ietf.org>
List-Help: <mailto:opsawg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/opsawg>, <mailto:opsawg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 18 May 2022 11:24:33 -0000

On 13/05/2022 13:36, mohamed.boucadair@orange.com wrote:
> Tom,
>
> Please see inline.
>
> Cheers,
> Med
>
>> -----Message d'origine-----
>> De : tom petch <daedulus@btconnect.com>
>> Envoyé : vendredi 13 mai 2022 13:03
>>
>> Some stray thoughts on YANG module 'ietf-l2vpn-ntw'
>>
>> - In a number of places, the module says 'The default value is ...
>> when used at the service level'.  I have two problems with this.
>> I see no 'default' specified in YANG - there could be but there is
>> not; this would appear to be a recommendation not a default.
>> Other YANG modules have the concept of e.g. global, link, node
>> parameters with the same grouping appearing in several places with
>> a suitable but different default specified in each place, but not
>> here.
>
> [Med] We used to have default statements, but we removed them as per a fair comment from during the AD review. Please refer to that thread with Rob.
>

Yes, but you should also have removed the mention of default in the 
description because there is no default (and most readers of a YANG 
module will think they know what a default is!).

>> Second, the statement is in a grouping, such as parameters-
>> profile.
>> This grouing appears in two 'uses', one under 'global-parameters-
>> profiles' and the other under 'active-global-parameters-profiles'.
>>
>> How do I marry the reference to 'service level' and whatever is
>> the alternative to 'service level' to a choice of 'active' or
>> whatever the alternative to 'active' is?

Again, I think that there is a lack of big picture.  I cannot see, in 
the introductory text, something about values specified at global v line 
v node level, or the equivalent thereof for service level and whatever 
the alternative(s) are. Something for s.7 perhaps.

>> - There are many references to non-IETF documents.  Unlike the
>> IETF, these references are mostly not unique without an
>> accompanying date, which most of the references in the YANG module
>> do not have.
>
> [Med] Dates are provided in the reference entries. We trust the RFC editor will do the right thing.
>
>>
>> - identity evpn-service-interface-type
>> this is an identity not a type so the use of type in the
>> identifier seems confusing.
>
> [Med] hmm... this is an identity for interface type.
>
>> - identity color-type
>> a reference would be useful - I recall an AD asking last year what
>> a color was.
>
> [Med] that was Joe C. who raised that comment. The agreement we had was to update the description but add the following note to the core text:
>
>      See also Section 5.10.2.1 of [RFC8466] for more
>      discussion of QoS classification including the use of color types.
>
>> - lacp-active refers to auto-speed negotiation while lacp-passive
>> is about duplex; seems inconsistent
>>
>> - having a set of referenced identities derived from pw-type and a
>> separate set of referenced identities derived from iana-pw-types
>> seems a potential source of confusion
>>
>
> [Med] The description is clear enough about the scope of the pw-type. Not sure if adding a prefix would be better.
>
>> -leaf interface-id
>>     type string
>> I wonder why this is not a reference to the YANG interface module.
>
> [Med] This is because this can be used to point to a port, bridge reference, etc.
>
>> - leaf speed
>>      default 10
>> seems a bit slow in this day and age; buying kit for the home last
>> year I could not get anything under 100 which my hub could not
>> cope with:-(
>
> [Med] I don't like that default value as well. Please refer to the AD review where we indicated that this set as such to be consistent with RFC8466.
>
>> - uses y-1731
>> I only see this used once.  Given that groupings used just once
>> make the module harder to follow, why is this a grouping?
>
> [Med] this grouping can be reused by other module. PM, for example.
>
>> - leaf cos-id
>> (802.1p) Is this a seperate reference from that to 802.1Q?
>
> [Med] This is inherited from RFC8466.
>
>>
>> - mac-policies
>> this has source and destination address and mask (with no
>> constraints on the mask).  What constitutes a match?
>>
>
> [Med] This was designed to mimic RFC8519. The match will be based on the parameters that will be provided. This is similar to this part from 8519:

Worth spelling out IMHO, not replicating RFC8519 but referencing it

Tom Petch
>
>          |        +--rw matches
>          |        |  +--rw (l2)?
>          |        |  |  +--:(eth)
>          |        |  |     +--rw eth {match-on-eth}?
>          |        |  |        +--rw destination-mac-address?
>          |        |  |        |       yang:mac-address
>          |        |  |        +--rw destination-mac-address-mask?
>          |        |  |        |       yang:mac-address
>          |        |  |        +--rw source-mac-address?
>          |        |  |        |       yang:mac-address
>          |        |  |        +--rw source-mac-address-mask?
>          |        |  |        |       yang:mac-address
>
>> Tom Petch
>>
>> On 29/04/2022 15:40, The IESG wrote:
>>>
>>> The IESG has received a request from the Operations and
>> Management
>>> Area Working Group WG (opsawg) to consider the following
>> document: -
>>> 'A YANG Network Data Model for Layer 2 VPNs'
>>>     <draft-ietf-opsawg-l2nm-15.txt> as Proposed Standard
>>>
>>> The IESG plans to make a decision in the next few weeks, and
>> solicits
>>> final comments on this action. Please send substantive comments
>> to the
>>> last-call@ietf.org mailing lists by 2022-05-13. Exceptionally,
>>> comments may be sent to iesg@ietf.org instead. In either case,
>> please
>>> retain the beginning of the Subject line to allow automated
>> sorting.
>>>
>>> Abstract
>>>
>>>
>>>      This document defines an L2VPN Network YANG Model (L2NM)
>> which can be
>>>      used to manage the provisioning of Layer 2 Virtual Private
>> Network
>>>      services within a network (e.g., service provider network).
>> The L2NM
>>>      complements the Layer 2 Service Model (L2SM) by providing a
>> network-
>>>      centric view of the service that is internal to a service
>> provider.
>>>      The L2NM is particularly meant to be used by a network
>> controller to
>>>      derive the configuration information that will be sent to
>> relevant
>>>      network devices.
>>>
>>>      Also, this document defines a YANG module to manage Ethernet
>> segments
>>>      and the initial versions of two IANA-maintained modules that
>> defines
>>>      a set of identities of BGP Layer 2 encapsulation types and
>> pseudowire
>>>      types.
>>>
>>>
>>>
>>>
>>> The file can be obtained via
>>> https://datatracker.ietf.org/doc/draft-ietf-opsawg-l2nm/
>>>
>>>
>>>
>>> No IPR declarations have been submitted directly on this I-D.
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> IETF-Announce mailing list
>>> IETF-Announce@ietf.org
>>> https://www.ietf.org/mailman/listinfo/ietf-announce
>>> .
>>>
>
> _________________________________________________________________________________________________________________________
>
> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
>
> This message and its attachments may contain confidential or privileged information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
> Thank you.
>
> .
>