Re: [OPSAWG] AD review of draft-ietf-opsawg-l2nm-12 (2n Part)

tom petch <ietfc@btconnect.com> Sat, 21 May 2022 11:12 UTC

Return-Path: <ietfc@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 97B2BC185B0F; Sat, 21 May 2022 04:12:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_PASS=-0.001] autolearn=unavailable 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 hBSXvOHEbJfS; Sat, 21 May 2022 04:12:52 -0700 (PDT)
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2070b.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1b::70b]) (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 15BB9C185B11; Sat, 21 May 2022 04:12:51 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mA20SB+aCBPwRgnJI09XDskzgzizAN1gSWRGe00uILXmKGeRKqe40+UOdoYQRlKurfuWVtUFnn/91L6FsS3fvhLN+F8Lqbtm9tuvt0KzxwBGgP+c9Zz183LL7n05saHeXCFT24vbJOea4cQZB6RwQdBDPKC6YmaxXhlUE5Ye6eNtz9l9YQJbR85mi+3+97ZfQiiFch4/VtTNiu+zgwzCGjFlBAEN5gNeeuVGgkHgmHLGnBiJ/mZDWZtY25DyAtmPQbtKYvXBnO6hYdB/T29S9TP2XhY6ffAJDkEYZpptPqgMneC+pP6CGCqoEHz+uUtp8/BKj1njOa5Hfp0md5Kb2Q==
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=cV7BHS26gDhxscVcTsy0UHyjyVf1+Y+otqUE34xyub8=; b=O/+hfl7c6PBC4litHP2Y4DzNG1oNKj8cNyklbzBlYGnRtBSiosIK01lgR5dBJ0HwVXSbLNfYfrW+8ZV/Rho53/+0I/tadAoPTI/1g3nQdOGit8HeRpPOauxgk49+IriQFVrWvK2lQu7z0pxpK7SnMUGqf4JsQMQGG/mY9HTly4/aJrM/EsE01teSVgPE+OxDwFPmOVElxSd+c1LWr4nRz5hik9WAEqIH+eZjElY62x4O2Koc3u/k9lb/SGBTTF3nnDOQhY4QVvjidto0Xk9fwqJmX0y57TUaApfAtioKxBFpYJIqbM0hTHdmTFMsVk00df7Lxc5L3W9KJF0uLPoNVQ==
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=cV7BHS26gDhxscVcTsy0UHyjyVf1+Y+otqUE34xyub8=; b=NoGx+wZ/tbVWXg7/jtcArqQJRw++k8ZQQVugql7BBBlXxZcefIMYsTdFyxaNY03sQz+oXHrwCigPgoEEvm+/5YFwx9HDH0k4jm3zy53DCEYBpc9aGWSs8IClmcOubq5SKsVMmGkqQwUPrLPVyk2Ev+cUWhcYB0nIEhNmOX9vZEA=
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com (2603:10a6:20b:134::11) by AM8PR07MB7540.eurprd07.prod.outlook.com (2603:10a6:20b:241::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.8; Sat, 21 May 2022 11:12:43 +0000
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::4960:6f2d:2a52:fde9]) by AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::4960:6f2d:2a52:fde9%7]) with mapi id 15.20.5293.009; Sat, 21 May 2022 11:12:42 +0000
From: tom petch <ietfc@btconnect.com>
To: "Rob Wilton (rwilton)" <rwilton=40cisco.com@dmarc.ietf.org>, "mohamed.boucadair@orange.com" <mohamed.boucadair@orange.com>, "draft-ietf-opsawg-l2nm.all@ietf.org" <draft-ietf-opsawg-l2nm.all@ietf.org>
CC: "opsawg@ietf.org" <opsawg@ietf.org>
Thread-Topic: AD review of draft-ietf-opsawg-l2nm-12 (2n Part)
Thread-Index: AdhI1vsEkumvcWh8QoWM1OmlB4stlwRVHJQABLXBMrM=
Date: Sat, 21 May 2022 11:12:42 +0000
Message-ID: <AM7PR07MB6248BF6C18D1616E33C9ACE8A0D29@AM7PR07MB6248.eurprd07.prod.outlook.com>
References: <29477_1649155194_624C1C7A_29477_23_1_391230674e314f19abaa530eba252d9e@orange.com> <BY5PR11MB4196325445A948E3DC5E411EB5FA9@BY5PR11MB4196.namprd11.prod.outlook.com>
In-Reply-To: <BY5PR11MB4196325445A948E3DC5E411EB5FA9@BY5PR11MB4196.namprd11.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
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-04-05T10:27:00Z; 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=44505301-0da3-4264-b79f-b9dca13841db; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_ContentBits=0;
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=btconnect.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 9be23c28-cf78-4e09-335e-08da3b1ad37d
x-ms-traffictypediagnostic: AM8PR07MB7540:EE_
x-microsoft-antispam-prvs: <AM8PR07MB75407C8E442CA8A70CA91BA5A0D29@AM8PR07MB7540.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: 6+uI8wKz/cng/HNkRKNW4njFchY7A7hSR4K39z+RGQMIp1tmRH8HUg2njdIzOlIVN7YDRwRZnY1pSBDO5/sKxjT6ujKco7LxlmJlNsKEOz6njdxqeL3inw2YGkQuaAFacHhqJwJwalX/a4o04DcXXin/obV3SGhG1JzVzl8tVKgZ2oaut6uPpTLBy3eOQ9QTW8zz08eLlQyJ6hscDku4n+NUbGFW2v/Bm1BX0dfDl50sx96HsQ3D35rDyIa7bdZtUxgM34UmfH2Zta7UGG/R/nV7gMTpGH1Hh7b1CVZ43MzyX70dqX4x3YuGV6VN61AfoSFpnKp8qF3cZvSEPZ0ZDL7dnakjaWsRERuwtlpx155H4U7gFstW+G0QfdHxjQJCyF5h5gDobyEs18N5i6NhheiVdXnn4wqQ/wTsVYo9ByRxh3wRX/JNcQQRsffS1jO0Ss3p7OWNOxcj0x/nDHtJ8Y+BC++f3X5+Ghb6wPEA4+xNhcK3aLsjDGLFSaOgILr6ZcqPr5JWJeElpACnSY4yEpC8cJsea8UD6uk9cNLfU2xWu2mokxbIRm+ec1dJK+rKn8TOd5qhwAtKPSiu2oT7DODV3Wx22To/+DNKwZ1nMRtrdn4BHoGaN1+klhrYjSb+57Qr+L14K94LtZ/KkeCo54fPtJecLg45YeU4A1979VII7KBsTMKFgpPteJsDji8N/ChDb6LAgX66Ki57SN/IjI8PEBZcluyiQJUlNyiAvO4Y/XazVDM71hR6EzzWwKLkjMYtjbwO75gBohkbynau9AKvEuZmy38SMC7MrSjtEe/vWfYTf2iMQNadCxM4EYwi
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM7PR07MB6248.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(9686003)(33656002)(55016003)(82960400001)(26005)(186003)(83380400001)(53546011)(7696005)(6506007)(2906002)(64756008)(66446008)(66476007)(66556008)(8676002)(71200400001)(86362001)(38100700002)(966005)(508600001)(66946007)(316002)(38070700005)(110136005)(5660300002)(76116006)(122000001)(91956017)(8936002)(4326008)(52536014); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: KzSOLH6L1PtHQoWWSdZMyFradRriXvnjR80EMDSMmrlxa3LnCe2KVK2vze9PRjVJ2YxBbXLyg2aXZ+4l/1jnjnjBDgRj38Y91byOj6Rpyh2SeoSiLauEjJfJ/BOJueWst9EjvWmp2/ItmV8vY/W2HSrsiZAcypoE7YFYzLG1kP2A8IHS+7cm2i3aEgLq7aCjTs2eRTD5B8JsxA6FqhuPmUV54mRD/TmSvpDN6G0vF5EowPS0/8Of92zCr0jYXmng0IL7G5uA7ldq7lTXQ6nsfkm0gnjt/yNIcLQvdi+xM+FWWIJxooFne/gd4exsKhDdGUl3/3Bkpaf/XFm6G5AI6C2gnITHOhzcwUBukFU8b9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qHo+Ww2sePmeYRzAxd8Go35aEM7A2Cnmj0f29GdveWhMjR4hwlyaWLleYI325rBIeQ0mBCVDb/nYKImEu0di9zne1fDPUrOzPNmWf2ZeKCB1Q1fy3GUHghNdQlAg8qwTpPQPnrR0wzshaT+sE6TgbA5GrRdqcMjiAkwAJlR6MPIO9NroiVNzZRQ/etNNDt2c+IS0XznU5JQHrV7gP+fYrYKCyhaQ8s4xXszd949Yp0/3w/F4VlRqoxHJtwu/qp1WwwLgiC80XIicywpWc5eWJA==
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM7PR07MB6248.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 9be23c28-cf78-4e09-335e-08da3b1ad37d
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 May 2022 11:12:42.9263 (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: kRBglvC+DTzs6KWzR5ZalnKSFte1+U1pkkFOUrhmC1Nd7u3Oh4zftu67PPD3C/yNOZv7GO3/8JvH3Zjb8HclWg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR07MB7540
Archived-At: <https://mailarchive.ietf.org/arch/msg/opsawg/XjRMb7QQRdD2WiYO6Hf1CUOCLpQ>
Subject: Re: [OPSAWG] AD review of draft-ietf-opsawg-l2nm-12 (2n Part)
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: Sat, 21 May 2022 11:12:54 -0000

<tp>
Top posting on point 8.

I have commented at IETF Last Call that I think that the references to 'default' in the YANG descriptions in several places is misleading.  There is no default, there is no YANG default statement and YANG users will know what default means, except that here it does not.

Unless you are proposing that users add deviations with default statements, which is not how I read the text, then what I see you suggest is that at different levels (and I note that you, like me, are confused about what I refer to as levels), different values are recommended.  This is common practice with many specifications but they are not called defaults and I think it wrong  to use the term here.  Recommended value would seem what is called for.

Tom Petch

From: OPSAWG <opsawg-bounces@ietf.org> on behalf of Rob Wilton (rwilton) <rwilton=40cisco.com@dmarc.ietf.org>
Sent: 27 April 2022 13:38

Hi Med,

Catching up with email, sorry for the delay, please see further comments inline ...

> -----Original Message-----
> From: mohamed.boucadair@orange.com
> <mohamed.boucadair@orange.com>
> Sent: 05 April 2022 11:40
> To: Rob Wilton (rwilton) <rwilton@cisco.com>; draft-ietf-opsawg-
> l2nm.all@ietf.org
> Cc: opsawg@ietf.org
> Subject: RE: AD review of draft-ietf-opsawg-l2nm-12 (2n Part)
>
> Hi Rob,
>
> Focusing on the first part of your review, except point (9).
>
> The changes can be tracked at: https://github.com/IETF-OPSAWG-
> WG/lxnm/commit/337f65012f55e71df4105481bc28fe53ac8bb302, while the
> full changes made so far can be tracked at: https://tinyurl.com/l2nm-latest
>
> Please see inline for more context.
>
> Cheers,
> Med
>
> > -----Message d'origine-----
> > De : Rob Wilton (rwilton) <rwilton@cisco.com>
> > Envoyé : jeudi 17 mars 2022 21:53
> > À : draft-ietf-opsawg-l2nm.all@ietf.org
> > Cc : opsawg@ietf.org
> > Objet : AD review of draft-ietf-opsawg-l2nm-12
> >
> > Hi,
> >
> > Apologies for the delay, but I have now managed my AD review of draft-
> > ietf-opsawg-l2nm-12.  (Also attached in case my email is truncated ...)
> >

> >
> > (8) Hierarchical groupings and defaults
> >
> > I want to check what the model/plan is regarding hierarchical config
> > (e.g., grouping parameters-profile) and default values.  It looks like
> > some of the leaves in the provide have default values, which I believe
> > will be ambiguous when it comes to hierarchical config.  I.e., normally
> > I would never expect that a leaf with a default value defined would fall
> > back to the hierarchical policy because logically the leaf always has a
> > value if it is in scope.  One solution to this problem (that is a bit
> > more verbose), would be to take the defaults out of the leaves in the
> > grouping, and then add them back in using "refine" them using refine
> > statements when the global parameters-profile is used.  Another choice
> > would be to not express these using the YANG "default" keyword at all,
> > and instead describe the defaults in the description.
> >
> > Generally, defining defaults where we can is probably useful, but we
> > need to be careful with any hierarchical config/policies.
>
> [Med] Good point. However, for the particular case of parameters-profile,
> the intent is that all these parameters are factorized at the service level.
> Values that have to be overridden at lower levels, will be explicitly called and
> then take precedence.

At a YANG language level, I'm not convinced this works.

To take an example, if you look at mac-policies:

               |     +--rw mac-policies
               |     |  +--rw mac-addr-limit
               |     |  |  +--rw limit-number?    uint16
               |     |  |  +--rw time-interval?   uint32
               |     |  |  +--rw action?          identityref
               |     |  +--rw mac-loop-prevention
               |     |     +--rw window?            uint32
               |     |     +--rw frequency?         uint32
               |     |     +--rw retry-timer?       uint32
               |     |     +--rw protection-type?   identityref

Then the leaf mac-policies/mac-addr-limit/limit-number is always in scope and has a default value assigned.

So, even if the global policy "foo" sets limit-number to 200, and this "foo" policy is activated for a given VPN Node then even if limit-number isn't explicitly set under active-global-parameters-profiles the default value for limit-number is in scope and hence would always override the value in the global scope.

I think that the best solution here is to not have any defaults in any the leaves under the parameters-profile grouping.  Where that grouping is used to define the top level global parameters then you can make use of refine statements under the "uses parameters-profile" to add default values back in only at the top level.  The alternative choice is to take the "default" statements out, and put the default behaviour in the description instead, making it clear that the defaults only apply at the top level profiles.

>
> >
> >
> > (9) Various comment related to handling VLAN tag rewrites:
> >
> ...
> >
> >
> > (10)
> >                          leaf speed {
> >                            type uint32;
> >                            units "mbps";
> >                            default "10";
> >                            description
> >                              "LACP speed.";
> >                          }
> >
> > 10 Mbps seems like a slow default LACP speed.  Does this need a default
> > at all, Ethernet interfaces would generally negotiate to the fastest
> > supported speed.  The same comment applies to the port speed.
> >
>
> [Med] The default was inherited from the service model (L2SM, RFC8466).

Okay.  I'm not sure the last time I saw an interface running at 10 Mbps. :-)


>
> >
> > (11)
> > I did wonder whether it is okay to include the BGP and PW types as part
> > of this draft?  Personally, since they will be controlled by IANA
> > anyway, and this is where they are being used I think that is okay,
>
> [Med] Idem. I don' see any issue there.
>
>  but
> > I was wondering whether IDR/BESS had been consulted on this at all, it
> > might be worth checking with them that they are okay.
> >
> [Med] IDR, BESS, and PALS were solicited during the WGLC, but not
> specifically on this part. Adrian contacted the Chairs of PALS WG about an
> issue on the PW types specifically.

Okay.

Thanks,
Rob