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

mohamed.boucadair@orange.com Fri, 13 May 2022 12:36 UTC

Return-Path: <mohamed.boucadair@orange.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 3E0B3C15E6F5; Fri, 13 May 2022 05:36:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=orange.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 RxsogNQzKUqZ; Fri, 13 May 2022 05:36:25 -0700 (PDT)
Received: from relais-inet.orange.com (relais-inet.orange.com [80.12.66.40]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 519DAC15E6F4; Fri, 13 May 2022 05:36:25 -0700 (PDT)
Received: from opfedar04.francetelecom.fr (unknown [xx.xx.xx.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by opfedar24.francetelecom.fr (ESMTP service) with ESMTPS id 4L07Rq4NMJz5x4q; Fri, 13 May 2022 14:36:23 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orange.com; s=ORANGE001; t=1652445383; bh=VYV6JYBXlu9LrXcudnd6ki7ioH4ShEOzP2d2RQeVZkM=; h=From:To:Subject:Date:Message-ID:Content-Type: Content-Transfer-Encoding:MIME-Version; b=cr+tFzlt6J7nQTt6bHzRRbkKmVHfxmfk/NjLP87TB+heSTJDnuXXsw7f/ALmIXpwa Wc979kDFyvCUMRWYEIwxOOojM4kiSUrlNU3ghGTCHdIC1Hm7M3sIJxL+4jx8xpZT3u kH+8OxjGSg+k1QD7lUqfoVmEriXxDjLfAWpW2bSx7GkUAfF64fKdcVuGW96j3lmbaW Dc4vVXvpz3pO6N8FdnaX3C/ItQB5x+nhw9Dlf9t5xTUllsEIEfL15K12xOG15nA/qt yMuy3jKGIQZu13s9fU2iGhv2LVrpDMISwW825n6j3xm5uUXnaY5/hrZyI0BWcKAMdm dT1igOR5SGxxg==
From: mohamed.boucadair@orange.com
To: tom petch <daedulus@btconnect.com>, "last-call@ietf.org" <last-call@ietf.org>
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>
Thread-Topic: Last Call: <draft-ietf-opsawg-l2nm-15.txt> (A YANG Network Data Model for Layer 2 VPNs) to Proposed Standard l2vpn-ntw
Thread-Index: AQHYZrkW1kiTZS+24ECDSreS6gdr+60ctfDg
Content-Class:
Date: Fri, 13 May 2022 12:36:23 +0000
Message-ID: <25254_1652445383_627E50C7_25254_360_1_343b10ba958d4c7bbd9f31ef9f9c7aa4@orange.com>
References: <165124323213.7379.13149514636739448316@ietfa.amsl.com> <627E3AF3.8020303@btconnect.com>
In-Reply-To: <627E3AF3.8020303@btconnect.com>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_Enabled=true; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_SetDate=2022-05-13T12:05:16Z; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_Method=Privileged; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_Name=unrestricted_parent.2; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_SiteId=90c7a20a-f34b-40bf-bc48-b9253b6f5d20; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_ActionId=cd2adefb-fd6f-469f-ae52-47ecc3775881; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_ContentBits=0
x-originating-ip: [10.115.27.51]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/opsawg/bH4-5HObM8e9QShi5aMntpVSRBg>
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: Fri, 13 May 2022 12:36:29 -0000

Tom,

Please see inline.

Cheers,
Med

> -----Message d'origine-----
> De : tom petch <daedulus@btconnect.com>
> Envoyé : vendredi 13 mai 2022 13:03
> À : last-call@ietf.org
> Cc : adrian@olddog.co.uk; opsawg@ietf.org; opsawg-chairs@ietf.org;
> draft-ietf-opsawg-l2nm@ietf.org
> Objet : Re: Last Call: <draft-ietf-opsawg-l2nm-15.txt> (A YANG
> Network Data Model for Layer 2 VPNs) to Proposed Standard l2vpn-
> ntw
> 
> 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.

> 
> 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?
> 
> - 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:

        |        +--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.