[CCAMP] 答复: I-D Action: draft-ietf-ccamp-otn-topo-yang-03.txt

"Zhenghaomian (Zhenghaomian, Optical &Microwave Technology Research Dept)" <zhenghaomian@huawei.com> Fri, 13 July 2018 11:23 UTC

Return-Path: <zhenghaomian@huawei.com>
X-Original-To: ccamp@ietfa.amsl.com
Delivered-To: ccamp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C707D130FB7 for <ccamp@ietfa.amsl.com>; Fri, 13 Jul 2018 04:23:40 -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, SPF_PASS=-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 HaxIDfGO7ft5 for <ccamp@ietfa.amsl.com>; Fri, 13 Jul 2018 04:23:36 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (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 2C34B130FB5 for <ccamp@ietf.org>; Fri, 13 Jul 2018 04:23:36 -0700 (PDT)
Received: from lhreml709-cah.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id 11F08902484EB for <ccamp@ietf.org>; Fri, 13 Jul 2018 10:35:36 +0100 (IST)
Received: from DGGEML402-HUB.china.huawei.com (10.3.17.38) by lhreml709-cah.china.huawei.com (10.201.108.32) with Microsoft SMTP Server (TLS) id 14.3.382.0; Fri, 13 Jul 2018 10:35:36 +0100
Received: from DGGEML511-MBX.china.huawei.com ([169.254.1.248]) by DGGEML402-HUB.china.huawei.com ([fe80::fca6:7568:4ee3:c776%31]) with mapi id 14.03.0382.000; Fri, 13 Jul 2018 17:35:31 +0800
From: "Zhenghaomian (Zhenghaomian, Optical &Microwave Technology Research Dept)" <zhenghaomian@huawei.com>
To: t.petch <ietfc@btconnect.com>, "ccamp@ietf.org" <ccamp@ietf.org>
Thread-Topic: [CCAMP] I-D Action: draft-ietf-ccamp-otn-topo-yang-03.txt
Thread-Index: AdQElCYU472n/22tTWCiLb5hkBn+JAA0x8AIAID1oiAC35yTBgHoEZQQ
Date: Fri, 13 Jul 2018 09:35:31 +0000
Message-ID: <E0C26CAA2504C84093A49B2CAC3261A43B6ADA83@dggeml511-mbx.china.huawei.com>
References: <E0C26CAA2504C84093A49B2CAC3261A43B699664@dggeml511-mbx.china.huawei.com> <027601d40566$efe5b9c0$4001a8c0@gateway.2wire.net> <E0C26CAA2504C84093A49B2CAC3261A43B699DBB@dggeml511-mbx.china.huawei.com> <00e401d412e9$2b4c7d20$4001a8c0@gateway.2wire.net>
In-Reply-To: <00e401d412e9$2b4c7d20$4001a8c0@gateway.2wire.net>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.57.78.212]
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/ccamp/DVBCsaRvRQBtirIlDUukQkZmq_g>
Subject: [CCAMP] =?gb2312?b?tPC4tDogIEktRCBBY3Rpb246IGRyYWZ0LWlldGYtY2Nh?= =?gb2312?b?bXAtb3RuLXRvcG8teWFuZy0wMy50eHQ=?=
X-BeenThere: ccamp@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Discussion list for the CCAMP working group <ccamp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ccamp>, <mailto:ccamp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ccamp/>
List-Post: <mailto:ccamp@ietf.org>
List-Help: <mailto:ccamp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ccamp>, <mailto:ccamp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jul 2018 11:23:41 -0000

Hi, Tom, 

After a review of historical versions of draft-ietf-teas-yang-te-topo, I summarized the issue together with your proposal as follow: 

1) If I understand your proposal on 'inside-out' correctly, the problem can be solved by changing the order of folders. However, the same leaves are augmented multiple times is because of there are multiple of 'te-bandwidth' and 'te-label' many where in the te-topo tree. Even if we put a 'link-bandwidth' augment, it won't simplify the shape of tree; 
2) Considering the te-bandwidth, it's a single-layer when rather than multi-layer when. Some of the te-label (e.g. in path-route-object) is a multi-layer when while some others are single-layer when (e.g. in connectivity-matrix). I don't think addressing the multi-layer when issue will solve this problem much, only a little simpler. 

