Re: [netmod] Tree diagrams

tom petch <ietfc@btconnect.com> Fri, 15 October 2021 10:28 UTC

Return-Path: <ietfc@btconnect.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 532D53A190B; Fri, 15 Oct 2021 03:28:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-0.001, 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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qQwTb0Nu6k51; Fri, 15 Oct 2021 03:28:43 -0700 (PDT)
Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140105.outbound.protection.outlook.com [40.107.14.105]) (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 2FE323A1908; Fri, 15 Oct 2021 03:28:41 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EBjsHEooj8LDuRqrO5r7oNxY1LQVch9sxiIbqChHPpjim36Av7JgBaopMjzegaXBAj2FXLHaLNTfPkTtxBFX1MrJavhEq3hzNaHYlVD/bF86KZ97R3JZRFHFGGXGIKA3O6F6aYW/no97VjrITUPUS2j1ELEzmC0WyMeXVM4aSprBiigCgYyQ2DzrIfTXS+l+GQCHaMj6I2WeWRZjs6ubY5pDWiwlnf0oEeNZryMSLm7S8jqXenZ5aRzgPacsSAdWx7i568wKPf2gQQvKyvoGu/6QIkG6Y6zGGHDxmww4rZMar++jQ6N69hGz4FaXf2SO9zXdJJIl9F3IpkdcGs2Arg==
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=b3fP9L3sOAMoVGeWW+oObjJIihy9iSpGmTsTcC6iIbM=; b=fZ7eEE5eqkN/plZ+8b142/KB6wMDre1WtnrntQh2aX8vok4Rnsi2R3ivVwiTPWV9NF9B3H8z5OdQ5vQIuv2ZVTWC3SFQHVAZbnIfHSM46ATZk4n7S6ICx1SOA+qaBvmDie/37h7I7oprASuaUsFeQX60HjWgL0bR7Ax31MmVimn2A2oSFlmuM59uWYi6xWzOHljYy9awAKasscmV3Tg9BuUfWrFJcgBc7XY3+qmfXu06S2UXGlZWr6ZGvhq8VCBuZU6UGRyo/hV4pdZ5PFhksKp9HUCH90crVt2yEJzXhrz3TMqmGtuYkgQ5WhCPbl0TBUhbFoq04XTbsMKnJYAa+w==
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=b3fP9L3sOAMoVGeWW+oObjJIihy9iSpGmTsTcC6iIbM=; b=x6+9AGD8Tp26MJvSRbPjHvykLhLXOYpyVun6bcJJDo2Ca0SptgAoZLueIPTownta8ew2FGJuNYggOCY1lMB9km2daIa+qSykOcM+duPkxgonVlxtXpPZgM/3MAqkpWTr2Yg3CPY//jJzMQk5A+eIeJG+ESACWkUdiU3oIXlSkl4=
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com (2603:10a6:20b:134::11) by AM6PR07MB5590.eurprd07.prod.outlook.com (2603:10a6:20b:3c::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.14; Fri, 15 Oct 2021 10:28:32 +0000
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::2d2d:6ef2:f6c9:122b]) by AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::2d2d:6ef2:f6c9:122b%3]) with mapi id 15.20.4608.016; Fri, 15 Oct 2021 10:28:32 +0000
From: tom petch <ietfc@btconnect.com>
To: "Rob Wilton (rwilton)" <rwilton@cisco.com>, "mohamed.boucadair@orange.com" <mohamed.boucadair@orange.com>, "draft-ietf-opsawg-l3sm-l3nm@ietf.org" <draft-ietf-opsawg-l3sm-l3nm@ietf.org>, "draft-ietf-opsawg-vpn-common@ietf.org" <draft-ietf-opsawg-vpn-common@ietf.org>
CC: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: Tree diagrams
Thread-Index: AQHXwauokAtRaBjW2EGuZb/M49idHqvT1U0wgAAFJIU=
Date: Fri, 15 Oct 2021 10:28:32 +0000
Message-ID: <AM7PR07MB62486954F6655DD48B15D66DA0B99@AM7PR07MB6248.eurprd07.prod.outlook.com>
References: <AM7PR07MB62489EE33CE76695869A9302A0B99@AM7PR07MB6248.eurprd07.prod.outlook.com> <BY5PR11MB419673F4D67216E860892091B5B99@BY5PR11MB4196.namprd11.prod.outlook.com>
In-Reply-To: <BY5PR11MB419673F4D67216E860892091B5B99@BY5PR11MB4196.namprd11.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
suggested_attachment_session_id: ea9a0973-eedd-e1ee-db57-c5969a949d93
authentication-results: cisco.com; dkim=none (message not signed) header.d=none;cisco.com; dmarc=none action=none header.from=btconnect.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: acba0e10-c185-4fcc-e869-08d98fc689db
x-ms-traffictypediagnostic: AM6PR07MB5590:
x-microsoft-antispam-prvs: <AM6PR07MB559098B086E3A55F21EA8F3DA0B99@AM6PR07MB5590.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: eS75oN0uoa7V5PfXNLMuBesqPMX4/7Y3aFJ5BZpl2Cz5CcS6pNf+ie0ZIZeUICm01oeYJsjC/uqyJMsJaGXixAzj4+/77+yxP81+ImHkDcuXXPOLis1MkF70ia/72ahWzgnxAfvMm7VSbImKTWfGYSEmFpx/dE7kaax6wKnNkLqZ6y7oYM8tvY5FebkMBdz4NzmnlweI1b3fuB73qCukHqahigEdmFL9VvEG66X5mc0j5tGsqeqxCmr8AQAXZbwN76DJ0wkU0dKiWI1nvqrZxzv2R+9ItzJxvYhQAsxqPA+O30aZ50W3UC4RUJtatQ8Pja3kvmQTA7LMJ9Z4Q4alpdqyWrGNfAaqLwLx+NJ0VLREyXSZ3Pnzo8EeKEOj0N8Xyv70d/QsE8AqayCkYO9+NSjUC1l2wDuproO2mv6LZap0HdwmsJnP8J0hwl5cvPtM8+zWeBo1ZZQR/mCfbABfyCkkJf/oHy+yPDruGeimZZwtUb07bCgdiDFugKO1c2YfIFdiY5cyIzwcM+Tvr5SmyWtAadLnAsX1bR9YrK/eUzqCTyN58QX3oaOjVHhrw4nio/OJ9uNEp5WSUjKkj0P8R5KabmrPcLQ8HYuXBfU8YXPeERYWMX3TT1WeWKys5O73Pr0AXlh4ETfgcnp8YrVcJ1Ml5tX9N3VxAacpXs3ms//PWj6RgVw/nqsHZJLDdxAe+A+9bAyzpN6BG5dUXABTWDs1sQnyizYCwQ4k3ye8NqNtHZOsKAyoSQKg7/YwdQca+omwFNu+lwbVXAUx5QIvKESiY17RTG5A3sYTmjxYQ14=
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:(366004)(86362001)(83380400001)(6506007)(53546011)(82960400001)(966005)(2906002)(52536014)(76116006)(7696005)(66446008)(64756008)(66556008)(91956017)(66476007)(66946007)(508600001)(3480700007)(71200400001)(186003)(33656002)(55016002)(5660300002)(38100700002)(122000001)(4326008)(8676002)(8936002)(110136005)(38070700005)(26005)(7116003)(316002)(9686003); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: ptnxGlw72giEel57vxxTXv3/RHOfJ2/kUxkmlunuXyoNa8buD+ba9VbnG3nk7EnwopRTSSS7yD8ld8eBSeCTgchOvupSkGtLvLHLxzatHkvBEUthTYQF/b3a8bBO2+U3+G++RD1Yx2JoL3MN8oU6xWajcxJ/TlVEZg3ufp0duZtZrglU7cXGUvx159efV3Ukt6p1103L9SGtKPfOlndUhD0oZjrrdIBwHtIe0xn7+1KeK/RW1MZ+97hTSo8t/FlejoEs6lfVgqjt9AsaItd0H9nQfsFaO/k4KgKuMMBr1aaP7M7c0cTDikKLd5L/ZCm2P2SKPyhdlCJ2aHYYgTAXYsZcLIc49IVL1CyPU70WBpoaXaNhP5AZ9i+4xeunZ0/vei7HUe+QxRYsHf4da1QiftcPN22+TW87sg2qkCHa652ItiD1mHGEbox6dw5q3NFuopcpeIUtmngQXmN7d26ukGfLaU0r2jTPATuvIRlXn0v1gMNM8Kmzc2nuvGin2SWlCeRd5vS5fyqbyro5zRfBaJpzM8wl1BjwadIf7ckS7w9qDcgsL6vGEl6+Z28uB1xU5VwN3PYZ01Ha5FF7yiF7YBKIAbV2lcL6r8OO/NzvLlpg6cmtq/eSu4qHpBTUBaX0C40snb7pc6DXJwPJl9S3S6hQg2t4TJuA4TckrFVAh7lMClXxAOS4bnOV8mw3mscEbvXoRSlsmWzLEv2SpjrZ+djzc1L29FVpXtNNyI24C9T+pkkJKHKc1bQ7bZJi1zR/BLkYtbjp/Glwe4kh/k5Wd5ieNWMBlu5696v+1k2VH+gZyQg5GBkmRsfKQXcueka3ZUmlplAp+RCL7cLlyOVJRmJVI+OvPQMLOIhwq7udAOs1OOkKp+PyR9hXkZ2RGVGAlpHYh2wX/nO7nf4ox8BiYhiMN73snq0naSY6aU4+EC2M2xrjAQngGQS9ht1H7blEyPbiOivVUJm8k1fOGorbhGvwnR5Bi9VYIXwThaYTVa9cElwAET1ed4N7quBm1Wm+kA3hI27VpFNgIpK8AX/Y7kVm8JCYFrDVS6roJLnKTmKqNvEg+AfdteSERSpGAKf2hJBCAdSMykvMwM5ejzaq92XVsu/p94nsqKvs17IjmDM0+UX7C5i8ACIhhe1SBntMaZsOuQgS45s+3PLvPJPHLc2e+o2C7FEzT3nYatb9Mzxhr3TMVQ+fnTerGtEYf6/iw+DGeeKKHXpQjYJgc11iKE5wWUpT8MmsLnqpfLJ0twK+Y8E/inggHgsuGYHkm1TNM4i49+UyaZ0BOxtH/+MQjwDlKqwIYa/Qo9m5WqPVxbPAsPWlYNauF9MdY+Il2J0Y
x-ms-exchange-transport-forked: True
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: acba0e10-c185-4fcc-e869-08d98fc689db
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Oct 2021 10:28:32.7956 (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: r8AHe/gu6FhdpuDNCOc0em7V3XtNlQBlzMrffNRvZOZfbwvwfqVhE06RFSNHlEZ54wqzKI44JZWsNG2UzzSlPA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR07MB5590
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/0C9-9MAuqFsRVPijMb2N9ecdwdA>
Subject: Re: [netmod] Tree diagrams
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Oct 2021 10:28:50 -0000

From: Rob Wilton (rwilton) <rwilton@cisco.com>
Sent: 15 October 2021 11:21


Hi Tom, Med, Authors

Tom, thanks for flagging these.

Med, authors, please can you check if the tree diagrams in draft-ietf-opsawg-vpn-common-12 or draft-ietf-opsawg-l3sm-l3nm-18 need to be updated.  If they do, then given that these documents are in the RFC editor queue then we will need to coordinate any corrections with the RFC editor.

<tp>
Rob

That was quick!  I can think of several explanations none of which would made l3nm ready for publication.  I raised this on the netmod WG list since that is where the authors of tree diagrams and  NACL are and they will likely have the best guess as to what has happened and hence what needs fixing.  My posts to netmod usually attract a prompt response.

Tom Petch

Regards,
Rob


> -----Original Message-----
> From: netmod <netmod-bounces@ietf.org> On Behalf Of tom petch
> Sent: 15 October 2021 11:03
> To: netmod@ietf.org
> Subject: [netmod] Tree diagrams
>
> I do not understand tree diagrams.  My expectation is that the same YANG
> should produce the same tree diagram but apparently not.  I look at
> RFC8519 and see
>
>         |        |  |  +--:(tcp)
>         |        |  |  |  +--rw tcp {match-on-tcp}?
> ............
>         |  |  |     +--rw source-port
>         |        |  |  |     |  +--rw (source-port)?
>         |        |  |  |     |     +--:(range-or-operator)
>         |        |  |  |     |        +--rw (port-range-or-operator)?
>
> but when imported into 'draft-ietf-opsawg-vpn-common-12' this becomes
>           |  |     +--:(tcp)
>           |  |     |  +-- tcp
> ......
>           |  |     |     +-- (source-port)?
>           |  |     |     |  +--:(source-port-range-or-operator)
>           |  |     |     |     +-- source-port-range-or-operator
> ie the identifiers have gained a 'source'  (or 'destination').
>
> Also, the structure changes.  Moving on, vpn-common has
>
>           |  |     +--:(tcp)
>           |  |     |  +-- tcp
> .....
>           |  |     |     +-- (source-port)?
>           |  |     |     |  +--:(source-port-range-or-operator)
>           |  |     |     |     +-- source-port-range-or-operator
> .......
>           |  |     |     +-- (destination-port)?
>           |  |     |        +--:(destination-port-range-or-operator)
>           |  |     |           +-- destination-port-range-or-operator
> which looks fine until this is imported into
> 'draft-ietf-opsawg-l3sm-l3nm-18' when it becomes
>
>    |  |     |  |     +--:(tcp)
>    |  |     |  |     |  +--rw tcp
> ...................
>    |  |     |  |     |     +--rw (source-port)?
>    |  |     |  |     |     |  +--:(source-port-range-or-operator)
>    |  |     |  |     |     |     +--rw source-port-range-or-operator
>    |  |     |  |     |     |                      inet:port-number
>
>    |  |     |  |     |     +--rw (destination-port)?
>    |  |     |  |     +--:(destination-port-range-or-operator)
>    |  |     |  |     |          +--rw destination-port-range-or-operator
>    |  |     |  |     |             +--rw (port-range-or-operator)?
>
> 'destination-port-range-or-operator' has moved and we now have
>    |  |     |  |     +--:(tcp)
>    |  |     |  |     +--:(destination-port-range-or-operator)
> which does not look fine to me; how can this be?
>
> Earlier drafts of l3nm did not have this feature.
>
> Tom Petch
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod