Re: [spring] draft-previdi-idr-segment-routing-te-policy - BSID flag inconsistency
Przemyslaw Krol <pkrol@google.com> Wed, 21 November 2018 17:54 UTC
Return-Path: <pkrol@google.com>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0B2AE12F1AC for <spring@ietfa.amsl.com>; Wed, 21 Nov 2018 09:54:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -16.769
X-Spam-Level:
X-Spam-Status: No, score=-16.769 tagged_above=-999 required=5 tests=[AC_DIV_BONANZA=0.001, DKIMWL_WL_MED=-1.459, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_FONT_FACE_BAD=0.289, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 klIneAJtNfG3 for <spring@ietfa.amsl.com>; Wed, 21 Nov 2018 09:54:13 -0800 (PST)
Received: from mail-it1-x136.google.com (mail-it1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) (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 70E3D1294D0 for <spring@ietf.org>; Wed, 21 Nov 2018 09:54:13 -0800 (PST)
Received: by mail-it1-x136.google.com with SMTP id h193so10123362ita.5 for <spring@ietf.org>; Wed, 21 Nov 2018 09:54:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2DzdKANCmkdNFc5NqYzSEx4Kcs/o3pAXY7t76mVcDx8=; b=j/SOnHUD1vJ7Tq1fCBPZAXQLNL2bNg/8PZ13X2QIY1Fq2/ahZXYvTbcz6f6VvIDBT5 D5VtKcq3calJSHEA35BJ59bh0QInuS7hUFtL1lSHAqF4sevWoI00ZT8NTJ/Ra8WqznB3 xgM40cT2aLOI7pQvjgGcD3V5gpZh60+lYENlxF0GlIq0LRIEZoPi3XCWcSYH5caAq4PX i3BL51cgy+0XLp4c9MoLmRZq+Ze4vjZ7aUTQLpKOlsje1dsBqUl8p7IxRJ3q4tFhePQl wyrbPunLkcmVsrNe9EDdDwAZx3ISc8ZssxaiyRztwRyX13BKeJuWCaf/u0SYmGN9Z1yE t4aQ==
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=2DzdKANCmkdNFc5NqYzSEx4Kcs/o3pAXY7t76mVcDx8=; b=WDK2PioDqtmVsPaMqgMfZ2Bk6iFjBCdtboxxOpfsatacQoPNGIiFyLGAafdOGCFCqz Gle42lvwOH3YnYMmQBKETx6tAS8//28YsAs7kkIs7W3tC2jndkZffu3ImA+XnzjM7qvc 3whacWVqZnxvwjWPkpYzAMr/xBRreqw9pLEhLalRrH+/Kejan1q4G+dyR4+CUVCXwNPe BMqfF2C9Ezn6xv6F/JAIN03r6PdIPftC+LXGVPuxLzvvHYiEHIiBV3XVGtarg/23EcOW 4UfFgl54PuLxs4VFoI8cWJ4mvGEkoSnotDp5c9bQXVFgtXjM+sAt5Kb8jFMWaeVxZfKk o8Tg==
X-Gm-Message-State: AGRZ1gLpd5u6beFve76AlZ/Uxc/FwjUlnmm9nQPOrS+1ORERq3wI5uGb R6HemesJMC8q4YPi7AYfE06ajm5g9TQeRsVzMvN6MQ==
X-Google-Smtp-Source: AFSGD/WzsySJwlTlt3hm2WUUiHuoTjpOgxAvKdTVwozA5eyqFFMz5uGzG55RAz8ckNfeYHvBgAAMKH6Vj8LwiHt4MK0=
X-Received: by 2002:a24:4fcb:: with SMTP id c194mr6588041itb.47.1542822852134; Wed, 21 Nov 2018 09:54:12 -0800 (PST)
MIME-Version: 1.0
References: <CACH2EkUsWVejLcqwRbqY7_D3_ss0ESBTxnod-o-JAO2ftdEYvw@mail.gmail.com> <ea77b1e910e04117a320536b7de7d5db@XCH-ALN-008.cisco.com> <CACH2EkVQJfQW3kJsmi=ruGCPe=HL1c_RoF1EDqA-OkwGmzj8kA@mail.gmail.com> <CACH2EkWkS8cnDm-GzP-=NvCyRa5CvkWJorRVcBUvcks8LGnk+w@mail.gmail.com> <667e2cbf25aa4fe084a676f54af08eb0@XCH-RCD-009.cisco.com> <CACH2EkU-Ma39b+2KGO6tWqvATuz+b4w3wr7j2E02P1bxsRK_YA@mail.gmail.com> <CAEGVVtAAGkTFsqFNFxAUjQ3eSaz=_DCRhOkPe9Dx0Lu9mh41MQ@mail.gmail.com>
In-Reply-To: <CAEGVVtAAGkTFsqFNFxAUjQ3eSaz=_DCRhOkPe9Dx0Lu9mh41MQ@mail.gmail.com>
From: Przemyslaw Krol <pkrol@google.com>
Date: Wed, 21 Nov 2018 09:53:34 -0800
Message-ID: <CACH2EkX9zxDi7Aa6mPHNT1o=p5q+FksvSeQkuteNzcHZEjm5xw@mail.gmail.com>
To: shyam.ioml@gmail.com
Cc: shsethur@cisco.com, swaagraw@cisco.com, spring@ietf.org, "Ketan Talaulikar (ketant)" <ketant@cisco.com>, draft-ietf-idr-segment-routing-te-policy@ietf.org, draft-ietf-spring-segment-routing-policy@ietf.org
Content-Type: multipart/alternative; boundary="0000000000000dfe02057b3070fc"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/Pey46i4Kb50zYJFjqZl_uEcLlmU>
Subject: Re: [spring] draft-previdi-idr-segment-routing-te-policy - BSID flag inconsistency
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Nov 2018 17:54:17 -0000
Howdy, Thank you for sorting this out. pk On Wed, Nov 21, 2018 at 9:44 AM Shyam Sethuram <shyam.ioml@gmail.com> wrote: > As per the mail below, a new version has been posted: > https://tools.ietf.org/html/draft-ietf-idr-segment-routing-te-policy-05 > > On Mon, Nov 12, 2018 at 1:24 PM Przemyslaw Krol <pkrol= > 40google.com@dmarc.ietf.org> wrote: > >> Thanks for clarification. >> >> pk >> >> On Mon, Nov 12, 2018 at 1:20 PM Shyam Sethuram (shsethur) < >> shsethur@cisco.com> wrote: >> >>> Hi PK, >>> >>> Sorry for the delay. We'll soon publish an update to fix the BSID Flags >>> order >>> >>> and clarify the Segment V-Flag. Thanks for pointing. >>> >>> >>> >>> The BSID Flags would be as follows: >>> >>> Bit 0 : S-Flag >>> >>> Bit 1 : I-Flag >>> >>> >>> >>> >>> >>> thanks≪shyam >>> >>> >>> >>> *From:* Przemyslaw Krol <pkrol@google.com> >>> *Sent:* Monday, November 12, 2018 1:04 PM >>> *To:* Ketan Talaulikar (ketant) <ketant@cisco.com> >>> *Cc:* spring@ietf...org <spring@ietf.org>; >>> draft-ietf-idr-segment-routing-te-policy@ietf.org; Shyam Sethuram >>> (shsethur) <shsethur@cisco.com>; Swadesh Agrawal (swaagraw) < >>> swaagraw@cisco.com>; draft-ietf-spring-segment-routing-policy@ietf.org >>> *Subject:* Re: [spring] draft-previdi-idr-segment-routing-te-policy - >>> BSID flag inconsistency >>> >>> >>> >>> Hi Ketan, >>> >>> >>> >>> Did you manage to confirm bit ordering for the flag? >>> >>> >>> >>> thanks, >>> >>> pk >>> >>> >>> >>> On Thu, Oct 25, 2018 at 7:50 AM Przemyslaw Krol <pkrol@google.com> >>> wrote: >>> >>> Hi Ketan, >>> >>> >>> >>> Thanks for the reply. >>> >>> >>> >>> >>> >>> *[KT] Thanks for catching that it looks like perhaps the IANA section >>> needs to be updated to reflect the ordering in the main section text.* >>> >>> [PK] Great, thanks for that. Is it safe to assume the ordering in 2.4.2 >>> (instead of 8.5) to be final then? >>> >>> >>> >>> *Normally, only the path resolution is needed to be performed and that >>> too for the first SID. The “V” flag may be used to indicate to the headend >>> to perform the verification. When the SID is of type 1 or 2 then it is only >>> about checking the path resolution (reachability) for it. When the SID is >>> of type 3-through-11 then it would be about first resolving to get the SID >>> value and then doing its path resolution. Perhaps this text in the SR >>> Policy Architecture draft could clarify this further (if needed) and we use >>> “SID verification” term in the BGP draft for alignment of terminologies.* >>> >>> >>> >>> [PK] I reckon even pointing to draft-ietf-idr-segment-routing-te-policy >>> in the context of SID verification would make the meaning of V-flag much >>> more obvious. Anyhow, this is just a suggestion as it's been signaled to me >>> that it's not easy to make that association. >>> >>> >>> >>> thanks, >>> >>> >>> >>> On Wed, Oct 24, 2018 at 8:26 PM Ketan Talaulikar (ketant) < >>> ketant@cisco.com> wrote: >>> >>> Hi PK, >>> >>> >>> >>> Thanks for your review and including the BGP draft authors to keep them >>> posted. >>> >>> >>> >>> Please check inline below. >>> >>> >>> >>> *From:* spring <spring-bounces@ietf.org> *On Behalf Of *Przemyslaw Krol >>> *Sent:* 24 October 2018 23:35 >>> *To:* spring@ietf...org <spring@ietf.org> >>> *Subject:* [spring] draft-previdi-idr-segment-routing-te-policy - BSID >>> flag inconsistency >>> >>> >>> >>> Authors, >>> >>> >>> >>> There seems to be a discrepancy in BSID flag ordering: >>> >>> >>> https://tools.ietf.org/html/draft-ietf-idr-segment-routing-te-policy-04#section-2.4.2 >>> >>> >>> >>> 0 1 2 3 4 5 6 7 >>> >>> +-+-+-+-+-+-+-+-+ >>> >>> |S|I| | >>> >>> +-+-+-+-+-+-+-+-+ >>> >>> >>> >>> >>> https://tools...ietf.org/html/draft-ietf-idr-segment-routing-te-policy-04#section-8.5 >>> >>> <https://tools.ietf.org/html/draft-ietf-idr-segment-routing-te-policy-04#section-8.5> >>> >>> >>> Bit Description Reference >>> >>> >>> --------------------------------------------------------------------------------- >>> >>> 0 Drop Upon Invalid Flag (I-Flag) This document >>> >>> 1 Specified-BSID-Only Flag (S-Flag) This document >>> >>> >>> >>> Would it be possible to clarify this please? >>> >>> *[KT] Thanks for catching that it looks like perhaps the IANA section >>> needs to be updated to reflect the ordering in the main section text.* >>> >>> >>> >>> Also, draft mentions "V-flag: Segment Verification Flag": >>> >>> >>> >>> V-Flag: This flag encodes the "Segment Verification" behavior. It >>> >>> is used by SRPM as described in section 5 in >>> >>> [I-D.ietf-spring-segment-routing-policy]. >>> >>> >>> >>> Yet its meaning doesn't look to be clearly described in either drafts. >>> >>> *[KT] I believe this is referring to the following text in Sec 5.1 of >>> the draft-ietf-spring-segment-routing-policy.* >>> >>> >>> >>> o It is empty. >>> >>> o Its weight is 0. >>> >>> o The headend is unable to perform path resolution for the first SID >>> >>> into one or more outgoing interface(s) and next-hop(s). >>> >>> * o The headend is unable to perform SID resolution for any non-first* >>> >>> * SID of type 3-through-11 into an MPLS label or an SRv6 SID.* >>> >>> * o The headend verification fails for any SID for which verification* >>> >>> * has been explicitly requested.* >>> >>> >>> >>> "Unable to perform path resolution" means that the headend has no >>> >>> path to the SID in its SR database. >>> >>> >>> >>> *SID verification is performed when the headend is explicitly* >>> >>> * requested to verify SID(s) by the controller via the signaling* >>> >>> * protocol used*... >>> >>> >>> >>> *Normally, only the path resolution is needed to be performed and that >>> too for the first SID. The “V” flag may be used to indicate to the headend >>> to perform the verification. When the SID is of type 1 or 2 then it is only >>> about checking the path resolution (reachability) for it. When the SID is >>> of type 3-through-11 then it would be about first resolving to get the SID >>> value and then doing its path resolution. Perhaps this text in the SR >>> Policy Architecture draft could clarify this further (if needed) and we use >>> “SID verification” term in the BGP draft for alignment of terminologies.* >>> >>> >>> >>> *Thanks,* >>> >>> *Ketan* >>> >>> >>> >>> thanks, >>> >>> pk >>> >>> >>> >>> >>> >>> -- >>> >>> Przemyslaw "PK" Krol | >>> >>> Strategic Network Engineer >>> >>> ing | pkrol@google.com >>> >>> >>> >>> >>> >>> >>> -- >>> >>> Przemyslaw "PK" Krol | >>> >>> Strategic Network Engineer >>> >>> ing | pkrol@google.com >>> >>> >>> >>> >>> -- >>> >>> Przemyslaw "PK" Krol | >>> >>> Strategic Network Engineer >>> >>> ing | pkrol@google.com >>> >>> >>> >> >> >> -- >> Przemyslaw "PK" Krol | Strategic Network Engineer ing | pkrol@google.com >> >> _______________________________________________ >> spring mailing list >> spring@ietf.org >> https://www.ietf.org/mailman/listinfo/spring >> > -- Przemyslaw "PK" Krol | Strategic Network Engineer ing | pkrol@google.com
- [spring] draft-previdi-idr-segment-routing-te-pol… Przemyslaw Krol
- Re: [spring] draft-previdi-idr-segment-routing-te… Ketan Talaulikar (ketant)
- Re: [spring] draft-previdi-idr-segment-routing-te… Przemyslaw Krol
- Re: [spring] draft-previdi-idr-segment-routing-te… Przemyslaw Krol
- Re: [spring] draft-previdi-idr-segment-routing-te… Shyam Sethuram (shsethur)
- Re: [spring] draft-previdi-idr-segment-routing-te… Przemyslaw Krol
- Re: [spring] draft-previdi-idr-segment-routing-te… Shyam Sethuram
- Re: [spring] draft-previdi-idr-segment-routing-te… Przemyslaw Krol