Re: [Pce] F and S bit in draft-ietf-pce-segment-routing

Dhruv Dhody <dhruv.ietf@gmail.com> Wed, 21 August 2019 05:51 UTC

Return-Path: <dhruv.ietf@gmail.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 6D0751201DB; Tue, 20 Aug 2019 22:51:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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=gmail.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 R_kiCH5W5gQo; Tue, 20 Aug 2019 22:51:23 -0700 (PDT)
Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) (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 5DDE612007A; Tue, 20 Aug 2019 22:51:23 -0700 (PDT)
Received: by mail-io1-xd34.google.com with SMTP id o9so2239816iom.3; Tue, 20 Aug 2019 22:51:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=D/tr0jCTeSgYsh3IATIK1L8xp54ojio/1MQsL/b8z8Q=; b=uzIffcw+2yp2h5Si8L+QvWFM6aVzBFP1YI/ktWPxgIG8cz+E6MxxXFP+UES2pW43AX QIx0wN98TvKkmNqSnTwQXR7zoRhb9SZ25E4HPwwdjc4gKkKZ0u6Yu0M/Jd3mMKgf/cWl qDkKJZAkFfnmR/06jTJ9Dyy8G3yJma4eU/nbbtRTkwp6mjWqsQc2KptPlWWTR89n+sht kYZpgdTvuXfeZrLnOVGvre3t6UK4EULfgDH8Jpb+tsQwDm/RdX6gvsfUvawo4bztGaNp zVqnIuJeaMWJzvnCawG1RI8qUiDYtWuqD5HVHIi2ZxMZxH+R54/HaYVQDJ+p2lvxcKGf oVjw==
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=D/tr0jCTeSgYsh3IATIK1L8xp54ojio/1MQsL/b8z8Q=; b=uoK3U0KQ2t+NNTvgoSEx9A7G6BreGLsBRUpMgB/B5eoEzp1xjab0JnZZkFuXAZxyG3 DU1jyX3dMPRDK1j7WqtT4BJCRvj5eaGPXcZDB27zy5FRhoIQclultTdJmqi5EHQwfa7i wWCgLTenylfbcvoRTwjy3OaPenl6Pdt0emKwhCUB2hqsUPsgUjzonvRBW2sw0HSPdTgW 27uSD0bSvO3jEUhFjY4X/LQajJiRxgLIQ8fSMTe8syOrQGg+dlCpPeu+RuPzP9MRjB2l C5fsCJ3YLTHv65j8N0AqIvBMdpkWYPZmxRYqgdfH/d/MokV8cpKiXQXINX6U6yzpGM/J rglA==
X-Gm-Message-State: APjAAAXCaMuuqPCGjjObrccT/Mo/7kQnsRMDlSHjTQ/nd1KgQNfTWdXO xukOn/zivISViddmxU/yuLilSZvpspJWMFVWQXU=
X-Google-Smtp-Source: APXvYqyHpAiYL1hiez2Vt5RnqfDa9PpsfXUtTTfEdykWIiNv6KYI3R8iDgYfC2EQZl32mde2+O6bgEe4P3wLL1vYQL0=
X-Received: by 2002:a6b:b44c:: with SMTP id d73mr6574698iof.279.1566366682437; Tue, 20 Aug 2019 22:51:22 -0700 (PDT)
MIME-Version: 1.0
References: <C7C2E1C43D652C4E9E49FE7517C236CB0268B69D@dggeml529-mbx.china.huawei.com>
In-Reply-To: <C7C2E1C43D652C4E9E49FE7517C236CB0268B69D@dggeml529-mbx.china.huawei.com>
From: Dhruv Dhody <dhruv.ietf@gmail.com>
Date: Wed, 21 Aug 2019 11:20:45 +0530
Message-ID: <CAB75xn6bQtVmqZjLmd_vP7npxet8wJMgryJSszMNVt-09=6RVA@mail.gmail.com>
To: "Chengli (Cheng Li)" <chengli13@huawei.com>
Cc: "draft-ietf-pce-segment-routing@ietf.org" <draft-ietf-pce-segment-routing@ietf.org>, "pce@ietf.org" <pce@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/pce/XY6nH82iuivqNkjhL8zJbDgzwoE>
Subject: Re: [Pce] F and S bit in draft-ietf-pce-segment-routing
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, 21 Aug 2019 05:51:25 -0000

Hi Cheng,

Not an author, but as a document shepherd for this one -

The alphabets assigned to the bits do not have to expand to a keyword in the
description, even though that is the usual practice for readability purpose.
I am not sure why the authors picked "F" but it did not matter to me while
reviewing, what mattered was the description and usage of the bit.

Might be interesting to note that we have similar cases when you scan the flag
registries in our IANA page - https://www.iana.org/assignments/pcep/pcep.xhtml

And regarding setting of both flags, yes - that is not allowed and we have
this text -

   If a PCC receives an SR-ERO subobject in which the S and F bits are
   both set to 1 (that is, both the SID and NAI are absent), it MUST
   consider the entire ERO invalid and send a PCErr message with Error-
   Type = 10 ("Reception of an invalid object") and Error-Value = 6
   ("Both SID and NAI are absent in SR-ERO subobject").

I encourage authors to put forward their perspective.

Thanks!
Dhruv

On Wed, Aug 21, 2019 at 8:57 AM Chengli (Cheng Li) <chengli13@huawei.com> wrote:
>
> Hi authors,
>
>
>
> I am a little bit confusing of F and S bit in SR-ERO subobject.  https://tools.ietf.org/html/draft-ietf-pce-segment-routing-16#section-4.3.1
>
>
>
> What is F standing for ?
>
>
>
> and how about S ?  S for SID?
>
>
>
> It seems like S and F bit can not be set at the same time, correct?
>
>
>
> Thanks,
>
> Cheng
>
>
>
> _______________________________________________
> Pce mailing list
> Pce@ietf.org
> https://www.ietf.org/mailman/listinfo/pce