BTW, the two issues above are in the draft-ietf-teas-yang-te-topo, and we can do nothing in draft-ietf-ccamp-otn-topo-yang. Neither we can do anything in other technology-specifc topology models such as draft-ietf-ccamp-wson-yang and draft-zheng-ccamp-client-topo-yang, both of which are augmenting the TE topology model. Personally I think the section 6 of draft-ietf-teas-yang-te-topo provide a very detailed guidance on how to augment the model with tech-specific features, and there won't be much problem if we follow this rules. These augmentations only seem to be complicated instead of real complexity, and this is exactly what we do for the OTN topology model today. 

I wish we can reach some consensus on how to proceed these model during the WG discussion, thank you. 

Best wishes,
Haomian

Best wishes,
Haomian

-----邮件原件-----
发件人: t.petch [mailto:ietfc@btconnect.com] 
发送时间: 2018年7月4日 0:16
收件人: Zhenghaomian (Zhenghaomian, Optical &Microwave Technology Research Dept) <zhenghaomian@huawei.com>om>; ccamp@ietf.org
主题: Re: [CCAMP] I-D Action: draft-ietf-ccamp-otn-topo-yang-03.txt

I still mull over the challenge that
draft-ietf-teas-yang-te-topo-18.txt- sadly now approved - gives us of a YANG 'augment' to a challenging depth coupled with a 'when' to a challenging depth rendering the whole very hard for me to comprehend let alone validate.

Sometimes augment is made conditional by if-feature (as opposed to when) and that I find so much easier to understand and I wonder if that is an option here.  A many layered 'when' is fragile in ther face of any changes to the data node structure so is usually a bad idea.

The problem with augment might be solved if the data tree was turned inside out.  Currently you augment e.g.
networks/network/:link/te/information-source-entry/
max-resv-link-bandwidth/te-bandwidth/technology
to create
networks/network/:link/te/information-source-entry/
max-resv-link-bandwidth/te-bandwidth/technology/otn-link-bandwidth

Turning it inside out, you would augment

networks/network/:link/te/information-source-entry/
max-resv-link-bandwidth/te-bandwidth/link-bandwidth

where link-bandwith is a grouping in the base model which only needs one augment to add something technology specific e.g. otn-data - which then caters for all appearances on link-bandwith; ditto te-label etc so that the number of augments is reduced by an order of magnitude or so.  Much simpler.

Tom Petch


----- Original Message -----
From: "Zhenghaomian (Zhenghaomian, Optical &Microwave Technology Research Dept)" <zhenghaomian@huawei.com>
To: "t.petch" <ietfc@btconnect.com>om>; <ccamp@ietf.org>
Sent: Tuesday, June 19, 2018 2:22 AM

