Re: [Pce] WGLC for draft-ietf-pce-lsp-extended-flags-02

Dhruv Dhody <dd@dhruvdhody.com> Thu, 12 May 2022 03:59 UTC

Return-Path: <dd@dhruvdhody.com>
X-Original-To: pce@ietfa.amsl.com
Delivered-To: pce@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1BD9CC15E6D7 for <pce@ietfa.amsl.com>; Wed, 11 May 2022 20:59:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.895
X-Spam-Level:
X-Spam-Status: No, score=-1.895 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=dhruvdhody-com.20210112.gappssmtp.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 Fv2YkVIgevKL for <pce@ietfa.amsl.com>; Wed, 11 May 2022 20:59:29 -0700 (PDT)
Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) (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 6915CC15E6E2 for <pce@ietf.org>; Wed, 11 May 2022 20:59:29 -0700 (PDT)
Received: by mail-pl1-x62d.google.com with SMTP id n18so3734217plg.5 for <pce@ietf.org>; Wed, 11 May 2022 20:59:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dhruvdhody-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XOySg2HscvOc2+AM5VwXapO9UEQFoIleIosQQ86xyB4=; b=zm28iXCEo7iT+f/tdheCmEygx/H/ZOCpoXmuKxAHB1uoqt51K0c1O/YfRIDliZI+og H0HRy7LZXsWQFhF56DypJ2Jax8K1AkheuDkCX4O5Y8Eg80YlqvAAR14nzn4Ct6IDEuop 1q/xz3lrWOg0BYMb7SjYpIZIN6v3IgQ3G0Fv0Kruva62A6/7yjgrg1wAE46dMZJKhQKc dLCU66J7+Q/Jr8xv+DprMuNb6gVY9Iqsf2v/vRNMmh9LAoyI+HRPdTzDnV0It2+fvCC3 Q+giNP1RY6XeG2EN4NpfYga7Ti5b1T1W+c6TDVXCupK23AQ9/q4eais0ElIs1rb3rZvc TNSg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XOySg2HscvOc2+AM5VwXapO9UEQFoIleIosQQ86xyB4=; b=WlAoTGKKTHoPu2nq+xgx7jOCrBdpaDdBhkGl9tqOU5qPb3SWqt5rI5qdcmh8KY969U oZO+072VddxQpR6uD2ex/JaAYCRehZbfsQ40POC4pyBlGPu2VFjkZVFO3JzXIcVqGImk EazNBrPCnYP/sf6dLE9Gk0lLwsD0MN8gKNXzju5r+Z6U5ANChdKWaHukhI04hMgLWZCq a+FHURfnxurE3IUe2dH83DoKVz+qV7Z9X+qZtj5JbxtdEgx7e0ocn1XpdweQR32RI75O GqGUH+DZGWRuN9Y/0MJv6e5l463+xI4tKdra5lwasszy1GLK3vhdyJOazj9M4xp3U0Tr uH9w==
X-Gm-Message-State: AOAM5335GctMYqRAF43syzM5t4i82zbsTswsBYQExD5bWlkTsKSf2+p2 CKSRpf+r1E3sOUvN5QkbsiPprpIlQ7zRCk4DaH78wg6fXzP3uGMF
X-Google-Smtp-Source: ABdhPJxGhdAtlvbDsxqfLz9yd0+xTCphHH+Tw7Thn4JdgU1xSgIwkMYABOv+/7fC7+kW+2VOYVbklDdvT0BlKFSxo0c=
X-Received: by 2002:a17:902:f60e:b0:158:5c4d:d9b0 with SMTP id n14-20020a170902f60e00b001585c4dd9b0mr28843534plg.63.1652327968647; Wed, 11 May 2022 20:59:28 -0700 (PDT)
MIME-Version: 1.0
References: <CAP7zK5Yn30Kr00qOLLsPPNKOtHz-Q9z-pRe+aEqk1CYm1Co9Rg@mail.gmail.com> <F33B6B96-1C75-4D2F-8AAD-474D0CBF1673@tsinghua.org.cn>
In-Reply-To: <F33B6B96-1C75-4D2F-8AAD-474D0CBF1673@tsinghua.org.cn>
From: Dhruv Dhody <dd@dhruvdhody.com>
Date: Thu, 12 May 2022 09:28:52 +0530
Message-ID: <CAP7zK5awq7i_dV1A6BEfNbkj8G8u7D5hP5TPnE9F16NED4NTBQ@mail.gmail.com>
To: Aijun Wang <wangaijun@tsinghua.org.cn>
Cc: pce@ietf.org, pce-chairs <pce-chairs@ietf.org>, draft-ietf-pce-lsp-extended-flags@ietf.org
Content-Type: multipart/alternative; boundary="0000000000009fc0e505dec895d1"
Archived-At: <https://mailarchive.ietf.org/arch/msg/pce/Aj84fNzhR-_qz01rOx9Oc8Q32LA>
Subject: Re: [Pce] WGLC for draft-ietf-pce-lsp-extended-flags-02
X-BeenThere: pce@ietf.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: Path Computation Element <pce.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pce>, <mailto:pce-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pce/>
List-Post: <mailto:pce@ietf.org>
List-Help: <mailto:pce-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pce>, <mailto:pce-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 12 May 2022 03:59:33 -0000

Hi Aijun,

As a WG member...

On Thu, May 12, 2022 at 6:58 AM Aijun Wang <wangaijun@tsinghua.org.cn>
wrote:

> Hi, Dhruv and Quan:
> Is there any reason to define the extended flag in variable length?
>

The aim was to fix it once and not worry about running out of flags ever
again.
Moreover, there is a precedence of this technique in the context of PCE, so
the implementations already handle these cases well.

https://www.rfc-editor.org/rfc/rfc5088.html#section-4.5
https://www.rfc-editor.org/rfc/rfc5089.html#section-4.5



> Should it be more reasonable that just define one 32 bit extended flag and
> if necessary, define another extended flag TLV?
>

Yes, it can be done that way. Is it more reasonable? That is debatable...
Open to feedback from the WG.



> And, as I read section 3.2:
> https://www.ietf.org/archive/id/draft-ietf-pce-lsp-extended-flags-02.html#section-3.2
> “…. …
> If a PCEP speaker receives the LSP-EXTENDED-FLAG TLV of a length less than
> the one supported by the implementation, it will consider the bits beyond
> the length to be unset.
> … ….”
>
> Will the above  lead to misbehavior in some situations?
>
>
A (TLV L=8) ------ B (TLV L=4)
When A receives an LSP-EXTENDED-FLAG TLV with Length = 4, even though it
understands/supports more flags than 32, it considers that those other
flags are unset for B.
When B receives an LSP-EXTENDED-FLAG TLV with Length = 8, since B only
understands limited bits, it considers all the other ones as unassigned and
ignores them.

Note that this behavior is similar to how considering A supports 10 flags
and B supports 3 flags would be handled even though the L=4 for both.

What am I missing?

Anyway, I recommend the fixed length(then the length field is unnecessary)
> and clear description/usages of each bit of the flag.
>
>
This document creates the TLV and a registry. The actual bits and their
usage belong in other documents.

Thanks!
Dhruv (as a WG member)



> Aijun Wang
> China Telecom
>
> On May 11, 2022, at 21:28, Dhruv Dhody <dd@dhruvdhody.com> wrote:
>
> 
> Hi WG,
>
> This email starts a 2-weeks working group last call for
> draft-ietf-pce-lsp-extended-flags-02 [1].
>
> Please indicate your support or concern for this draft. If you are opposed
> to the progression of the draft to RFC, please articulate your concern. If
> you support it, please indicate that you have read the latest version and
> it is ready for publication in your opinion. As always, review comments and
> nits are most welcome.
>
> The WG LC will end on Wednesday 25th May 2022.
>
> A general reminder to the WG to be more vocal during the
> last-call/adoption and help us unclog our queues :)
>
> Thanks,
> Dhruv & Julien
>
> [1] https://datatracker.ietf.org/doc/draft-ietf-pce-lsp-extended-flags/
> _______________________________________________
> Pce mailing list
> Pce@ietf.org
> https://www.ietf.org/mailman/listinfo/pce
>
>