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

Xufeng Liu <Xufeng_Liu@jabil.com> Thu, 22 June 2017 03:16 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 96AD91293D6; Wed, 21 Jun 2017 20:16:24 -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 Y0uWAZxdI2-R; Wed, 21 Jun 2017 20:16:21 -0700 (PDT)
Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0132.outbound.protection.outlook.com [104.47.32.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 117CE1292CE; Wed, 21 Jun 2017 20:16:20 -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=0EE/DSPCFFS5UIrbNliM7O0qFUes2o8qk8RUzDX3X70=; b=4unVi7jwcVkbSeA+E2ZPApEoFPmpU45dVLqkrn1tv2wp2FGlEWP4MaM0zW23J6WanIw9bNHGUOrD8mMj6LrBBooD5x8I2DAnOHJyHJThTpbxC87F3TrRjU7Kg+UuCXW1wA8NJNT9WsJtoCu+ROxUtPP/a+OyZEXmrYzFHt4WtLM=
Received: from BN3PR0201MB0867.namprd02.prod.outlook.com (10.160.154.13) by BN3PR0201MB0865.namprd02.prod.outlook.com (10.160.154.11) 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 03:16:18 +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 03:16:18 +0000
From: Xufeng Liu <Xufeng_Liu@jabil.com>
To: 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/sKIh1EjwgA1lWACAASg0QA==
Date: Thu, 22 Jun 2017 03:16:18 +0000
Message-ID: <BN3PR0201MB0867315F3E88577B9EEF6584F1DB0@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>
In-Reply-To: <5d4541d3-9426-787d-e02b-9c2dbc3a5400@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-dg-ref: PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNceGxpdVxhcHBkYXRhXHJvYW1pbmdcMDlkODQ5YjYtMzJkMy00YTQwLTg1ZWUtNmI4NGJhMjllMzViXG1zZ3NcbXNnLTI2YWUwZGYyLTU2ZjktMTFlNy05YzE3LTE4NWUwZmUzYzQ1Y1xhbWUtdGVzdFwyNmFlMGRmNC01NmY5LTExZTctOWMxNy0xODVlMGZlM2M0NWNib2R5LnR4dCIgc3o9IjYzNDciIHQ9IjEzMTQyNTc0OTc2NzU5ODU4NSIgaD0iaE5UT2NTQ3VPMEZZUlpEVnJyQ1A1Q1pLNzRvPSIgaWQ9IiIgYmw9IjAiIGJvPSIxIi8+PC9tZXRhPg==
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: [72.209.195.86]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BN3PR0201MB0865; 7:sBCeBOmZu8nIcldVS1I00DtOW9HyDfju0hyUdaKwNi8sW00IQyWE5qI3DihAQSdb6UA/NiTmIezZoMUuAPgfXow6z5l+Yv+H166KCgjoBs5f5ZqmvoBKXw9W4wG7wO1eqyksPCIJtcNL3dS5ivyebhiBdJaBwL22YzYgf2Q1ec/0tcgQ9FCEvPQcsgLAu/2DhWOuESyr/GYzWtbVwBNVDrm31kZmZOTkrD0zoy6eWoxyrSfrxrsydVQ3FzQULg83i2UZ/zZws/BFpKfvUFSMbUQLgYeu96KI/+a3Sf9L6h7nU059GEMI0ZO/bJkgxFmbI9rVKAlB0mfU4uqKvzUTbj2WT1K0e1sOiX3+X2jMbzSF0E+AGWL+8MSzFh9pHL+kYuhjRD0uBUcJJBuXB0DeJz9XrEjYRTXVKPT4xKQVR92xu4akIZ9VVdsqEiiSPdkUSJeLV+3lw/vXNof/JZx30wrUEQnlVxh163D/PXjVAHN+x0StcfaTODLRD/L1kprE2ClRP0Vt87sm3I7YvKCa2XJZDOo3FnvHN+ZJEEgwj7FucI0wp2096FUDhGMm8sd25dh8xUIrRQFbCpyutDTWgOvUL0D7w2mYQUlanpnKf33cAv3wwbWK73hRX+Gnw9sPdzIUe/7Ed58YkMpLhkQFiUbr+wQJtZKAzurIEEcpdfwiqfS8UxgH46EYRM7JwkfJP4ueZOEhZduxIkCnmeN90WZ6cu6t5onualjlGJhtkgl+7KUO5rU+2KD/bV/V5LjvZs+4j/hoNFUS6sp8ArgXnDiZcPnF5i3KY07Xwfjnmvk=
x-ms-office365-filtering-correlation-id: ef4fcb30-7186-4622-bae1-08d4b91d0cee
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500055)(300135000095)(300000501055)(300135300095)(22001)(300000502055)(300135100095)(2017030254075)(48565401081)(300000503055)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504055)(300135200095)(300000505055)(300135600095)(300000506048)(300135500095); SRVR:BN3PR0201MB0865;
x-ms-traffictypediagnostic: BN3PR0201MB0865:
x-microsoft-antispam-prvs: <BN3PR0201MB0865DF75D71E01ABC6A21C3CF1DB0@BN3PR0201MB0865.namprd02.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(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)(20161123562025)(20161123564025)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR0201MB0865; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR0201MB0865;
x-forefront-prvs: 03468CBA43
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(39400400002)(39410400002)(39450400003)(39850400002)(39840400002)(24454002)(13464003)(377454003)(76176999)(4326008)(54356999)(55016002)(8676002)(54906002)(50986999)(81166006)(53936002)(2906002)(6306002)(14454004)(102836003)(9686003)(478600001)(39060400002)(6116002)(3846002)(8936002)(305945005)(74316002)(122556002)(25786009)(72206003)(77096006)(99286003)(229853002)(230783001)(189998001)(6506006)(33656002)(66066001)(6436002)(7696004)(2950100002)(5660300001)(2501003)(3660700001)(2900100001)(80792005)(7736002)(3280700002)(38730400002)(6246003)(86362001)(53546010); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0201MB0865; 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 03:16:18.4963 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bc876b21-f134-4c12-a265-8ed26b7f0f3b
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0201MB0865
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/uGN8bOYvtuiuz2I9ocxuI0hxfuk>
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 03:16:25 -0000

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