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

"BRUNGARD, DEBORAH A" <db3546@att.com> Fri, 25 September 2020 12:27 UTC

Return-Path: <db3546@att.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 E45193A13BD; Fri, 25 Sep 2020 05:27:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level:
X-Spam-Status: No, score=-1.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 b7zBytcH2ExD; Fri, 25 Sep 2020 05:27:11 -0700 (PDT)
Received: from mx0a-00191d01.pphosted.com (mx0a-00191d01.pphosted.com [67.231.149.140]) (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 1164D3A0400; Fri, 25 Sep 2020 05:27:11 -0700 (PDT)
Received: from pps.filterd (m0048589.ppops.net [127.0.0.1]) by m0048589.ppops.net-00191d01. (8.16.0.42/8.16.0.42) with SMTP id 08PCNg4Z021886; Fri, 25 Sep 2020 08:27:06 -0400
Received: from alpi154.enaf.aldc.att.com (sbcsmtp6.sbc.com [144.160.229.23]) by m0048589.ppops.net-00191d01. with ESMTP id 33s2rv2et0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 25 Sep 2020 08:27:05 -0400
Received: from enaf.aldc.att.com (localhost [127.0.0.1]) by alpi154.enaf.aldc.att.com (8.14.5/8.14.5) with ESMTP id 08PCR4oG027330; Fri, 25 Sep 2020 08:27:04 -0400
Received: from zlp30488.vci.att.com (zlp30488.vci.att.com [135.47.91.93]) by alpi154.enaf.aldc.att.com (8.14.5/8.14.5) with ESMTP id 08PCR2Ze027308 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 25 Sep 2020 08:27:02 -0400
Received: from zlp30488.vci.att.com (zlp30488.vci.att.com [127.0.0.1]) by zlp30488.vci.att.com (Service) with ESMTP id 0636C400AF90; Fri, 25 Sep 2020 12:27:02 +0000 (GMT)
Received: from GAALPA1MSGEX1DA.ITServices.sbc.com (unknown [135.50.89.114]) by zlp30488.vci.att.com (Service) with ESMTPS id DBA33400AF73; Fri, 25 Sep 2020 12:27:01 +0000 (GMT)
Received: from GAALPA1MSGEX1DE.ITServices.sbc.com (135.50.89.118) by GAALPA1MSGEX1DA.ITServices.sbc.com (135.50.89.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Fri, 25 Sep 2020 08:27:01 -0400
Received: from GAALPA1MSGEX1DE.ITServices.sbc.com ([135.50.89.118]) by GAALPA1MSGEX1DE.ITServices.sbc.com ([135.50.89.118]) with mapi id 15.01.2044.004; Fri, 25 Sep 2020 08:27:01 -0400
From: "BRUNGARD, DEBORAH A" <db3546@att.com>
To: tom petch <ietfc@btconnect.com>
CC: Qin Wu <bill.wu@huawei.com>, Sue Hares <shares@ndzh.com>, "i2rs@ietf.org" <i2rs@ietf.org>, "ccamp@ietf.org" <ccamp@ietf.org>, "ccamp-chairs@ietf.org" <ccamp-chairs@ietf.org>
Thread-Topic: [i2rs] 'network type' placement and RFC8345
Thread-Index: AdaSbKw62SJUXflRJUeV38eMRivVoQA29BKA///dXSw=
Date: Fri, 25 Sep 2020 12:27:01 +0000
Message-ID: <496CF203-170A-4C58-9C6A-D10B52A89D10@att.com>
References: <B8F9A780D330094D99AF023C5877DABAADA0A35D@dggeml511-mbs.china.huawei.com>, <AM7PR07MB624872A7B76D2FAE9D347A2FA0360@AM7PR07MB6248.eurprd07.prod.outlook.com>
In-Reply-To: <AM7PR07MB624872A7B76D2FAE9D347A2FA0360@AM7PR07MB6248.eurprd07.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-tm-snts-smtp: 0FC15E90286D692FE24A643BA8603EE1F5B6A4BBBD78B5FECFB037B51DD586FB2
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-09-25_11:2020-09-24, 2020-09-25 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_policy_notspam policy=outbound_policy score=0 mlxscore=0 mlxlogscore=999 clxscore=1011 suspectscore=0 adultscore=0 malwarescore=0 lowpriorityscore=0 spamscore=0 priorityscore=1501 impostorscore=0 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009250087
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2rs/JEdpqUqhu-g82Anq8OHwfDIqRHw>
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 12:27:13 -0000

Hi,

Much thanks Tom as always for your careful reviews- I’m forwarding to ccamp for YANG fans to also review.

Thanks!
Deborah

Sent from my iPhone

> On Sep 25, 2020, at 6:31 AM, tom petch <ietfc@btconnect.com> wrote:
> 
> 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://urldefense.com/v3/__https://tools.ietf.org/html/draft-ogondio-opsawg-uni-topology-01__;!!BhdT!wQLS277tNN5EbdnoKAs80xGvflFB086ONF3XdrinRL0vW_o7YO8EpxJPPIt5cg$ 
> 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://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/i2rs__;!!BhdT!wQLS277tNN5EbdnoKAs80xGvflFB086ONF3XdrinRL0vW_o7YO8EpxJqHjc71w$ 
> _______________________________________________
> i2rs mailing list
> i2rs@ietf.org
> https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/i2rs__;!!BhdT!wQLS277tNN5EbdnoKAs80xGvflFB086ONF3XdrinRL0vW_o7YO8EpxJqHjc71w$