Re: [i2rs] 'network type' placement and RFC8345

tom petch <ietfc@btconnect.com> Fri, 25 September 2020 10:31 UTC

Return-Path: <ietfc@btconnect.com>
X-Original-To: i2rs@ietfa.amsl.com
Delivered-To: i2rs@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B6E8C3A134E for <i2rs@ietfa.amsl.com>; Fri, 25 Sep 2020 03:31:05 -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 Tmou07K7sIxW for <i2rs@ietfa.amsl.com>; Fri, 25 Sep 2020 03:31:01 -0700 (PDT)
Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60107.outbound.protection.outlook.com [40.107.6.107]) (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 3CCEF3A134D for <i2rs@ietf.org>; Fri, 25 Sep 2020 03:31:01 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RrY2rPwUb5tVvgC277Xeg842/YNaBzDCnQ74XwXtwHoyzQk96nGCq0t0SHJ8VSRroLs0AmlNG18Od6zLwK+P6GUChZy9SWgaEfRs0toL3oeVkeSli5n1mM1ktnmW6OmnWLbVtuxCegjY8NQgICByIqg88MNfAYKLpjXnYclf8KiCOBkrsU6k88ybhKriIGyh/3R/VREYavF/K+8jm6+5MvYi+603do0y2iCeEWO2/ccJUnIfBbR9Wi7oYJ1+Fn3mjcu6KfuQ+D5/iJbwE9ng3Eq7YaFIjzBATw7qPM4BcN4/pxp28wA0sBk1RdSbsAf3mIMvvSmSA67GHGRGdyEDhA==
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-SenderADCheck; bh=34eJ0bqvoZQhkazSDZ4g4+ZZWCFhgT9l+UpBfyz/lZs=; b=mSuIODzU48loDqAELJQnPpBUnxCPojJOI914bvtwhglHgqrGJqzv0vfcge2GYzVtOSuJKb0JrzVFC4wnR/tQpBZrozNWki7Hgn9APd/PtqQLB3wY0jSSh+ZsyqLVHU7WK9ZRawo3ATr3Rl9josiahqA8nLXmjmn00RhYzvqiIootvoR/EbC92KC+Lwfo2e1gkiWx/TXEcyLupJfFZFkpvRXpQkYuReINiuVB8n+VXSJPcrc+FPf4gi5plfSA0GIC1WEg9Vwp/IKLNT+3tWtrW9GXJBrwwkwT34Cyn9JZOwEJVLj5Yp5wsS7ZzcBeMiVKnZt0zYMnzCdowt/08Yg4dQ==
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=34eJ0bqvoZQhkazSDZ4g4+ZZWCFhgT9l+UpBfyz/lZs=; b=NmVNk3QPwq5zJ7XT3YHmmWMbE1U3DAqfNYoWwbM2PGHYU9ghHo490/qoyFNQVIFFkQoGr6p/Xi+Ten8bG/4MAmhRT0MG6pDbMPjHNIQAZ7ZnpWUMwH3btUFgijwv5Uorpugx1mFojyPArFoDiSKsmZqMDzkCvZk614eEUZ+AsTw=
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com (2603:10a6:20b:134::11) by AM6PR07MB5382.eurprd07.prod.outlook.com (2603:10a6:20b:8e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.14; Fri, 25 Sep 2020 10:30:59 +0000
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::189c:ac35:ce23:d38a]) by AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::189c:ac35:ce23:d38a%6]) with mapi id 15.20.3391.006; Fri, 25 Sep 2020 10:30:59 +0000
From: tom petch <ietfc@btconnect.com>
To: Qin Wu <bill.wu@huawei.com>, Sue Hares <shares@ndzh.com>
CC: "'i2rs@ietf.org'" <i2rs@ietf.org>
Thread-Topic: [i2rs] 'network type' placement and RFC8345
Thread-Index: AdaSbKw6zvFFmq6tTgmFrPhUzSeWyAAuPJBu
Date: Fri, 25 Sep 2020 10:30:59 +0000
Message-ID: <AM7PR07MB624872A7B76D2FAE9D347A2FA0360@AM7PR07MB6248.eurprd07.prod.outlook.com>
References: <B8F9A780D330094D99AF023C5877DABAADA0A35D@dggeml511-mbs.china.huawei.com>
In-Reply-To: <B8F9A780D330094D99AF023C5877DABAADA0A35D@dggeml511-mbs.china.huawei.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=btconnect.com;
x-originating-ip: [86.146.121.140]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 40454240-6675-4697-b5b0-08d8613e17f2
x-ms-traffictypediagnostic: AM6PR07MB5382:
x-microsoft-antispam-prvs: <AM6PR07MB538267C3EA3E448C60BCFDA8A0360@AM6PR07MB5382.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: oWWtJF1fy+OMWQX4Do5fPY+5QCqrDBbD1njALwCtPssA5e4zJLW97BMo5LBQ2TLgVJjUZE/v8mY7rSWINyypUs9zayKgUdrTu1Hh8w4QPCyOGuw7b5/qCFpB/eVJNivCOEtMIOKOnhrL/djSWjG1cuRHglQW0DUY6YCeVjqt7H3pzsYEVUtacreWxgP2hftoastrmt3iuibczAKrhu8O0CP0aXUdv2d9gxtZcY3c8wnn5GlAcQQuR2WsnLsgLW6iXKBQIaP1bmGUB556PNkjTjUEvm81h7K8C6oidqgNuhzjwZvMy33LP36I+aa6UNcf89Hgw1Kjs7Izc9sgKEJ6IHHZz15IqMGRRXYC/Ls7TxoZxDX8qu6lgjs767DdGgtpZzaUYTwFsNps56zJs+hDFA==
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:(39860400002)(346002)(376002)(136003)(366004)(396003)(5660300002)(91956017)(76116006)(66476007)(66556008)(64756008)(66446008)(66946007)(52536014)(83380400001)(33656002)(86362001)(2906002)(83080400001)(8676002)(478600001)(8936002)(9686003)(110136005)(316002)(186003)(71200400001)(6506007)(7696005)(26005)(55016002)(966005)(4326008); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: /IShbEsr3/N7lVd9IATpbeB8LHXYtIhCSaloTZ/SZb7Z1sl2+tEkDpsz9SBvPR49MwDYRqjNapWFn4fzGjXdRgkQr2hGE5+eVWX9F7ePIsuzGQIWSAmDJaQ6ymrH9rCkoRcrmNFJG7mqCpNZKQDh1FIGnBK3fUsDvbGeRduXRhHzjfY8pwL30Kr5gHAcwT/31g+cuvlBFjh4AAWEPqrWlps6fBqqxM0Rb/kXRHYvXMWyDsWVn1JBYpEOfc6XXjI29thSIumboQ4MPX2hh5u5cRoIbvDR46awEHOFFj+jv/XZr57QGpteILvBmyfou7jC1siuSURjwHXSskLcEymL6EGX+iE3Uc05rmXTb2Jju/t97Ef7W6TXUjTODPaKLViT2upH+JHO6YJG26FW04Biw1XPNfyKjn7gjatiQKaV/Oed7x1jJO8PMA0aJXc6N5gh61fgXsOQjEftG71XPg4Wv/pjEj3nwy3ENj+SAIcybPyRqGtDPWFv7Xpl6QcOuUwj3u2sBJgaKywWiuRhQcvCXgXlsoJbN8gaqD8WuNgycLcPQ+J3HExFIudcup4OkaApuv6QEK5BjwLwjp88APx5Bt8FNIzJwq1QecyRD0BXms53ohlsUUwLAcIIrnMryZzo311gm8Do4nk4dp2HU042BA==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: base64
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: 40454240-6675-4697-b5b0-08d8613e17f2
X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Sep 2020 10:30:59.0225 (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: ZDfA38f18PNEliWESgXFPJPJPJvjaDkYCfmMkao21I94BgsPfnZXtO0WGxyi8VQrnLLs4tA1cdleExAWwPX1wA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR07MB5382
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2rs/knVNjwSgjyleK_j1zudAdZewcHI>
Subject: Re: [i2rs] 'network type' placement and RFC8345
X-BeenThere: i2rs@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Interface to The Internet Routing System \(IRS\)" <i2rs.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/i2rs>, <mailto:i2rs-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/i2rs/>
List-Post: <mailto:i2rs@ietf.org>
List-Help: <mailto:i2rs-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i2rs>, <mailto:i2rs-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 25 Sep 2020 10:31:06 -0000

From: Qin Wu <bill.wu@huawei.com>
Sent: 24 September 2020 13:17

-----邮件原件-----
发件人: tom petch [mailto:ietfc@btconnect.com]
发送时间: 2020年9月24日 16:45

From: Qin Wu <bill.wu@huawei.com>
Sent: 24 September 2020 03:22

Hi, Tom:
Layer2, Layer 3, TE are all base modules which other modules can extend from.
I am not sure we have Layer 1 base module, WSON and flexi-grid, if my understanding is correct, are TE technology specific and WSON and flexi-grid module can be seem as extension to TE module or a module derived from TE module Therefore we could follow OSPF example defined in the L3 topology module or L3 TE module defined in draft-ietf-teas-yang-l3-te-topo-08.

<tp>
Qin

I think that you are missing the point.
RFC8345 sets up a registry, a namespace, and gives rules about how it should be used.  The use of a YANG presence container is clearly specified.
What I find unclear in RFC8345 is the intent about tree structure it describes, what is the criterion for placing e.g. network type 802.3 alongside or below one of the existing network type.
How the different network type YANG modules relate with respect to YANG import and augment is a different and irrelevant question IMHO.
My thinking is that CCAMP have got it wrong and that their network types should be alongside existing types, that there is nothing in RFC8345 to suggest that they should be subordinate to anything else.
Since they are presence containers I see nothing in YANG that would make a tree structure anything other than more complicated with a longer path to reference them bringing no benefit.

Tom Petch

"
   module: ietf-l3-te-topology
     augment /nw:networks/nw:network/nw:network-types
               /l3t:l3-unicast-topology:
       +--rw l3-te!
"
"
   module example-ospf-topology
   augment "/nw:networks/nw:network/nw:network-types/l3t:l3-unicast-topology"
       +--rw ospf!
"
I might be wrong if a generic layer 1 can be defined without adding dependency to TE technology. But at least layer 1 type or layer 0 type are common building block that can be reused.

In addition, base model, in my opinion doesn't need to limit to layer 1, layer 2, layer 3, service layer, TE layer this angle, we may classify network topology from other angle, e.g., classify network topology into UNI topology and NNI topology, One relevant model is UNI topology model that is proposed in the opsawg
https://tools.ietf.org/html/draft-ogondio-opsawg-uni-topology-01
such models are also base model which other modules can derive from.

For network type, if we can define it as identity, it may be another design option.
But comparing with presence container design, I think the only difference is one is explicit way, the other is implicit way.

<tp>
Qin
My starting point is RFC8345 which for me creates this 'registry' of network type and lays down the ground rules.  It says that a presence container must be defined.  Why not identity, as with routing protocols, I do not know.  It suggests a tree structure and is generally keen on a layered network as in layer 1, layer 2, layer 3, application-related layers and so on which is fine until you get to sub-IP.

But, network layering has nothing to do with YANG modules, with imports, cross-references, dependencies and so on so the fact that the wson module augments te-topo seems an irrelevance where the tree structure of layers is concerned.  There are lots of augments to te-topo and they could be any layer.

[Qin]: we can have ietf-l3-te-topology module augment to layer 3, but we don't have l3 specific module augment to te module, see draft-ietf-teas-yang-l3-te-topo-08.
I will not see ietf-te-topology-packet as l3 specific module augment to te module. But may be a little bit fuzzy.
For ccamp modules which are classified into layer 0,layer1 and married with te technology, I feel nature they augment from te module, but not other layer module. That's my impression. But I might be wrong.

RFC8345 says a lot but I do not understand what it is saying when it comes to adding a network type beyond what it says about presence container.  What is the point of the tree structure therein?
[Qin]: The question is whether there are any layer0, layer 2 modules without marriage with TE technology?

 Is it something we want or need to embody in YANG so that we can do something fancy as we can elsewhere with base identity and derivations therefrom as with routing protocols?

I do not know so my inclination is to say that the structure should be flat until we have a good reason otherwise lest we find ourselves tied up in knots at a later data.  I think it would be quite wrong to build a tree structure of network type based on YANG import which is what I suspect CCAMP are doing.

Tom Petch

-Qin
-----邮件原件-----
发件人: i2rs [mailto:i2rs-bounces@ietf.org] 代表 tom petch
发送时间: 2020年9月23日 17:16
收件人: Sue Hares <shares@ndzh.com>
抄送: 'i2rs@ietf.org' <i2rs@ietf.org>
主题: [i2rs] 'network type' placement and RFC8345

RFC8345 requires that a new network type be given a presence container and suggests a tree structure with layer 1, layer 2, layer 3 and service as top level nodes with OSPF as an example of a node subordinate to layer 3.  te-topology , RFC8795, places its presence container at the top level alongside these four.
Question; where should a network type such as WSON or flexi-grid be placed?  wson-yang, in IETF Last Call, places it under te-topology which is possible but it seems to me more like a layer 1 or layer 0. But then network types do not seem to form a tree, rather a mesh so a tree structure seems wrong.  And wherever layer 1 is defined it is not in a module imported by wson-yang although it might be added to layer0-types (!) which wson-yang does import. I would see it as wrong to define layer 1 in wson forcing others to import wson.

Thoughts?

I have posted this to Lou and TEAS but as it is a question that cuts across multiple WG I suspect that I will get multiple contradictory answers or none:-)

Tom Petch
_______________________________________________
i2rs mailing list
i2rs@ietf.org
https://www.ietf.org/mailman/listinfo/i2rs