Re: [Teas] Some comments to RSVP and TE YANG model

"Zhangxian (Xian)" <zhang.xian@huawei.com> Mon, 19 October 2015 09:13 UTC

Return-Path: <zhang.xian@huawei.com>
X-Original-To: teas@ietfa.amsl.com
Delivered-To: teas@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E14831A8795 for <teas@ietfa.amsl.com>; Mon, 19 Oct 2015 02:13:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level:
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 g5mOUhGY0z5P for <teas@ietfa.amsl.com>; Mon, 19 Oct 2015 02:13:01 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 88F331A876F for <teas@ietf.org>; Mon, 19 Oct 2015 02:13:00 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml402-hub.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BYZ13535; Mon, 19 Oct 2015 09:12:58 +0000 (GMT)
Received: from SZXEMA412-HUB.china.huawei.com (10.82.72.71) by lhreml402-hub.china.huawei.com (10.201.5.241) with Microsoft SMTP Server (TLS) id 14.3.235.1; Mon, 19 Oct 2015 10:12:56 +0100
Received: from SZXEMA512-MBS.china.huawei.com ([169.254.8.78]) by SZXEMA412-HUB.china.huawei.com ([10.82.72.71]) with mapi id 14.03.0235.001; Mon, 19 Oct 2015 17:12:47 +0800
From: "Zhangxian (Xian)" <zhang.xian@huawei.com>
To: "Tarek Saad (tsaad)" <tsaad@cisco.com>
Thread-Topic: Some comments to RSVP and TE YANG model
Thread-Index: AdDqBDTbygC9JZr0T6edq4rb/yWC7geVyQ4AAHxqtkA=
Date: Mon, 19 Oct 2015 09:12:47 +0000
Message-ID: <C636AF2FA540124E9B9ACB5A6BECCE6B54AD0562@SZXEMA512-MBS.china.huawei.com>
References: <C636AF2FA540124E9B9ACB5A6BECCE6B4725F40D@SZXEMA512-MBS.china.huawei.com> <D246CDAA.477A7%tsaad@cisco.com>
In-Reply-To: <D246CDAA.477A7%tsaad@cisco.com>
Accept-Language: zh-CN, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.66.104.209]
Content-Type: multipart/alternative; boundary="_000_C636AF2FA540124E9B9ACB5A6BECCE6B54AD0562SZXEMA512MBSchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <http://mailarchive.ietf.org/arch/msg/teas/Bdgn9zXaoCoQCtEsqx1sGjnAK5k>
Cc: "Chenxia (D)" <jescia.chenxia@huawei.com>, Dhruv Dhody <dhruv.dhody@huawei.com>, "teas@ietf.org" <teas@ietf.org>
Subject: Re: [Teas] Some comments to RSVP and TE YANG model
X-BeenThere: teas@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Traffic Engineering Architecture and Signaling working group discussion list <teas.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/teas>, <mailto:teas-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/teas/>
List-Post: <mailto:teas@ietf.org>
List-Help: <mailto:teas-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/teas>, <mailto:teas-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 19 Oct 2015 09:13:06 -0000

Hi, Tarek,

Thank you for your reply.

All looks fine to me,  except the following point left unanswered:

For RSVP-TE YANG model:
4: how is the lsp-source different from the base module’s source?

Regards,
Xian
From: Tarek Saad (tsaad) [mailto:tsaad@cisco.com]
Sent: 2015年10月17日 4:41
To: Zhangxian (Xian)
Cc: Chenxia (D); Dhruv Dhody; teas@ietf.org
Subject: Re: Some comments to RSVP and TE YANG model

Hi Xian,

Thanks for your review and comments. Inline for responses.

From: "Zhangxian (Xian)" <zhang.xian@huawei.com<mailto:zhang.xian@huawei.com>>
Subject: Some comments to RSVP and TE YANG model

Hi, Tarek,

   I have read in the detail the part I am very interested (mostly related to LSP states) and have the following comments. Hope it is helpful for the next iteration.

For TE YANG model:
1: Bandwidth information is missing?
[TS]: this was added in the latest version @ https://github.com/ietf-mpls-yang/te


2: why is “type” part of the key for lsps-state? I think five-tuple information should be sufficient.
[TS]: P2MP and P2P tunnels can share the 5-tuple but differ in the type (I.e. Type is a differentiator, e.g. when have 2 tunnels (p2p and p2mp) sharing the same 5-tuples).

3: for the downstream-info and upstream-info, we/people naturally can see that for ingress no upstream and egress no downstream. But in the yang code, it would be better with a ‘when’ statement to confine this. Similar to that of the lsp-timers.
[TS]: yes, these checks are added in the latest version of the model.

Another 3 side questions:

A)     For upstream-info; phop is better than nhop.
[TS]: corrected.


B)     What is the difference between neighbor and nhop/phop?
[TS]: neighbor indicates the neighbor node-id, and nhop/phop indicates the next/previous-hop address on the link/interface.


C)     Label currently is only 32 bit, what should I do if I argument this model and my label is in a different format?
[TS]: we plan to address this by defining a generic (union) definition of the label (for PSC it will continue to be uint32). This is on our TODO.

For RSVP-TE YANG model:
4: how is the lsp-source different from the base module’s source?

5: local-recording-desired: do you intend to say label recording, which is specified in the cited RFC?
[TS]: correct. We are reusing the RFC and IANA naming for it (e.g. rfc3209 section 4.7.1) but I agree it could be made more explicit..

6: end-to-end rerouting (not routing), boundary & segment-based are mutually exclusive: have you considered using one value to express this, instead of three?.
[TS]: yes, this was grouped into one leaf that takes 1 of the above as value.

7: for the RRO and ERO, Now, they organize as:

-lsp
-incoming ERO
     +incoming ERO list
-outgoing ERO
+outgoing ERO list
-incoming RRO
     +incoming RRO list
-outgoing RRO
+outgoing RRO list

wonder why they do not organize as below?

-lsp
- ERO
     +incoming ERO list
+outgoing ERO list
- RRO
     +incoming RRO list
+outgoing RRO list

[TS]: agreed, the latter seems more user-friendly. we’ve made the change the latest version.

Regards,
Tarek

Do you see any specific reasons why/why not organize in the other way?

Regards,
Xian