Re: [netmod] Tree diagrams

tom petch <ietfc@btconnect.com> Fri, 15 October 2021 11:11 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 8B68D3A1166; Fri, 15 Oct 2021 04:11:56 -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 3HqluykFSf7u; Fri, 15 Oct 2021 04:11:51 -0700 (PDT)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130102.outbound.protection.outlook.com [40.107.13.102]) (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 02BE73A0EF9; Fri, 15 Oct 2021 04:11:49 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ILUX7K6RI6MTY0AjHl7ed4ddHz6oWoYZlqpDjF8aUGAYh1+5mGCTy3JAAX1b0ThmJORLOa0hR6BbOavHBklKQ2tqbH5tN7NDOgPA2XAhcGCIjJAle9/QKBpsr+rCwJA6Un4g/d/ZZpL29xGQbjH9Sn14YdWANQPrkbpIQJh40VLfxaIKpteUsntQbkAnqg89Y3CnKcLMpZH5K5GqbjCC1mBE3eeqWXbCWXM9lisUKtdDjOalrFDGz011aLssJ6n5ouPGIINNOgmGSNpmtTCBsHoUcAcJaq+zdfCaJJMkxVAQHK8n4Gh9HeX/OpUf8odWMXAJJnPVcwGQ5Hs5cBRHQA==
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=JV5iwobeMWM6JjxrkEVk4ZZC2WEpzeyI3pLLT9BTDxw=; b=b1IqUw2vHwEqbGjv1/8/QrT1+0zOX0PpthIEBisPYyjDSLH7nrS09LU5/zKI8vO/SagibqXYVV23RVep6LGM/7+eej75HipCBhh3mZ+4cwGZdbpxQ5bk8gnNAf9DRb1oSN4uIgyqX0BI8gGS+zHnxBGfuhLbe+aN7/oqrG2ErFlheZsbMa/UPfTkhd1ng5NtTWAeLvAiObUfS9fBKECT8K+lccvWtUGHrmRoPPKLDLJlhXu1NcmP3xyEs5JBo4W85nqp/MrwKMeMSbJu8YEznxmSSpxtWGaF3nCQHwJevBFPoHuxpG++UhPkk1SLC1QCMDMe8zrkTkFsINfC9ohJuw==
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=JV5iwobeMWM6JjxrkEVk4ZZC2WEpzeyI3pLLT9BTDxw=; b=O2ka9nkpb5Dy3LVeJmv9aLKk7i8+cB4pICKrqF5JqXuVJFXx03fJ8bFJxlJ9VI6mlCfckF0SCBUwWSx164y5gpNFTnnLWe2K4AoSfxYikd11jLzDRXYIqgvocDECAoBIW8dv3LmzTI/nSQ8frxO4UIR8QjZydw3jzmm3r1CjYGs=
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com (2603:10a6:20b:134::11) by AM7PR07MB6484.eurprd07.prod.outlook.com (2603:10a6:20b:1aa::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.9; Fri, 15 Oct 2021 11:11:43 +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 11:11:43 +0000
From: tom petch <ietfc@btconnect.com>
To: "mohamed.boucadair@orange.com" <mohamed.boucadair@orange.com>, "Rob Wilton (rwilton)" <rwilton@cisco.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/M49idHqvT1U0wgAAHftCAAAmINw==
Date: Fri, 15 Oct 2021 11:11:42 +0000
Message-ID: <AM7PR07MB62483223FC5D66B451C4DCB3A0B99@AM7PR07MB6248.eurprd07.prod.outlook.com>
References: <AM7PR07MB62489EE33CE76695869A9302A0B99@AM7PR07MB6248.eurprd07.prod.outlook.com> <BY5PR11MB419673F4D67216E860892091B5B99@BY5PR11MB4196.namprd11.prod.outlook.com> <31588_1634295528_61695EE8_31588_200_1_787AE7BB302AE849A7480A190F8B93303542C895@OPEXCAUBMA2.corporate.adroot.infra.ftgroup>
In-Reply-To: <31588_1634295528_61695EE8_31588_200_1_787AE7BB302AE849A7480A190F8B93303542C895@OPEXCAUBMA2.corporate.adroot.infra.ftgroup>
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=2021-10-15T10:58:37Z; 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=33d51b0d-ed26-49b4-8f13-377d2b4089d3; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_ContentBits=0;
suggested_attachment_session_id: 690c5147-34a7-c823-5e91-e37fabe894f8
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: d923704e-9d13-4662-a515-08d98fcc91b6
x-ms-traffictypediagnostic: AM7PR07MB6484:
x-microsoft-antispam-prvs: <AM7PR07MB64849343ADFB591A36B033EDA0B99@AM7PR07MB6484.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: /IWn0bUQ0NrjwUTQ1K8rrg8SUpypYjxWE4PaxmqKNwT+tUGtear41EvHAM61+tc9PCfTBxoGnf8j31cfDwd0EXmcePVgBWRBumCc+8NIYBCwNk7IgyUHgvITs/nsEiMl7AF+XumUgTwtRZTeaP/Iijp1RYwjqhuPmSwD/Ndzq8xeDNFaVcEDayEo4Mgpt4a64HO3+wmi6FJcXHLodY73iPpPxRfdXOpxyfQq+tlnIsg+hctWMR/cDjjtHiHU8qw7HjMCMK/WAbWR5fAC+T/+Yov4GGOqDW4rYVw9y6RjaWVCzXlyT6iHH3HLdfpgqp4ME16uJRJ2cI3/InIMKvEHTkD/N+zTldOcc/izjwDrAOJfUUpj8YMFIE2eb5XmkGNBK7MPekzCzIfNsjwEAuOKJet88cUKdmLUeShDoQjSsRzWV9vTrfg2GcnhnSB3YJknk9DJuRwvCeukLE9VL0dOtQSqkBTNCHOSyHXiVuVeh5rIUV643Obl2y75DU3sbo1Yko1SY7wuX8dPqLBaXfdorbJryWh2PpwWkIy0vSf3uxz8ouobw+vcBlAn34uH2Ka0F9sakOVE74x6ONpVyUchCBbV2M0HmsZdUSpw0eFGwdAo12igmxMYecFtdgPIhLfWhChUfRtHPZZ8ALzcuGFyQVZ3lztk7yf1oDMw2hs0Vhaabn6IAw3gNVC4ljKGIwsbv+Fg9BClEyakHJPFEh0jNXVQ712ms0+QBNuWdUC0jzlevYGvP1us/O2QTQsEl3QFzY+wBIDFdPI5swrIetl9or19uHKPNqmvrkLh2EuSfC8=
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)(4326008)(316002)(7116003)(38100700002)(508600001)(53546011)(82960400001)(122000001)(6506007)(2906002)(3480700007)(33656002)(7696005)(110136005)(66446008)(52536014)(186003)(83380400001)(55016002)(91956017)(76116006)(66476007)(64756008)(66946007)(66556008)(5660300002)(966005)(8936002)(38070700005)(9686003)(8676002)(86362001)(71200400001)(26005); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: Qhuk5vAy/tqqTvtHW+EDokvyOsYys5xy4xlI6Yrlq+/CNhTnmHb7Ws5p9ErgzHRVllgPhjDHtQ+xKCEZQypZR252O2Ti78/fZWL6ffDCY//olC3jsJmfg1E64hSoZY7pD1BBXvhu9wA3kXE6UTt/6I0ncKRUM1weyDM+fZMZNrtta94gXgspvx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qswmZ3TEOSMPzFPXAbS/YM5r3ZFV2lBnNyyP2ZJo+q42nqTP3vQgzM4XG5clo5cLv7KVjrhM3nRTlabBSDpWVWXTzkNfjSP+e5oTYQn8vA3V7CdTrIVp9SKzKIRig+nYPgxDEE1P4k2YanG0zLERuPLx96BXisot45YdQE+C5lFFmsrNbGrjVD9nGSipwI7YlVpAhoT8FT2k3Gr/teKxnt/Z/lkdu/hI6ydt6GcpYr0h2GddtyqyQxT0zch/qZk2l3DxS8KhtZ3LdWAfhgEwZgzNFbDwES7Y6tdmKSc1AcG/FTxOBMzhQQFShFDXc9I6a3xLzMVBGhUAbesT4LZUux6w+vNJtMfoU3uXz+3G+z5X7xOqQM=
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: d923704e-9d13-4662-a515-08d98fcc91b6
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Oct 2021 11:11:42.9307 (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: SiPgQZlxOxLbtLQORSpjP4YGHtzXgRcXmKCAv3CfamqgSslEceGaEJavNqRxOE7NhDW1y4rsjybTG2mJOzaYQg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR07MB6484
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/dZl1Ge71DMZgroKblbEUVfPkaCU>
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 11:11:57 -0000

From: mohamed.boucadair@orange.com <mohamed.boucadair@orange.com>
Sent: 15 October 2021 11:58

Hi Rob, Tom, all,

The trees are different because we are not importing the acl module, but are reusing "packet-fields" from RFC8519 to define the classification rules.

Please note that trees in vpn-common are printed with "--tree-print-groupings".

<tp>
That feature I do not understand.  I agree that you are reusing packet-fields from RFC8519 but that module has 'grouping port-range-or-operator' with no mention AFAICT of a 'source' or a 'destination' in the identifier.  Did you edit all those in as well?

Tom Petch

I suspected what happened for L3NM is that we touched manually the tree (this was there since -04) because sometimes we need so despite we are using "--tree-line-length 69".

We will make this change during AUTH48:

OLD:
   |  |     |  |     +--:(destination-port-range-or-operator)

NEW:
   |  |     |  |     |        +--:(destination-port-range-or-operator)

Thank you, Tom. We always need fresh eyes. Much appreciated.

Cheers,
Med

> -----Message d'origine-----
> De : Rob Wilton (rwilton) <rwilton@cisco.com>
> Envoyé : vendredi 15 octobre 2021 12:22
> À : tom petch <ietfc@btconnect.com>; BOUCADAIR Mohamed INNOV/NET
> <mohamed.boucadair@orange.com>; draft-ietf-opsawg-l3sm-l3nm@ietf.org;
> draft-ietf-opsawg-vpn-common@ietf.org
> Cc : netmod@ietf.org
> Objet : RE: Tree diagrams
>
> 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.
>
> 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

_________________________________________________________________________________________________________________________

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.