RE: [Teas] Yangdoctors last call review of draft-ietf-teas-yang-te-topo-08

Xufeng Liu <Xufeng_Liu@jabil.com> Thu, 22 June 2017 13:44 UTC

Return-Path: <Xufeng_Liu@jabil.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A41F41292AE; Thu, 22 Jun 2017 06:44:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.922
X-Spam-Level:
X-Spam-Status: No, score=-1.922 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=jabil.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 7RlybPklPjpd; Thu, 22 Jun 2017 06:44:00 -0700 (PDT)
Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0116.outbound.protection.outlook.com [104.47.37.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AF421129426; Thu, 22 Jun 2017 06:43:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jabil.onmicrosoft.com; s=selector1-jabil-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=AkNTDU+1sHSqnAQkTioVcwcCTa4RY5W2ZRPZwMeOClM=; b=xzaAJwHSS0ynUaLQ2bFpmWPne9uGZEDiuXUXXxXBXysdWNhwg8mgIxrey2T1yZlsaDzyfHWvzCvqiw9qWzuTgcHlsuidI1C/dJVj1jpA9xFmICO9a2GZ8CxwpHW0s/VOLy6tfp9lSQ3/s9Emg9jjG4pU3fznfmlba/j+YS6W250=
Received: from BN3PR0201MB0867.namprd02.prod.outlook.com (10.160.154.13) by BN3PR0201MB0867.namprd02.prod.outlook.com (10.160.154.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14; Thu, 22 Jun 2017 13:43:55 +0000
Received: from BN3PR0201MB0867.namprd02.prod.outlook.com ([10.160.154.13]) by BN3PR0201MB0867.namprd02.prod.outlook.com ([10.160.154.13]) with mapi id 15.01.1178.023; Thu, 22 Jun 2017 13:43:55 +0000
From: Xufeng Liu <Xufeng_Liu@jabil.com>
To: Benoit Claise <bclaise@cisco.com>, Robert Wilton <rwilton@cisco.com>, Mahesh Jethanandani <mjethanandani@gmail.com>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>
CC: "ietf@ietf.org" <ietf@ietf.org>, "teas@ietf.org" <teas@ietf.org>, "draft-ietf-teas-yang-te-topo.all@ietf.org" <draft-ietf-teas-yang-te-topo.all@ietf.org>
Subject: RE: [Teas] Yangdoctors last call review of draft-ietf-teas-yang-te-topo-08
Thread-Topic: [Teas] Yangdoctors last call review of draft-ietf-teas-yang-te-topo-08
Thread-Index: AQHS1KSedaTR9X/fGEeQz0ke1nZ/sKIh1EjwgA1lWACAASg0QIAAZ0GAgAANhoCAADiPAA==
Date: Thu, 22 Jun 2017 13:43:55 +0000
Message-ID: <BN3PR0201MB0867664CBDA460C283DC8043F1DB0@BN3PR0201MB0867.namprd02.prod.outlook.com>
References: <149564066257.28529.12761629961042171907@ietfa.amsl.com> <BN3PR0201MB08670E55FFB5470F338E998DF1CD0@BN3PR0201MB0867.namprd02.prod.outlook.com> <5d4541d3-9426-787d-e02b-9c2dbc3a5400@cisco.com> <BN3PR0201MB0867315F3E88577B9EEF6584F1DB0@BN3PR0201MB0867.namprd02.prod.outlook.com> <3a1c319f-0255-b8ee-ecbd-739568c1dc7f@cisco.com> <1ab3a0d8-de3e-1d7c-2967-97b74b1c68a5@cisco.com>
In-Reply-To: <1ab3a0d8-de3e-1d7c-2967-97b74b1c68a5@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-dg-ref: PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNceGxpdVxhcHBkYXRhXHJvYW1pbmdcMDlkODQ5YjYtMzJkMy00YTQwLTg1ZWUtNmI4NGJhMjllMzViXG1zZ3NcbXNnLWQzMzkyMDJhLTU3NTAtMTFlNy05YzE3LTE4NWUwZmUzYzQ1Y1xhbWUtdGVzdFxkMzM5MjAyYy01NzUwLTExZTctOWMxNy0xODVlMGZlM2M0NWNib2R5LnR4dCIgc3o9IjEwMTA2IiB0PSIxMzE0MjYxMjYzMzEwMTk4NDgiIGg9ImJQZ3M4TFVzZmJ6bVczbGt3dXM2VSswOFFLRT0iIGlkPSIiIGJsPSIwIiBibz0iMSIvPjwvbWV0YT4=
authentication-results: cisco.com; dkim=none (message not signed) header.d=none;cisco.com; dmarc=none action=none header.from=jabil.com;
x-originating-ip: [98.191.72.170]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BN3PR0201MB0867; 7:1ReIdtZJQVAO/eGVPcrrDmOOknf+1/oDS5J2TULjy9xLDj3mGdaM/eRwNsavJXghwdfc1dlYvVg4DoR15CJwK3Wp2PBl2dP3QrN0EjfXDcXWv1tQOcW0R2b/ngnBltTPXHUsRxnHcVKLO3WUU7VhiE5ljM49ynY9rE5MlTkh6UdYVAhv+1i4WluNZulwGRBpGAjmg+D8gl9io2b/WkVl2sVtmf6z2CKrqxLHT4+Jx0F6Sy/L4VSVA+40JVbklzrtZAnD+z0Tlb8hWgWLyKyYlSJ/aG0yUPu/x4xflomOHTiP3BUh+0jcSCD/Ju4w/wzY5dS4KrGAlosSN2DA8ZvrwormUD4DKRa07J6G6CZ3D43BF3p1iCpCwAY0MMwOZDx42NcXN9T9vU+ly3dx1P9T2LWQQd/mAEoulbaTKNjdU/8sBZYCEivwZgjChiU/meDFgEFw4bDbqq2Otf99ETU1HuXCjnti/33ewyJ/AKt2aF3s8f/glit1F1J5ObhPyeH20F+bGclGOGp0ujE5mun7ajPXjEP5eCOSzCjIfolQDH3ZFRl/Zlx05Q1TVoUMWClBDbj0WyhO1vbAC77wfegiP80o2A86OBOGaj3No3mE9X/fOujS3mjXMOMYMNeGAty5xx028ddrznawQ5k7qAoQw1kYi/CIpfCE9UZaQG1F5NGZbVY0E6rFpW7W8wcALeQ5LCyLcT6OC3kD/psEOYq7PdhSRhLD9uEbmI+ZtPaQb6/vrVK/BsDdJ6occVk78Q8VrtY90GYnrQ2EApyeHHyKcbOKPyYbXLlHLDdID/T/Siw=
x-ms-office365-filtering-correlation-id: ae919be1-a734-4684-15f3-08d4b974ba3c
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081); SRVR:BN3PR0201MB0867;
x-ms-traffictypediagnostic: BN3PR0201MB0867:
x-microsoft-antispam-prvs: <BN3PR0201MB0867F7398C5D6FBF75C7C80EF1DB0@BN3PR0201MB0867.namprd02.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(166708455590820)(95692535739014)(21534305686606);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(100000703101)(100105400095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123558100)(20161123564025)(20161123555025)(20161123560025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR0201MB0867; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR0201MB0867;
x-forefront-prvs: 03468CBA43
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(39850400002)(39450400003)(39400400002)(39410400002)(39860400002)(39840400002)(13464003)(377454003)(24454002)(51444003)(74316002)(3280700002)(2906002)(122556002)(2950100002)(229853002)(80792005)(305945005)(7736002)(2501003)(50986999)(54356999)(76176999)(25786009)(33656002)(4326008)(93886004)(53546010)(86362001)(3846002)(102836003)(39060400002)(6116002)(55016002)(6306002)(77096006)(72206003)(54906002)(5660300001)(7696004)(14454004)(6436002)(478600001)(3660700001)(6506006)(66066001)(6246003)(38730400002)(81156014)(81166006)(230783001)(189998001)(8936002)(53936002)(2900100001)(8676002)(9686003)(966005)(99286003); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0201MB0867; H:BN3PR0201MB0867.namprd02.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: jabil.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jun 2017 13:43:55.6989 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bc876b21-f134-4c12-a265-8ed26b7f0f3b
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0201MB0867
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/d8z7d8IYqhyPR-VW5moHK6jPmDg>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 22 Jun 2017 13:44:11 -0000

Hi Benoit,

> -----Original Message-----
> From: Benoit Claise [mailto:bclaise@cisco.com]
> Sent: Thursday, June 22, 2017 6:12 AM
> To: Robert Wilton <rwilton@cisco.com>; Xufeng Liu <Xufeng_Liu@jabil.com>;
> Mahesh Jethanandani <mjethanandani@gmail.com>; yang-doctors@ietf.org
> Cc: ietf@ietf.org; teas@ietf.org; draft-ietf-teas-yang-te-topo.all@ietf.org
> Subject: Re: [Teas] Yangdoctors last call review of draft-ietf-teas-yang-te-topo-
> 08
> 
> Dear draft-ietf-teas-yang-te-topo authors,
> > Hi Xufeng,
> >
> > OK, by tooling, I don't mean the pyang plugins that I have been
> > working on to convert between different types of models.  As you
> > aware, the TE YANG models can easily be converted to NMDA style since
> > I have already done it
> > (https://github.com/rgwilton/ietf-models-to-combined).
> >
> > My comment actually relates to the fact the structure used by TE YANG
> > modules don't match any other YANG modules - they are using their own
> > unique style of structure.
> This is an important issue to resolve.
> >
> > Today, there are three common styles of modules:
> > (1) IETF style split config/state trees (e.g. ietf-interfaces).
> > (2) IETF NMDA style combined config/state trees (i.e. where all IETF
> > modules are heading to).
> > (3) OpenConfig style modules with the config/state containers
> > immediately above the config leaves.
> >
> > Tooling is likely to be optimized to work with these model structures,
> > but the TE modules do not fit into any of the three styles above.
> > They are a yet another OpenConfig-like style, but that is different
> > enough that tooling that is designed to work with OpenConfig style
> > YANG modules would likely not work with the TE YANG modules.
> >
> > Specifically, for clients that expecting to work with an OpenConfig
> > style YANG module, then if it knows the path to config leaf X, then
> > they would expect the applied config value to be available at the path
> > "../state/X".  But, this doesn't hold for the structure being used in
> > the TE YANG models.
> >
> > I believe strongly that the models being produced by organizations
> > should be structures in a consistent way, hence why I think that the
> > published standard version of the TE YANG modules should immediately
> > align to the NMDA style.
> Agreed.
> Here is the OPS and RTG AD message:
> https://www.ietf.org/mail-archive/web/netmod/current/msg18252.html
> 
> I understand that the I2RS topology YANG modules will be improved to the
> NMDA style.
[Xufeng] The I2RS topology model is already NMDA style, but the NMDA models are not immediately implementable without NETCONF/RESTCONF protocol update. We will need the "-state" module for the I2RS topology model (and for all the top-level models) for now. While the NMDA is nice, the NMDA discussions have already significantly delayed publishing new models, and doing NMDA without staging will further delay the process.
Thanks,  Xufeng
> 
> Regards, Benoit
> >
> > Thanks,
> > Rob
> >
> >
> > On 22/06/2017 04:16, Xufeng Liu wrote:
> >> Hi Rob,
> >>
> >> While the tooling is very nice to have, especially for writing new
> >> models or converting models, we do not have to use it for every
> >> model. It seems not necessary to use the tooling on this model for
> >> now. We already know that we can manually convert it to NMDA style if
> >> needed.
> >>
> >> Thanks,
> >> - Xufeng
> >>
> >>> -----Original Message-----
> >>> From: Robert Wilton [mailto:rwilton@cisco.com]
> >>> Sent: Wednesday, June 21, 2017 5:34 AM
> >>> To: Xufeng Liu <Xufeng_Liu@jabil.com>; Mahesh Jethanandani
> >>> <mjethanandani@gmail.com>; yang-doctors@ietf.org
> >>> Cc: ietf@ietf.org; teas@ietf.org;
> >>> draft-ietf-teas-yang-te-topo.all@ietf.org
> >>> Subject: Re: [Teas] Yangdoctors last call review of
> >>> draft-ietf-teas-yang-te-topo-
> >>> 08
> >>>
> >>> Hi Xufeng,
> >>>
> >>> On 12/06/2017 22:28, Xufeng Liu wrote:
> >>>> Hi Mahesh,
> >>>>
> >>>> Thank you much for the review. We have submitted an updated draft
> >>> (https://tools.ietf.org/html/draft-ietf-teas-yang-te-topo-09) to
> >>> address these issues. More detailed explanations are put below
> >>> inline.
> >>>> If the responses and updates are satisfactory, we are ready for the
> >>>> last call.
> >>>>
> >>>> Best regards,
> >>>> - Xufeng
> >>>>
> >>>>> -----Original Message-----
> >>>>> From: Mahesh Jethanandani [mailto:mjethanandani@gmail.com]
> >>>>> Sent: Wednesday, May 24, 2017 11:44 AM
> >>>>> To: yang-doctors@ietf.org
> >>>>> Cc: ietf@ietf.org; teas@ietf.org;
> >>>>> draft-ietf-teas-yang-te-topo.all@ietf.org
> >>>>> Subject: Yangdoctors last call review of
> >>>>> draft-ietf-teas-yang-te-topo-08
> >>>>>
> >>>>> Reviewer: Mahesh Jethanandani
> >>>>> Review result: Ready with Issues
> >>>>>
> >>>>> Document reviewed: draft-ietf-teas-yang-te-topo-08
> >>>>>
> >>>>> Status: Ready with Issues
> >>>>>
> >>>>> I am not an expert in Traffic Engineering. This review is looking
> >>>>> at the draft from a YANG perspective. With that said, I have
> >>>>> marked it as “Ready
> >>> with Issues”
> >>>>> because of some of the points discussed below.
> >>>>>
> >>>>> Summary:
> >>>>>
> >>>>> This document defines a YANG data model for representing,
> >>>>> retrieving and manipulating TE Topologies. The model serves as a
> >>>>> base model that other technology specific TE Topology models can
> augment.
> >>>>>
> >>>>> Comments:
> >>>>>
> >>>>> Almost all the containers in the model are presence containers. Is
> >>>>> there a reason why they have to be presence containers? Note, that
> >>>>> presence containers are containers whose existence itself
> >>>>> represents configuration data. What particular configuration data
> >>>>> is each container
> >>> representing in itself?
> >>>> [Xufeng] Containers that use “presence” are:
> >>>>     - Container “underlay”
> >>>>       o  We have changed 13 occurrences of such containers to be
> >>>> not
> >>> presence container.
> >>>>     - Container “te” under augmentation
> >>>>       o  To indicate that “TE” is enabled (configuration data)
> >>>>       o  Also used to do augmentation. The “presence” statement can
> >>> prevent the mandatory child from affecting augmented base model.
> >>>>     - /nw:networks/nw:network/nw:network-types/te-topology!
> >>>>       o  A mechanism required by I2RS topology model to specify the
> >>> topology type.
> >>>>> It is difficult to co-relate the diagram with the model itself
> >>>>> because of different terms being used to define different parts of
> >>>>> the model.
> >>>>> There is “TE Topology Model” and then there is “Generic TE
> >>>>> Topology
> >>> Model”.
> >>>>> Are these one and the same models? If so, a common term for both
> >>>>> of them would be helpful.
> >>>> [Xufeng] Yes. These two terms are the same. Figure 12, Figure 13,
> >>>> and relevant
> >>> descriptions have been updated to make the document consistent.
> >>>>> There is extensive use of groupings in the document. However, not
> >>>>> all instances of groupings are used multiple number of times.
> >>>>> Where they are not being repeated, it would be better to move the
> >>>>> grouping directly where the uses statement resides. Case in point
> >>>>> the grouping
> >>> connectivity-label-restriction-list.
> >>>> [Xufeng] We have removed the following groupings
> >>>>       te-link-augment
> >>>>       te-node-augment
> >>>>       te-termination-point-augment
> >>>>       te-topologies-augment
> >>>>       te-topology-augment
> >>>>       te-link-state-underlay-attributes
> >>>>       te-node-state-derived-notification
> >>>>       te-topology-type
> >>>>
> >>>> The remaining groupings have been kept so that we can:
> >>>>     - Share the groupings in this model
> >>>>     - Prepare to be shared by a model augmenting this model
> >>>>     - Prevent a grouping or configuration section from being too long
> >>>>     - Improve readability
> >>>>
> >>>>> The split between config and state containers does not seem to
> >>>>> follow any particular pattern.
> >>>> [Xufeng] The pattern is clear:
> >>>> For each manageable entity (object), there is a config container
> >>>> and state
> >>> container. The configurable properties go into the config container
> >>> and state properties go into the state container. Such objects are
> >>> identified by a list item or a presence container so that the
> >>> “create”, “delete”, and “modify”
> >>> operations
> >>> can be performed on them. The non-presence containers do not
> >>> represent configuration data so they do not introduce such objects.
> >>>>> It is neither a top level split, as is the case with existing IETF
> >>>>> models,
> >>>> [Xufeng] We could not do top level split because the base I2RS
> >>>> network
> >>> topology model
> >>> (https://tools.ietf.org/html/draft-ietf-i2rs-yang-network-topo-
> >>> 12) that we augment does not have the top-level split (for its own
> >>> reasons).
> >>>>> nor do they follow the OpenConfig style of splitting config and
> >>>>> state under each relevant leaf,
> >>>> [Xufeng] The pattern is consistent with this style in principle,
> >>>> with some
> >>> adjustments to fit to our multiple levels of hierarchy.
> >>> This is effectively a new forth style of YANG models that is not
> >>> consistent with any of the three existing styles, i.e.:
> >>>    - Current IETF config/state split model style
> >>>    - NMDA combined config/state tree
> >>>    - OpenConfig split config/state containers immediately above the
> >>> config true leaves.
> >>>
> >>> Tooling that it designed to work with OpenConfig models will need
> >>> customization to work with these TE models because the config/state
> >>> containers will not be where the tooling expects them to be.
> >>>
> >>> Thanks,
> >>> Rob
> >
> > .
> >