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

tom petch <ietfc@btconnect.com> Thu, 24 September 2020 08:44 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 F12BF3A09E8 for <i2rs@ietfa.amsl.com>; Thu, 24 Sep 2020 01:44:34 -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 KV7YupSgNbhz for <i2rs@ietfa.amsl.com>; Thu, 24 Sep 2020 01:44:32 -0700 (PDT)
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2125.outbound.protection.outlook.com [40.107.20.125]) (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 9DC503A09E4 for <i2rs@ietf.org>; Thu, 24 Sep 2020 01:44:32 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jsrQQstIRPfeekrrsto3+tPtaudBYuBIutkGz4ocYtkE2c+JGOUNYdYpK+9w4BE7DKvig7zq4gictbpZbTEASJI0Cd5EyFNeYTSiCS1LBWtWc7E4w2SHYNBRLKvNTwyXhEmnEEsqi6DRWF9vSNOPdGH5Ug8t5pRHryLnXYRBAlO85WMK6Gjf4oMyhtvy+nzs2yTxU8IWYi4Leqz41tTVqghufkvf7uc9Adydv49IZJeew7oyBQmvvzmiYSULn/pIeQ0Tiwn1unwIPo38UWQhSE66iDoqBo8mAkT/qYp6BZ2lL3/MmmFEInLgw8lwbqy19KSYasi2kOJnuHsObR3BKg==
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=mg93HptX8IUpeMN4y7WRdMSv6zMR1nZZO09TrRHF6sc=; b=FsOlOc5fAbOT06NIU1zP8dzdJyJu0osQZxmxHVnq6wFZu/v4kRRUO7ZRNZchq34R4xmZ0mfchiYpMJjRrKyR3s+5mLeZfWebPV1C9k1BB+WG/EHqL3YNK/tDgsLiq67LBjtDGSdTx0MiBiKoo7HzWgCVHNUH8WoG7iXCnYtbxDrwI4indxpvaHBy+/+B9B5+Z416p0hgpnFhtr3/Rq4+x069HH/NT8LWM3MI5OhZGDQ3tb8vHx8+yiduMUR4oFijPUNsfgSNRXV9pM8DUTlx/KjYh44tSr+J6Dmn2yQFM8yDHjzteZSyNSC45vM2ukwD2Qmp62FLH1Wbx0sc/hgOKg==
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=mg93HptX8IUpeMN4y7WRdMSv6zMR1nZZO09TrRHF6sc=; b=H/qW+p9/MRSRXsISnw2rxdgRLzr0lwxYszFTWpdngRLXpA7dZBo2S5kTNfHrqL9cAWLNy/1AhpLAl6EyEc8Kh6cNlSgYmUwNN2rlP/3A9vh8VLFShIu2217imHf6vJsf03GlnyP9zARs+5bSDReHiUxXqEeVSmZ21uVmVaQhMcY=
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com (2603:10a6:20b:134::11) by AM6PR0702MB3589.eurprd07.prod.outlook.com (2603:10a6:209:9::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.18; Thu, 24 Sep 2020 08:44:30 +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; Thu, 24 Sep 2020 08:44:30 +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: AdaSFusD+5t7dKo7Qi2RG4sVyqs3yAANhr1M
Date: Thu, 24 Sep 2020 08:44:30 +0000
Message-ID: <AM7PR07MB624885F9F22ADD5CEDBD9225A0390@AM7PR07MB6248.eurprd07.prod.outlook.com>
References: <B8F9A780D330094D99AF023C5877DABAADA09D59@dggeml511-mbs.china.huawei.com>
In-Reply-To: <B8F9A780D330094D99AF023C5877DABAADA09D59@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: 8c1989f0-2e91-4c06-ce7a-08d860660d75
x-ms-traffictypediagnostic: AM6PR0702MB3589:
x-microsoft-antispam-prvs: <AM6PR0702MB3589E414BFDD775484C0A3B4A0390@AM6PR0702MB3589.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: UuvE6odBEHxfyi1yM3ldR+azV//pu8kyCZZPteHZIIUKqdMxf8uYDtw2ngZzv18gOfrG24YNoFTwRKBKDQHz+hRk3Ao427fJKScRwH77KasVwtfQGbDfvzr4c2r+/FOJ6YmJs5UxCC7nY4abXUxiEeY9CzXAOVLWtgOalxO7mH0LCQUVmwc2imrYrMD6duR1BeK4BX8SoGqf82KOWLzqeKGd4VnJND5SJskWbGkopjOlddERIVj30ABfB9dkOqcdXLoYAGLyp78Ejf/tNZe6i659o4hruD7ENc6Bs7bGgrL8qt0c90bhmd9Fa7AdsRxhOLOZwJFkSMNEmkiejpnpYwSutyoSftIixTIqAqzldswOWX+0x3pGRaszk/fps+aU3aSdT2LEBCs2pwfGW7RM6zqwCF4l+eveFK2SvegiLVM2AKoGFFcmeF/rxa3o6gzu8n65ZeyzJJ7TeDyuiH//hQ==
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:(376002)(396003)(366004)(39860400002)(136003)(346002)(7696005)(8936002)(26005)(52536014)(4326008)(186003)(966005)(6506007)(5660300002)(64756008)(66476007)(71200400001)(86362001)(33656002)(9686003)(66946007)(91956017)(66556008)(2906002)(83380400001)(55016002)(76116006)(66446008)(478600001)(8676002)(110136005)(316002); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: ChNFCG2MdOkcdzxDZqeyJlgtD6twvHjOuaTShWpj51xthf4JMmd0K6eSBnvnERak562Fam/Ga+v6LU1tBeJaD6Et7XfKY68G9q5EkbLpVGXrMWhbxsZYfE0hfW9Fxp/d0POzlJYlHBp7g6bEVNU8lxkjRmaakR9R7SVWTwcoZrdhEn3h18ZoaAEHTBAWxeflKF7maokghsbzRPOye2wLKbhkLNq3VjaGLjvZDkD3DIgpEwW017SrcRHgJH6L6R1YNnOWr3fpgLUyjA3rLFwrwWtrCd1Db49H32X7947v1D4mVhGlzNLRTacaih07obkv5xxLGdEtTaOtY85HVaQ6mcMR7jkIDqrOnKFnb9nSdcLnFpZdd9U0qMJPWG6G0wFFrJpYu96Efa+b00YcOvGINat2A8zI5uRlFH5elSs6OCbrjZmTyec6y9Ai+loeCzujUb6qy1yZLh962jJ3RRoNO10ROxIGbRUdcK8zxKg3wcumu6wqvJ2w2WL8qAAv0lzlt18psxO/k39zEtg5tOwNXnJiCxCLsZV35OK5ffGrlZYLWIsj0bYeg50q+lrvI2GPDrqKSJw60TR06lJColt5iMGMEx4ePSxIJ0EnhFu3cRA9O6bydqLgg11Vw7fYnrxHMhEDVsY16cQ8lpA8YcU6lg==
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: 8c1989f0-2e91-4c06-ce7a-08d860660d75
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Sep 2020 08:44:30.0943 (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: MyX6HW9M+aZvLp3eeht74GIRdQD0GAfqqSwzwNT9BQXOKso797eZScePP15LKaJnAJQrwu82ZP3sqIo85lOp+Q==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0702MB3589
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2rs/xPIjSJpCeA-Y47IHT0CBtiSqaqE>
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: Thu, 24 Sep 2020 08:44:35 -0000

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