Re: [Teas] one more question when reading the example of session12.6///答复: A suspected issue was found in the TE tunnel draft and a small comment about path computation policy

Tarek Saad <tsaad.net@gmail.com> Fri, 12 January 2024 15:00 UTC

Return-Path: <tsaad.net@gmail.com>
X-Original-To: teas@ietfa.amsl.com
Delivered-To: teas@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D3EDDC14F68E; Fri, 12 Jan 2024 07:00:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.103
X-Spam-Level:
X-Spam-Status: No, score=-2.103 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DC_PNG_UNO_LARGO=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F-Bp38WZXEDb; Fri, 12 Jan 2024 07:00:53 -0800 (PST)
Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 47EF4C14F61D; Fri, 12 Jan 2024 07:00:53 -0800 (PST)
Received: by mail-io1-xd29.google.com with SMTP id ca18e2360f4ac-7bf2a592ba3so7144939f.1; Fri, 12 Jan 2024 07:00:53 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705071652; x=1705676452; darn=ietf.org; h=mime-version:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=/+9yhTNPNB5dWGYEUekeZGl0lkXvK3NJ2R2QKrsWffM=; b=bbUOstGsuaB57y7ESFh9nN88mzkQnaYxUqdWwq2sMx5qlRt1ompNgsd2y3OVek9wil sBuvNKorjWsGFW1bEuq/XkIwsiC9rnwYn62InchRk92b3NKM16kZkZiOXhhixASw2N78 0WUfd1EBNrWP+qjfScidOAYiqTuNCca53ykRPK0yrlDIwCz4fAD2dV2RQ/3bSlih506h /30kdNiPgO6qLUOP4Dk/hgbswye5NdhxJRPvq3ePA13kJiI92Ij8tyBq8kEkRmCFgGIh RX5WecIICixO2aDiZ42YuJdOKHUMTgaluULW3l6wmrtaBxpUSB9sAqUpRqltnn6Zdk0l somQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705071652; x=1705676452; h=mime-version:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/+9yhTNPNB5dWGYEUekeZGl0lkXvK3NJ2R2QKrsWffM=; b=a9+a7fLTnZS9MVSzcHMjrR+ITpnBKlzX+W9F6CKKb8SKGZXGIvokV+qiP+ZyvhlPXo IRSQ1YAGFMTKtsX4quwIn/vgfyeSogVAGDP1eDkDf3gPwVmK50VtzescZwxv0142AGrN BnZ25SUERxHkUMBqBV3ad1NemT7/AFBHl7Vywk9X1RYK041ZGFEh5iiM0/yXH9ziF2Mj sh/3hBEyxodsJ1SXPOjuBcGuEMD7PohA2OPFA8QobWYocjg5AERlRaLOpuJUNulFCOCO vSiWoG6jHu6NvEas7IsRnG/t26h7/H95UxuvOX/kYqPZLFwxF4rVN97nFs9MOTmSS3jv b4ug==
X-Gm-Message-State: AOJu0YwDQydt1SSPMmyjWkhE1ej0TQOwewB3Cyd/Cf5Ygc6kskTxmvor f7Qz7/94dc0kJc2qX1YJlUs=
X-Google-Smtp-Source: AGHT+IFwZUYy6Y4P1HDKiaYU/c99W5UDrt/ZSeasOdZTnbNjm0/Q1qyF/6D1ibN63aWAUzLgheuzBQ==
X-Received: by 2002:a6b:f107:0:b0:7ba:b744:bb0 with SMTP id e7-20020a6bf107000000b007bab7440bb0mr1535275iog.35.1705071650248; Fri, 12 Jan 2024 07:00:50 -0800 (PST)
Received: from DS0PR19MB6501.namprd19.prod.outlook.com ([2603:1036:5:f::5]) by smtp.gmail.com with ESMTPSA id o24-20020a02cc38000000b00468f177fd1bsm947803jap.41.2024.01.12.07.00.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 07:00:49 -0800 (PST)
From: Tarek Saad <tsaad.net@gmail.com>
To: yuchaode <yuchaode=40huawei.com@dmarc.ietf.org>, "'teas@ietf.org'" <teas@ietf.org>, 'TEAS WG Chairs' <teas-chairs@ietf.org>
Thread-Topic: one more question when reading the example of session12.6///答复: A suspected issue was found in the TE tunnel draft and a small comment about path computation policy
Thread-Index: AdoprXDXJ5ZRak76RdOWsNQ445T1xwFwAta8
X-MS-Exchange-MessageSentRepresentingType: 1
Date: Fri, 12 Jan 2024 15:00:48 +0000
Message-ID: <IA1PR19MB6498F22C19E5332F1F3B2646FC93A@IA1PR19MB6498.namprd19.prod.outlook.com>
References: <8771b0b69ade4aee97c46e43fef23f0e@huawei.com>
In-Reply-To: <8771b0b69ade4aee97c46e43fef23f0e@huawei.com>
Accept-Language: en-US
Content-Language: en-CA
X-MS-Has-Attach: yes
X-MS-Exchange-Organization-SCL: -1
X-MS-TNEF-Correlator:
X-MS-Exchange-Organization-RecordReviewCfmType: 0
Content-Type: multipart/related; boundary="_004_IA1PR19MB6498F22C19E5332F1F3B2646FC93AIA1PR19MB6498namp_"; type="multipart/alternative"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/teas/V2qeOtnXNM4MfZUk2p7VyWj_fis>
Subject: Re: [Teas] one more question when reading the example of session12.6///答复: A suspected issue was found in the TE tunnel draft and a small comment about path computation policy
X-BeenThere: teas@ietf.org
X-Mailman-Version: 2.1.39
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, 12 Jan 2024 15:00:57 -0000

 Hi yuchaode,

