Re: [Pce] cursory review of draft-xiong-pce-lsp-flag
Dhruv Dhody <dd@dhruvdhody.com> Wed, 29 July 2020 11:15 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 549D23A0920 for <pce@ietfa.amsl.com>; Wed, 29 Jul 2020 04:15:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=dhruvdhody-com.20150623.gappssmtp.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 5yMdCNTOeRzf for <pce@ietfa.amsl.com>; Wed, 29 Jul 2020 04:15:16 -0700 (PDT)
Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E990E3A091B for <pce@ietf.org>; Wed, 29 Jul 2020 04:15:15 -0700 (PDT)
Received: by mail-pj1-x102d.google.com with SMTP id k1so1718580pjt.5 for <pce@ietf.org>; Wed, 29 Jul 2020 04:15:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dhruvdhody-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=adu54y1HVCpwN0BPA6XMF1bt8bdVraIqVYLQ5lbeYZs=; b=GWvzPr94yUafoHCNOVP3XT1f7z/9sjbj8ZHNgt74jiLTcZmpdi5eyXQKrMGbFUR1fz twa/xPvaXtb5eWR07yOfySYRYl7zHpuGB6K4XehKd3PoQPBvvOrrGV5YPzGB4//eHxtg ziaBMhrzN3SjJoh+ompyjOxqdzO4PijRb+2Jxkdy4UBPeawxDtH1+7/g4UhR/98+KXRZ PNdGBxnsbHxtTCDW6JI9mNTHGojmi/TBnSTBNW5SnZgrlWdoxY6v+1rtBmLwMx6lrvLu 7uQXUeqhIvwIqPlxycmhsAzkmyDPFnBIkXG07z7LVSqNoc1xumLw/nZBtcjmzp8pGpSW sHUQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=adu54y1HVCpwN0BPA6XMF1bt8bdVraIqVYLQ5lbeYZs=; b=DBjAoGKl0JVS53O8tGEXzd53T554VAUfn70oOQ3W88hAqBiZ7BJWTiOSPEQ4+W4r/Z iy0J8fFAgQIDEJK6MLv2q1AsrSfk5Z2j09YYjEO2CUbVbAhWpsnAaVvropoHPRFsPHFJ hHrVzZMBq4eqDVP1m6GDyjV3lqb/cFwq+2WLDtn844FHE6uDfFjtHkMNopNL95YlERg8 n2q6Nc2X4LDbyqWcLCv8wji6jxDZs+Am+B63DHH1THzCo3NijDSmUduXEfFAn3myAPpt XyDs5uITlNHfdbw5UI9qVE2wfgaB5YvBAMMyQIgT70KEU+NZk68fV/Ms5kwPBLu9CEMC J7rg==
X-Gm-Message-State: AOAM531a3B6X8fDBZS3EZEVqFIrmu5v/DJbmuccn8LXkuzHnVHa3W3ky w3uNiQhX2crE6T/yGnzD2SCwDTUM8eLf6B0MfTlCNw==
X-Google-Smtp-Source: ABdhPJz6Vb9PcHLQz+mBc7LvTMrk8Fw/S1g+ojX3I+9oV4Qkz5BWlWs1bfQd+paoy+IQ4+Z0wIJzcKoegMvMFCxDYVU=
X-Received: by 2002:a17:90a:338a:: with SMTP id n10mr9657400pjb.50.1596021314964; Wed, 29 Jul 2020 04:15:14 -0700 (PDT)
MIME-Version: 1.0
References: <138eecce-8db7-90da-d6e8-b006ee4ddc8e@pi.nu> <CAP7zK5Ydyv+8QZYyp3kBiYy1Nz59uTRV=qhmMisavPn7JuYpOg@mail.gmail.com> <123c58ae-390b-28a0-01bb-4cc467272877@pi.nu>
In-Reply-To: <123c58ae-390b-28a0-01bb-4cc467272877@pi.nu>
From: Dhruv Dhody <dd@dhruvdhody.com>
Date: Wed, 29 Jul 2020 16:45:03 +0530
Message-ID: <CAP7zK5bw9_1+DY0WH0Y+MpqVuE34rj9YXMJ6-A7864PtUpX-0A@mail.gmail.com>
To: Loa Andersson <loa@pi.nu>
Cc: draft-xiong-pce-lsp-flag@ietf.org, "pce-chairs@ietf.org" <pce-chairs@ietf.org>, "pce@ietf.org" <pce@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/pce/pkHVKS1AIljw5CtfF_4E_TRIzns>
Subject: Re: [Pce] cursory review of draft-xiong-pce-lsp-flag
X-BeenThere: pce@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 29 Jul 2020 11:15:17 -0000
Hi Loa, On Wed, Jul 29, 2020 at 4:13 PM Loa Andersson <loa@pi.nu> wrote: > > Dhruv, > > Inline please. > > On 29/07/2020 17:01, Dhruv Dhody wrote: > > Hi Loa, > > > >> Comment: > >> > >> 5.2. PCEP-Error Object > >> > >> IANA is requested to register the following error types and error > >> values within the "PCEP-ERROR Object Error Types and Values" > >> subregistry of the "Path Computation Element Protocol (PCEP) Numbers" > >> registry: > >> > >> +--------------+-------------------------------------+ > >> | Error-Type | Meaning | > >> +--------------+-------------------------------------+ > >> | 6 | Mandatory Object missing | > >> | | Error-value | > >> | | TBD2: LSP-EXTENDED-FLAG TLV missing | > >> +--------------+-------------------------------------+ > >> > >> Table 2 > >> > >> Both the RTG DIR rules and IANA rules strongly advice against putting > >> fixed numeric values into allocation from existing registries. The > >> reason is obvious, in the time from you put the value in your document > >> until iet is ready for IESG review (which includes IANA review) someone > >> else might have been assigned tht value. This has happened and have > >> caused serious problems. > >> > >> 6 in table 2 hould be replaced with TBA (to be assigned). > >> > >> Note: If you really want the value 6, we should go for an early > >> allocation as soon as we have the wg document. > >> > > > > [Dhruv] The value 6 is for Error-Type already allocated by RFC 5440. > > This I-D is asking for a new Error-Value which is TBD2. A reference > > column in the IANA table would have helped here. > > hmmmm - okey, but no, we are asking IANA to register a new error-value, > but not a new error type. The text says: > > "IANA is requested to register the following error types and error > values ..." > This text is incorrect then and should be fixed. > But then the table is very unclear, at a minimum it should look > something like this: > > +-------------+----------------------------+-------------------------+ > | Error-Type | Meaning | Error-value | > +-------------+----------------------------+-------------------------+ > | 6 | Mandatory Object missing | 0: Unassigned | > | | | 1-15 Assigned | > | | | TBD2: LSP-EXTENDED-FLAG | > | | | TLV missing | > +-------------+----------------------------+-------------------------+ > > Table 2 > Yes. I suggest Quan to look at - https://www.rfc-editor.org/rfc/rfc8800.html#section-7.5 as a good reference from a recent published RFC. > > > > >> Question: > >> > >> In section 4 you say: > >> > >> The LSP-EXTENDED-FLAG TLV MUST be defined as mandatory when a router > >> supporting the LSP Object and needs to use the extended flag field. > >> > >> I don't really parse; are you saying that if it is present it should be > >> treated as mandatory? > >> > >> If that is what you are saying, what does it change? > >> > > > > [Dhruv]: I read it as a requirement for a future extension that would > > define a flag in the LSP-EXTENDED-FLAG TLV. > > > > If that is true, I would suggest not using normative MUST. How about - > > > > A future extension that defines a flag in the LSP-EXTENDED-FLAG TLV > > could mark this TLV as mandatory to be carried the LSP Object. > > I have been reading a bit more, but this is still unclear to me, if I > understand it will still be valid to send without the extended TLV > (if you don't need the flags). Yes! Maybe we should not use the word "mandatory" then! As it is "mandatory" in the context of using a new feature defined in a future extension -- so to use the new feature, an implementation MUST include the LSP-EXTENDED-FLAG TLV and MUST set a particular flag. The so-called "mandatory" would be only in the scope of the protocol extension and not required when the feature is not used. > How are you deciding if the extended TLV > missing? > This could be because of the presence of some other object/TLVs needed by the same extension but without the LSP-EXTENDED-FLAG TLV in the LSP object. Perhaps the right thing to do would be to move the error handling to the first document that uses the LSP-EXTENDED-FLAG TLV instead of this document. Thanks! Dhruv > > /Loa > > > > Thanks! > > Dhruv > > > >> /Loa > >> > >> > >> -- > >> > >> Loa Andersson email: loa@pi.nu > >> Senior MPLS Expert loa.pi.nu@gmail.com > >> Bronze Dragon Consulting phone: +46 739 81 21 64 > > -- > > Loa Andersson email: loa@pi.nu > Senior MPLS Expert loa.pi.nu@gmail.com > Bronze Dragon Consulting phone: +46 739 81 21 64
- [Pce] cursory review of draft-xiong-pce-lsp-flag Loa Andersson
- Re: [Pce] cursory review of draft-xiong-pce-lsp-f… Dhruv Dhody
- Re: [Pce] cursory review of draft-xiong-pce-lsp-f… Loa Andersson
- Re: [Pce] cursory review of draft-xiong-pce-lsp-f… Dhruv Dhody
- [Pce] 答复: cursory review of draft-xiong-pce-lsp-f… xiong.quan
- Re: [Pce] cursory review of draft-xiong-pce-lsp-f… Dhruv Dhody
- [Pce] 答复: cursory review of draft-xiong-pce-lsp-f… xiong.quan