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

tom petch <daedulus@btconnect.com> Wed, 18 May 2022 11:11 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 17D58C14F72B; Wed, 18 May 2022 04:11:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.557
X-Spam-Level:
X-Spam-Status: No, score=-8.557 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_HI=-5, 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 3fQLm4tZjGj9; Wed, 18 May 2022 04:11:53 -0700 (PDT)
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on20729.outbound.protection.outlook.com [IPv6:2a01:111:f400:7d00::729]) (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 81617C14F611; Wed, 18 May 2022 04:11:52 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XZf662YK94gnKgxCKqy+kDpZ4gvQ/7dj6vav3SkqBRKwR2SAlJB6xkr8bZmXH4+J8BcHbB/1RsU2LR+g4reQxPIC9MCDnALZVNpn9IUID43FcUFb30CYaLMVr8wlaRVcpvgIE9au/DeQp2t3PoeOOU2fl2bhtPUJhX5eHWglJJC5Db0FCItaepRI63Ba9bXiA3LbZ6c/cCatZRcy29WSF1ucTWRrlPoEie4+828ap7X+bjTbQ3Y2MWnXS1gKTDoH2Cl9+nn/kpZ1FtCbVgVF6ubsz9yW2V/J9d8ss0CiXTaeoEZ9qhWKPmxDtiR1AXfZqf83SwfOeCJrDVYLWO/JNg==
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=Fwx1njkoMCKlGuyehjVHvyGir7byW4ykzzBon3jjpBM=; b=YZqw/pzFQyMGhXCgW4lPRI8WfED1Yq/fM+x4K1YqKHWCNFCaHZh2/G96V4KvHHa05qnIUDCl2VMkzX1WBA6hqvlafNzrPxXT6e0D3YdwocdaGNy1OZUGqYAC+9MNUIGOgRmfmXgwtcIFmCl6DzQTJp8vir1NMPgH1BXS9A5ATgz2YrcjBCaScEUILWLvBBXrNao9BL0rxjE7wG7pVEUm6mgkqiWsl1zQnropMtHIp9ghz//ygITInMl8eYWrQ3IqvXgu6oFpriKPhOojri7X5hTsVrfJyGwRoipb1Wvc7+/SeWK7iJPc6Flo9k+iSJ2A5CuEwizXz37EPz6iq5MTEQ==
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=Fwx1njkoMCKlGuyehjVHvyGir7byW4ykzzBon3jjpBM=; b=Fpxy2rQnryieOMyae5Py7In8Lp4NZUdW4DROlKF7giyqUMFn7+cukdaAK+o3I0d/eOG/nruNsDXtjm09QUxWtfAKdiYzVMOZnJvPbpI5bYmEFTA1epCp08CwfJQ0W3ThKqfsxeUl8G87XlQgVgKMyK/nstK856AYLDSDTubbfiM=
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 DBAPR07MB6760.eurprd07.prod.outlook.com (2603:10a6:10:191::21) 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:11:47 +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:11:47 +0000
To: mohamed.boucadair@orange.com, "last-call@ietf.org" <last-call@ietf.org>
References: <165124323213.7379.13149514636739448316@ietfa.amsl.com> <627E236A.8030106@btconnect.com> <32696_1652443407_627E490F_32696_301_1_021ed2abdd69444f91c4593bf2d2e6b0@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: <6284D46F.6080500@btconnect.com>
Date: Wed, 18 May 2022 12:11:43 +0100
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
In-Reply-To: <32696_1652443407_627E490F_32696_301_1_021ed2abdd69444f91c4593bf2d2e6b0@orange.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
X-ClientProxiedBy: LO4P123CA0045.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:152::14) 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: 6aedcb3d-a5e2-432d-4995-08da38bf32d6
X-MS-TrafficTypeDiagnostic: DBAPR07MB6760:EE_
X-Microsoft-Antispam-PRVS: <DBAPR07MB6760497B4D12354FD321727BC6D19@DBAPR07MB6760.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: Ji8pC/adhOwJF4CicuxO5ZDngIHZrp/bv1ulyp2weoSqmTOVlrLcr6hY1brdEwlw8lOgBMEHei4gq6TicHzgT5+o2eiWt/thKuqBwsaKC2Oq0U+cuxn3yPgQDl8j1PfXMP8inaUGMSRsXSVP2oYYg1PCmQ3xRunoJc96n0LgSq4f8b8ujNJ8wM69HmocYq9jIZ8rOpPaj9XPmpGkkNzUad+hyDxor1NbvRusUpmZrspYby3fUy1TtMnR3wOeQLjyGZE5LSTFZf9wtKEpTUzxpphKnZL50WwmB7tb6DR+t4eEi/S48IUzlQ28BKnUo5c+w/CxNRx157fF+6b4PvcSFW5EABr4t8va8pE70k9ditvnT6IN1mzNjonXnZ8eGeQdKVokvh+o3NkJ62ClzywzNe8ABElZxS/823n9sc8fRgvgKR0h+T408gtDtx+v1mhoIWkWpu9Whkw1OPuYOxTzpeXUBW5vLhLtS1Ea1ETMnL3lD6cCqQVcd0NV/yf7kAWSUCG1f2wwZehHvCRbSqHIaSbcE7+l/W3MG0baEoMHZRHLkZt9L6U/XE2nrH22V5T36aUMN+MeI8IUczoQjkthhe3VK9TBnb+36RGgVqpN3cai5hFVRtV6OdCbXcuIXAsJzXNORfzAAX4IJxtr6I+sIbJTVoI6px7mfNz4nkn5vBD5ZN/ICoMKyya9vlTTwqcxaxxjfg/FqujjlS2HYJLOa2jokVJsnubt/VFDBpAV+NHB8KljcEM0+wRkh89ZJtiNPU8/G4Va6XmY1h9xg6G/VqtxrxvkDJYL7YR9HPG53uUJ4HzDeYfIeE9Tw5uuIPTf
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)(8936002)(6506007)(5660300002)(82960400001)(966005)(6916009)(38350700002)(38100700002)(316002)(54906003)(508600001)(6486002)(53546011)(26005)(6512007)(2616005)(87266011)(6666004)(33656002)(186003)(83380400001)(4326008)(8676002)(66946007)(66556008)(66476007)(2906002)(86362001)(36756003)(52116002); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: EJkfRpCeeuwD5mW9wPf8dya1mNKaWh9tylA3QVNpZ1sYaQFdCrOnWxYXgyBy6WD/zdiSKsKSqbA8aEOeclMyNtYjuM4VPQatsbEV5xWDvXHnkWk7/lLl1qZTx1eZKNF55FxM8kyA273hBUc/SavfudvTqJWUNxGIH5LH1NO6axLsvEQkM79rKr0X0f+aF22Iezthmgo4tyEYBEQXw6/mdMp2KeBv7P1wS12PUXUpdLcpHJf43Q5dhzvHrWw6iCgwNRzW9zknvE0rmjQoIxvsrISyfU5VTo5uojN5OF9R5SRmAAalNLfmVtnkDEwl38Qm0o0cj5ALe6dQAj5N2QtLc5SFNFr2I7xnTFDOB3P5x8LAc3jte9O9U8iz3vxZOLD/DmsZn9342ZAty3Zph5ZNRL92Ef0uMvLK1Ld7o7g9U6JedUugIoZv/v2BWH47WQA93vQz8wfOKoowaAdo3msqB8zDDaCbHq15G33/5mlQ32/PGnsfvtKIrpR+194zDblFsD+OKfahlhAHUJuinx0nuPSndBYMHiJMSX4FaGG7IX5em1g+79aaG6aTEFAJL3Q1c4ijhCpRSZOE8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R3PTyAgxUpFqkF10siwDp0HpjIZgl1xsoxKyuILfMfg/690z6p2cXK0a07SpbgfsGDJcJTlG0i6tpY8bOJ7phUHHU5HnqkV1A5r1U2vFpln7Dk=
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 6aedcb3d-a5e2-432d-4995-08da38bf32d6
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:11:47.1046 (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: PWSAqIxh3sdz/9fjKHfLVVLf2G5hQJVGdYcNbQ4KC7CadWcUBxnlHT53HwAf1W3BzqyMD5Z+dYYB+JQ/ttttUg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR07MB6760
Archived-At: <https://mailarchive.ietf.org/arch/msg/opsawg/3JdhKj16D1p3_uOCnlCCauShZus>
Subject: Re: [OPSAWG] Last Call: <draft-ietf-opsawg-l2nm-15.txt> (A YANG Network Data Model for Layer 2 VPNs) to Proposed Standard BGP L2
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:11:57 -0000

On 13/05/2022 13:03, mohamed.boucadair@orange.com wrote:
> Hi Tom,
>
> Thank you for the comments.
>
> Please see inline.
>
> Cheers,
> Med
>
>> -----Message d'origine-----
>> De : tom petch <daedulus@btconnect.com>
>> Envoyé : vendredi 13 mai 2022 11:23
>>
>> I find some lack of clarity with regard of the BGP Layer 2
>> Encapsulation Types module.
>>
>> I see no description of the module in the body of the document,
>> only the module itself and the IANA Considerations (S.10.2).
>
> [Med] Hmm ... we do already have the following in Section 5:
>
>     Also, the L2NM uses the IANA-maintained modules "iana-bgp-l2-encaps"
>     (Section 8.1) and "iana-pseudowire-types" (Section 8.2) to identify a
>     Layer 2 encapsulation type.
>
> and then in Section 7, you can read things such as:
>
>     Remote CEs that are entitled to connect to the same VPN should fit
>     with the CE range ('ce-range') as discussed in Section 2.2.3 of
>     [RFC6624]. 'pw-encapsulation-type' is used to control the PW
>     encapsulation type (Section 3 of [RFC6624]).  The value of the 'pw-
>     encapsulation-type' are taken from the IANA-maintained "iana-bgp-
>     l2-encaps" module (Section 8.1).
>
> Is there anything else you think we should say?

Yes.  I think that the Introduction should say that this memo defines 
four YANG modules, before going into so much detail of just one of them. 
  You have got five paragraphs on l2vpn before the others get a look in 
and, for me, that misses the big picture; some readers may only care 
about the encapsulation module.

And one point from below, Experimental Use values are in the current 
registry which is why I think that they should be in the YANG.

Tom Petch

>
>>
>> S.10.2 says ' add this note to both modules'.  I only see one
>> module.
>
> [Med] This was fixed as per the genart review. Thanks for catching this as well.
>
>>
>> It gives the name of the registry but not what Group it is part of
>> i.e.
>> 'Border Gateway Protocol(BGP) Parameters'.  Admittedly this is one
>> of the better chosen Group names but it is always good practice
>> IMO to specify Group name and Registry name when referencing IANA
>> entries.
>
> [Med] The note will be placed under the BGP parameters registry. I don't think adding "under BGP parameters...registry" to the note is useful.
>
>>
>> It also says that the name of the 'identity' is the lower case of
>> the encapsulation name provided in the description.  This is not
>> what happens here, in the module, in many if not most cases.  The
>> identity name is based on the Description in the IANA Registry but
>> heavily abbreviated.  Who will decide on an acceptable
>> abbreviation, meaningful, unique, for future additions?
>
> [Med] I think this one was clarified as part of Dale's genart review. Please check the diff shared in that thread.
>
>>
>> 'Unassigned or reserved values..' worth spelling out that those
>> are the values in the BGP Layer 2 Encapsulation Types registry.
>
> [Med] Yes.
>
>>
>> And what about the Experimental Use values? They are not in the
>> IANA module but why not?
>
> [Med] If such values appear in the re
>
>>
>> 'unique revision date' well yes but the current date would seem
>> more useful.
>>
>
> [Med] This wording was agreed with Rob as there was a case where IANA accidentally created two entries with the same revision date when adding two types.
>
>> Section 8.1 describes the module as 'YANG data types defined by
>> IANA'
>> which seems odd.  The underlying data types are defined by the IDR
>> WG; perhaps 'maintained by'.
>
> [Med] Indeed. Changed to:
>
>      "This module contains a collection of IANA-maintained YANG
>       data types that are used for referring to BGP Layer 2
>       encapsulation types. ..
>
>>
>> I note that Section 8.2 which contains the other IANA module,
>> IANA-pseudowire-types, has a section title of 'IANA Encapsulation
>> Types'
>> which seems odd in the absence of any explanation.
>>
>
> [Med] Good catch. Changed to "IANA-Maintained Module for Pseudowire Types"
>
>>
>> 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.
>
> .
>