Thank you for your review and comments. Please note, we have uploaded rev 35<https://datatracker.ietf.org/doc/html/draft-ietf-teas-yang-te-35> of the draft which may address some of the concerns you raise. Please see inline indexed by [TS].

From: Teas <teas-bounces@ietf.org> on behalf of yuchaode <yuchaode=40huawei.com@dmarc.ietf.org>
Date: Friday, December 8, 2023 at 3:06 AM
To: 'teas@ietf.org' <teas@ietf.org>, 'TEAS WG Chairs' <teas-chairs@ietf.org>
Subject: [Teas] one more question when reading the example of session12.6///答复: A suspected issue was found in the TE tunnel draft and a small comment about path computation policy

I found in the example of session 12.6, there are a lot of “route-object-include-exclude” structures. There are only index and hop information provided in these structures, but how can we know these hops are specified to be included or excluded?



And then, I checked the TE types model and found it had defined an “explicit-route-usage” attribute which can be used to specify the usage. And the default value is "te-types:route-include-object". Well, it is clear for me all the hops are indicated to be included. But I would like to suggest that it is better to specify the “explicit-route-usage” in the example. At least there should be some different usages for a part of hops.  Otherwise some other people would meet with the same problem of mine. If there is not a default value for the “explicit-route-usage” and it is mandatory to indicate the usage, I think it would be better.

Please the authors check.

[TS]: Yes, the constraint type can be specified with each route entry in “explicit-route-usage” leaf. The default is to include – hence, the example did not set it explicitly. We’ve explicitly set it now for clarity.



One more question about the design of “explicit-route-objects-always” structure.
As it describes in the document, the “explicit-route-objects-always” is a YANG container that contains two route objects lists: “route-object-exclude-always” and “route-object-include-exclude”. The “route-object-exclude-always” is a list of route entries to always exclude from the path computation while the “route-object-include-exclude” is a list of route entries to include or exclude in the path computation.

It seems like that these two structures have some overlaps.
Is “route-object-include-exclude” not needed to be always considered in the path computation? But why there is a “-always” suffix in its parent container “explicit-route-objects-always”?
Is “route-object-include-exclude” only used to indicate route entries to include in the path computation? But why there is a “explicit-route-usage” attribute in it?
Or maybe is the “route-object-exclude-always” a redundant structure?
Please the authors confirm. Thanks!
[TS]: The two lists serve a different purpose.
The 'route-object-exclude-always' list holds route entries that are always excluded from the path computation.  The exclusion or route entries during path computation is not order sensitive and is honored in the computation of the full path.
The 'route-object-include-exclude' list holds include or exclude route entry constraints for path computation. The path computation considers those route entry constraints in the order they appear in this list. Once a route entry constraint is consumed from this list, it is no longer considered any further computation of subsequent sub path.

Regards,
Tarek (for the co-authors)

发件人: yuchaode
发送时间: 2023年12月8日 15:19
收件人: teas@ietf.org; TEAS WG Chairs <teas-chairs@ietf.org>
主题: A suspected issue was found in the TE tunnel draft and a small comment about path computation policy

Hi TEAS Working Group,

I found a suspected issue in the latest version of TE Tunnel draft by accident. Please the authors have a look.
It seems like that the previous “p2p-primary-paths” container was renamed into “primary-paths”.
But in the example of session 12.5(https://datatracker.ietf.org/doc/html/draft-ietf-teas-yang-te-34#section-12.5-2), the URL still points to “p2p-primary-paths” structure while the response is using “primary-path” structure. Just like the screenshot shows:
[cid:image001.png@01DA29EB.23243600]
I think the authors probably missed to change the URL. Please the authors check!

This issue was found when I was doing some research on the path computation policy. I am using an old version, and I was trying to find the “p2p-primary-paths” and then found there was only one case matched.
And I noticed that this “p2p-primary-path” structure was renamed by some previous versions. This is an accidental discovery and does not intentionally delay the release of TE tunnels.

BTW, I found that all the primary & secondary paths and their reverse paths can support to specify different path computation policy. This capability is great.
But what I met is people only wanted to specify a unified path computation policy for all the paths. So is it possible to specify the path computation policy only in the primary-path, and the other paths use this policy by default if there is no specific policy specified on their paths.
If the authors agree with this proposal, can some more description be added in the draft or in the model to make it clear? Thanks!

B.R.
Chaode