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

"Tarek Saad (tsaad)" <tsaad@cisco.com> Fri, 16 October 2015 20:41 UTC

Return-Path: <tsaad@cisco.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 B2F891A1A52 for <teas@ietfa.amsl.com>; Fri, 16 Oct 2015 13:41:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.51
X-Spam-Level:
X-Spam-Status: No, score=-14.51 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] 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 auD2k4csdJq6 for <teas@ietfa.amsl.com>; Fri, 16 Oct 2015 13:40:59 -0700 (PDT)
Received: from rcdn-iport-9.cisco.com (rcdn-iport-9.cisco.com [173.37.86.80]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8FB661A1A6F for <teas@ietf.org>; Fri, 16 Oct 2015 13:40:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=21992; q=dns/txt; s=iport; t=1445028059; x=1446237659; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=3xn9Hcl31EoG7EajHUbg62LtV4r65q4KFGT+G8sJ4Qg=; b=EJrr/EQ31DhlKBCUg3pXo/UawxCwKyVpLPUMNoRRLqCd6PQjchgapn2y L26oat81tC/jJItMJjf9nNAKXQSa+R7qe8L9a7dhhhKJfOkaWDi5fhsnI yJ0JXTire0ligc0nb6GCGOR0NT9P+I0PKjTjNt59xEugm3q/aX2RdxRwJ 8=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AWAgCwXyFW/5xdJa1egllNVG4GuUaEIQENgVkdhgECgTg4FAEBAQEBAQGBCoQmAQEBBC1MEAIBCBUCIQcHMhQJCAEBBA4FiC4Nw3gBAQEBAQEBAQEBAQEBAQEBAQEBAQETBIZ2hH6FCQQHhC4FjUiIVQGFGIgCgViHXo5rg24BHwEBQoQDcYRhgQYBAQE
X-IronPort-AV: E=Sophos; i="5.17,690,1437436800"; d="scan'208,217"; a="36445478"
Received: from rcdn-core-5.cisco.com ([173.37.93.156]) by rcdn-iport-9.cisco.com with ESMTP; 16 Oct 2015 20:40:58 +0000
Received: from XCH-RCD-002.cisco.com (xch-rcd-002.cisco.com [173.37.102.12]) by rcdn-core-5.cisco.com (8.14.5/8.14.5) with ESMTP id t9GKewPQ014080 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 16 Oct 2015 20:40:58 GMT
Received: from xch-rcd-001.cisco.com (173.37.102.11) by XCH-RCD-002.cisco.com (173.37.102.12) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Fri, 16 Oct 2015 15:40:42 -0500
Received: from xch-rcd-001.cisco.com ([173.37.102.11]) by XCH-RCD-001.cisco.com ([173.37.102.11]) with mapi id 15.00.1104.000; Fri, 16 Oct 2015 15:40:42 -0500
From: "Tarek Saad (tsaad)" <tsaad@cisco.com>
To: "Zhangxian (Xian)" <zhang.xian@huawei.com>
Thread-Topic: Some comments to RSVP and TE YANG model
Thread-Index: AdDqBDTbygC9JZr0T6edq4rb/yWC7geVyQ4A
Date: Fri, 16 Oct 2015 20:40:42 +0000
Message-ID: <D246CDAA.477A7%tsaad@cisco.com>
References: <C636AF2FA540124E9B9ACB5A6BECCE6B4725F40D@SZXEMA512-MBS.china.huawei.com>
In-Reply-To: <C636AF2FA540124E9B9ACB5A6BECCE6B4725F40D@SZXEMA512-MBS.china.huawei.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.5.4.150722
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.82.247.19]
Content-Type: multipart/alternative; boundary="_000_D246CDAA477A7tsaadciscocom_"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/teas/Cri5qrktTsBL0r4_Pib2EvpfFUU>
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: Fri, 16 Oct 2015 20:41:04 -0000

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