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> Fri, 13 May 2022 11:03 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 7078DC1594B8; Fri, 13 May 2022 04:03:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.757
X-Spam-Level:
X-Spam-Status: No, score=-3.757 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, NICE_REPLY_A=-1.857, 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=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 32nz08FVHkun; Fri, 13 May 2022 04:03:29 -0700 (PDT)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on0726.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0e::726]) (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 DD181C15E6D5; Fri, 13 May 2022 04:03:27 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y8PQOtvdu9lHYzQoX/tKSC4FwKUo1WWHLJUTkGWqa1y2Kraa6+Foqsk9Iqln+55laAGj6HDM82bLXyUmegM5SGiPLYrMdIns/4BfPBO9qwY3PD7ggz4xIAFIkPeHG94s9xirx7zpiCZg71Ea+nnuXE+AkR0QOTQpgB3+W1AlFKhVZvwIWFMSSr+tOhDv7rn+RKQhFBVEDAdnL+P9p8d69hpZs5+Nuk4eDhgKWDFf4wDMCVTB/PUuPhFYMooVdjiwDpEpGbjY5snipKqOE4MQywJm3ce6dsw/zT/8mHNkcP3lhDc4i57qofFBjyjaY9cDiz3R9TwDMP1sA+5Jw+tCcg==
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=DPovTkJwncC9cD5xlhtOwemhQeJUGwK89AY3K06m3PI=; b=Cd86MuH19cBQH6yHnBwz8ZJMhSNuvYc7sFA/OAwEoph6+bmv149BHQuWaVM8hSNw3dj21F7kh2SJxOZtNN9WQZPF2DK9NScoYSzEsWKUucbp+OmPwQSihTyJhj5FKfsEKW0D/5i5aZg0DCH1jSoqrDr7rL2Xq3Sw4mwFONhP35xq5RjAoTTmJHCcbAMPp6WjgfT1Rf7tVFeo/hD03IKeZ197M6uavpVpVQB5YYC4EONqvO25zZCD9yIL6wphVCf+rRIrylvirXXhlCQUtuqXjavB8GZW2tLNvwMKSBjDvwRMDMIUXyx+pBSJjV1vE95O5v+bnkCN9Vvu95ibFAlEbw==
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=DPovTkJwncC9cD5xlhtOwemhQeJUGwK89AY3K06m3PI=; b=RNbNDpU7pCmOJOLjN+PLK0c3O1swGIunU45HjqQwZ6xlVb0JOCOW5QO0FBa341EQYdQ5Mx7kqJbrdvLdaGVF1GdPqPgfa0g8Zgz3LfStATvIDzxVxDgT/uYJOQXP7bxQ6S1DnVHR0uxBSGOZKr/7iTGnMJB9/vmOCmGNugePf8Y=
Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=btconnect.com;
Received: from VI1PR07MB6704.eurprd07.prod.outlook.com (2603:10a6:800:18b::8) by AM8PR07MB8215.eurprd07.prod.outlook.com (2603:10a6:20b:322::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5273.4; Fri, 13 May 2022 11:03:21 +0000
Received: from VI1PR07MB6704.eurprd07.prod.outlook.com ([fe80::f84d:e585:8cfc:e64d]) by VI1PR07MB6704.eurprd07.prod.outlook.com ([fe80::f84d:e585:8cfc:e64d%8]) with mapi id 15.20.5273.005; Fri, 13 May 2022 11:03:21 +0000
To: last-call@ietf.org
References: <165124323213.7379.13149514636739448316@ietfa.amsl.com>
Cc: adrian@olddog.co.uk, opsawg@ietf.org, opsawg-chairs@ietf.org, draft-ietf-opsawg-l2nm@ietf.org
From: tom petch <daedulus@btconnect.com>
Message-ID: <627E3AF3.8020303@btconnect.com>
Date: Fri, 13 May 2022 12:03:15 +0100
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
In-Reply-To: <165124323213.7379.13149514636739448316@ietfa.amsl.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
X-ClientProxiedBy: LO2P265CA0282.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a1::30) To VI1PR07MB6704.eurprd07.prod.outlook.com (2603:10a6:800:18b::8)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 476ae656-5ed0-49bf-e3d2-08da34d0316b
X-MS-TrafficTypeDiagnostic: AM8PR07MB8215:EE_
X-Microsoft-Antispam-PRVS: <AM8PR07MB8215A5A618D6F361C08B77BBC6CA9@AM8PR07MB8215.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: PCHfGlfnm7tomPpzzTwbNn4quFUuIjrmQ7syWOZd8z+cDbfKPsUUY57B5fGHQU+xyBTKShAobqhspro/UvUvhI8B6KCYgUT/houl33Ho62i/QLCi0EHAoWnh9HellwDONej6CEdK0lheolIIcOvfz2ph9uisdBv7i1QLc3fxkTAR0efhdvuMmPNl5pwp1qTINVnjuNTkRTDKn3negZm0/9SUt5V4Jx+ZlOv0XoRpHOr6Lm3YV7inn0duUE1e5k99kTNIsW6+t5v2r3TpGCx146ye6hTxscz/1JKlEf5khVdGeoRP7KG+VrxHK4+MBOn03asJl66XXcl6jfavuRecxYx5jLNM4Ln0NOTK0+im9Aec+g2Xx5z1VuGdXnnWI0vdZ7L/5XkMlVlEcf58WTZS1rUIUlmN7sgL5fosvVw9BdbDEjioFOdNElGsGcrej6LLwKEZvmTJbetKD66zM0YtgmdUPrJgM8wD9Yp3EYdKgyI+X+YaZufso6mVNsWdQRo2rAbqKow3G5y6SsXbj2mXW1pD+8DN7G+IYUL5ZKJb2VOeL+oFPOwv/Xd90PPKlmMFfxqRfEyL2eA0r5RkEJvicQtDoLMDTHFkfJtKS8lZBF3rq9sb9FDyIEBVVeV8trqPcngDjkPZxSHZi7vqQclsMwNWt8oHguJiZ1wLveAFRT2I2ZqzxpKw4yE2jKeEfd0AkNhNsQ7PUI+/VQrstKrdL8GFjG/9f8UTMt9EgB7Ls17ZyBmyTU6Wr+nPiwwx20C1i45fMvNabwPAlMdOD83jxix/UIjd1wEP+J5rHwGfst2XxiwPTe81BKqJxRkAfA97svmmgNJsWA85HD9KtzTwBA==
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR07MB6704.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(86362001)(66556008)(2616005)(66476007)(83380400001)(8676002)(66946007)(186003)(4326008)(2906002)(5660300002)(82960400001)(8936002)(966005)(38100700002)(6486002)(38350700002)(6666004)(33656002)(508600001)(52116002)(36756003)(6916009)(53546011)(87266011)(26005)(6512007)(6506007)(316002); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: Gx92Z5OkeueSK6FZYXMACQLXgXlNJkeZgNqFD+MvM8GLAu3WStW59w+Ww6YdUQZ23R4t4V1/jAPSUL7Riq7Il6uZMGFrSwNeqgIEG6kJ9TsYZMQtp7WtF5CEBh+mUd1Gz8MWd1bwduRdKK4tzid2xToAwOdnhwgRUjvFmCaWIPAe/f6DPlenBYg1LCYvPApnyC4GxLlOC3zqrgf82dpLn758kMs7aA5B5xG7H25GaLm7u0AvDB8AZPZxtsG/zPt40PavzbJmdTdwa+EKhSS9bIjUW9YiNvD2AO2YQQcUpnZwPGzITXmKtCNU02CU1tYdu7ORz15KLQRsz4Vt9TcUeourguPLOQEEVuJG3ND0ZQ1ImWI22hid/8AV1tD2xi1YNks2ipZ9JD8qZEGtQfS7VDeIX3zI3b2+Mj3vHkqgU1OdbLh4+rGIZ0rEq5CFWjWqRMujZB92hMhvrH3XW+6bPpzv5RzDJU7gkDfaQnx3S30q1svdp3lis/MijgdbQRFhYFiTHROpNiiJ9wxvh9LUdmY64dSdv38d1ssNau4o0utZZgbapn8ay6kjayjMHY1Kn5Pcp4olT/bRw35b9/Qh7OmOdPyfdWQ+VwPEKyJHltR4DRiMruOeYG0iLAqsbDiMMaa48HexClvBMoheieuR0uOPFmO4l2f5LPlzpuUN2YI9eK8ydHUyhOG/d6BOJzimb3NY48mZgAsTBKyvp3Be+q/heUEmm6zZ1b9fzJ6PeOkCiPtvTHN4NBMDWO6jxaALUEzh5g4a3ffHRT6B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MS-Exchange-CrossTenant-AuthSource: VI1PR07MB6704.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 May 2022 11:03:21.5998 (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: +NR0kr7CWu9dOgRt2a+A9UViRSpRkRMg9rhWn/3HmNXhl5xbLVKH2bj4ygW/X28hvbKDSVcljmXX1AxCAXf7gA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR07MB8215
Archived-At: <https://mailarchive.ietf.org/arch/msg/opsawg/MKnexlK4Qe1qTlBIRUJnCUMdvAk>
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 11:03:30 -0000

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.

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.

- identity evpn-service-interface-type
this is an identity not a type so the use of type in the identifier 
seems confusing.

- identity color-type
a reference would be useful - I recall an AD asking last year what a 
color was.

- 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

-leaf interface-id
   type string
I wonder why this is not a reference to the YANG interface module.

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

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

- leaf cos-id
(802.1p) Is this a seperate reference from that to 802.1Q?

- mac-policies
this has source and destination address and mask (with no constraints on 
the mask).  What constitutes a match?

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