> Hi, Tom,
>
> Thank you for providing the information. I fully agree with you and
would like to spend some effort on make the work easier to read.
However, I need some guidance and toolkit (UML editing is not
sufficient) to accomplish the work.
>
> I also received some similar problems from other YANG editors, maybe a
side-meeting in Montreal would be helpful for us to deal with it. Your suggestion are highly welcomed, thanks.
>
> Best wishes,
> Haomian
>
> -----邮件原件-----
> 发件人: t.petch [mailto:ietfc@btconnect.com]
> 发送时间: 2018年6月16日 19:16
> 收件人: Zhenghaomian (Zhenghaomian, Optical &Microwave Technology
Research Dept) <zhenghaomian@huawei.com>om>; ccamp@ietf.org
> 主题: Re: [CCAMP] I-D Action: draft-ietf-ccamp-otn-topo-yang-03.txt
>
> ----- Original Message -----
> From: "Zhenghaomian (Zhenghaomian, Optical &Microwave Technology
Research Dept)" <zhenghaomian@huawei.com>
> Sent: Friday, June 15, 2018 11:36 AM
>
> > Dear WG,
> >
> > This is an update to OTN topology after 8 month, as we are waiting
for
> the maturity of basic TE topology model. Now the model is updated to
be aligned with TE one. You are welcome to review and provide your comments.
>
> It's a tough read.
>
> I might find section 3.2 easier to follow if it was written in
Assembler:-(  A tree is intended to make a module easier to grasp but I think that this fails here.  As RFC8340 says " As tree diagrams are intended to provide a simplified
>    view of a module, diagrams longer than a page should generally be
>    avoided.  "
>
> Nor is the module itself much simpler e.g.
>
>   augment "/nw:networks/nw:network/nw:node/tet:te/"
>         + "tet:information-source-entry/tet:connectivity-matrices/"
>         + "tet:optimizations/tet:algorithm/tet:metric/"
>         + "tet:optimization-metric/"
>         + "tet:explicit-route-exclude-objects/"
>         + "tet:route-object-exclude-object/tet:type/"
>         + "tet:label/tet:label-hop/tet:te-label/tet:technology" {
>     when "../../../../../../../../../../../../../../../"
>        + "nw:network-types/tet:te-topology/"
>        + "otntopo:otn-topology" {
>
> rinse and repeat, seventy times.
>
> I do not have a solution, just think that YANG has got it wrong
somewhere:-(
>
> Meanwhile, there are my usual red tape issues.
>  - copyright
>  - date on module
>  - reference statements on import
>  - I-D References for any references in the module
>
> along with incomplete sections 5, 6, 7.
>
> I think that the failure of the tree diagram is the one that needs
tackling, perhaps with assistance from the contributors to RFC8340.
>
> Tom Petch
>
> >
> > There are still some YANG errors because of the incorrect reference
to
> OTN tunnel model and OTN types, which have not been updated yet. The
other OTN tunnel model draft is under our processing and will be announced in the next week. All the OTN models can be found at the
> github:
>
https://github.com/haomianzheng/IETF-ACTN-YANG-Model/tree/master/YANG/cc
> amp, and you are welcome to comments.
> >
> > Thank you.
> >
> > Best wishes,
> > Haomian
> >
> > -----邮件原件-----
> > 发件人: CCAMP [mailto:ccamp-bounces@ietf.org] 代表
> internet-drafts@ietf.org
> > 发送时间: 2018年6月15日 17:14
> > 收件人: i-d-announce@ietf.org
> > 抄送: ccamp@ietf.org
> > 主题: [CCAMP] I-D Action: draft-ietf-ccamp-otn-topo-yang-03.txt
> >
> >
> > A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
> > This draft is a work item of the Common Control and Measurement
Plane
> WG of the IETF.
> >
> >         Title           : A YANG Data Model for Optical Transport
> Network Topology
> >         Authors         : Haomian Zheng
> >                           Aihua Guo
> >                           Italo Busi
> >                           Anurag Sharma
> >                           Xufeng Liu
> >                           Sergio Belotti
> >                           Yunbin Xu
> >                           Lei Wang
> >                           Oscar Gonzalez de Dios
> > Filename        : draft-ietf-ccamp-otn-topo-yang-03.txt
> > Pages           : 58
> > Date            : 2018-06-15
> >
> > Abstract:
> >    A transport network is a server-layer network designed to provide
> >    connectivity services for a client-layer network to carry the
> client
> >    traffic transparently across the server-layer network resources.
A
> >    transport network can be constructed from equipments utilizing
any
> of
> >    a number of different transport technologies such as the evolving
> >    Optical Transport Networks (OTN) or packet transport as provided
by
> >    the MPLS-Transport Profile (MPLS-TP).
> >
> >    This document describes a YANG data model to describe the
> topologies
> >    of an Optical Transport Network (OTN).  It is independent of
> control
> >    plane protocols and captures topological and resource related
> >    information pertaining to OTN.  This model enables clients, which
> >    interact with a transport domain controller via a REST interface,
> for
> >    OTN topology related operations such as obtaining the relevant
> >    topology resource information.
> >
> >
> > The IETF datatracker status page for this draft is:
> > https://datatracker.ietf.org/doc/draft-ietf-ccamp-otn-topo-yang/
> >
> > There are also htmlized versions available at:
> > https://tools.ietf.org/html/draft-ietf-ccamp-otn-topo-yang-03
> >
>
https://datatracker.ietf.org/doc/html/draft-ietf-ccamp-otn-topo-yang-03
> >
> > A diff from the previous version is available at:
> > https://www.ietf.org/rfcdiff?url2=draft-ietf-ccamp-otn-topo-yang-03
> >
> >
> > Please note that it may take a couple of minutes from the time of
> submission until the htmlized version and diff are available at
tools.ietf.org.
> >
> > Internet-Drafts are also available by anonymous FTP at:
> > ftp://ftp.ietf.org/internet-drafts/
> >
> > _______________________________________________
> > CCAMP mailing list
> > CCAMP@ietf.org
> > https://www.ietf.org/mailman/listinfo/ccamp
> > _______________________________________________
> > CCAMP mailing list
> > CCAMP@ietf.org
> > https://www.ietf.org/mailman/listinfo/ccamp
> >
>
>