Re: [Idr] [draft-ietf-idr-segment-routing-te-policy] Error handling for Explicit NULL Label Policy Sub-TLV
Przemyslaw Krol <pkrol@google.com> Sat, 18 May 2019 01:59 UTC
Return-Path: <pkrol@google.com>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BCF201200E5 for <idr@ietfa.amsl.com>; Fri, 17 May 2019 18:59:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.509
X-Spam-Level:
X-Spam-Status: No, score=-17.509 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=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 Lsf7xjqUUI-m for <idr@ietfa.amsl.com>; Fri, 17 May 2019 18:59:46 -0700 (PDT)
Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) (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 3FD0C1200C4 for <idr@ietf.org>; Fri, 17 May 2019 18:59:46 -0700 (PDT)
Received: by mail-yb1-xb2b.google.com with SMTP id a21so3359413ybg.9 for <idr@ietf.org>; Fri, 17 May 2019 18:59:46 -0700 (PDT)
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=hYlBiFpICk5VDog2SjOvhWZS3rW1PvntaXadHAo5l/s=; b=bf0rCM6HR0vJFS64/ShSlKvIlqPkguVMetWiiHrFz46ahnLA/cgXjAvOXM1tTYMkUh OdPKW6pcjDglXrf3hazLeH0Tyg86MGbXImiaUnwsblNyI0Y7v9VUHdYA++H0pxrKSDBL j9lmyNfMcaHBf90tSbiYs800tWD72U0iwucpsIp/Mwz0mXKNVlceIVWI12axpUZZcZ2e PGB/BaIPWAoR6hGW19Z4+0xczpmAUU/xcqdEt5ZxBWy9AAHPSmK9hJWsGDK07UT21l0x UzbEC7nlcOIUKqJy9WstcRugX1ljZjr6neGiew6YMcZnZ/xETGsvtiEFf8kBhKESS8Fn uUuA==
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=hYlBiFpICk5VDog2SjOvhWZS3rW1PvntaXadHAo5l/s=; b=G+NLuP86N2HuX8FISB7+U7V8SZrgXJbIwbUy/LnDITQGklmeaomDw0xLNenS/1X97Y 4x2TwqumtUrUkM1FWy3CQjkf3Tugs6K90J79hMrr8da/4WzsqHmP/Ea+N8HZuvbS4V+s vJ7LKSAAYzeHzqsy/5Aysm/HeGb8FUSmNoVjaxPyo49/Gt3MHsc2JYG6gpKQmzfYq+kC LgSZp5DVzb3oTW564txSn4e8AVhboR4G5j1Ak98QXlBy+pIJLBURdUvkZTjl1o8KbuiT U26PYEn+svB6DjnpVPs1QLD/ScTeX0BKzCxY4goWXt1OgLVwjvzg9XVlk8Vju+/3SJAz nlFw==
X-Gm-Message-State: APjAAAUd66q71aKM1gqyilyVfrbqsv2k02FKM7JCo9hrjYQJZ5qjywhP zkuUdRvuyAW09lUHTDYN6zC0LkSWFDyAHCWxkXTz6g==
X-Google-Smtp-Source: APXvYqxC/OxkrV4vPjg79bJ4ZNOwYhgsLp0KtHel3+xdQTw62xbCvohEyzp6VzTqxlv7XFaqGZ6XeeAySnJWGjDcQco=
X-Received: by 2002:a25:c016:: with SMTP id c22mr6849323ybf.298.1558144784924; Fri, 17 May 2019 18:59:44 -0700 (PDT)
MIME-Version: 1.0
References: <CAE+itjfH=EHN=Fm-in0v0r5r1wHKOz+Kd0mGBJfm6cLjVKNTNg@mail.gmail.com> <CACH2EkVGD3ZX3ZdX9dS9tPoPrDtqTvHnQD4VezrOED3fmVj4jA@mail.gmail.com> <CA+W7bqevhivu0KBbjwcRirxpL2HyZ0Hc7hfapOzisQvqf0jK6w@mail.gmail.com>
In-Reply-To: <CA+W7bqevhivu0KBbjwcRirxpL2HyZ0Hc7hfapOzisQvqf0jK6w@mail.gmail.com>
From: Przemyslaw Krol <pkrol@google.com>
Date: Fri, 17 May 2019 18:59:29 -0700
Message-ID: <CACH2EkXwAbx-1ZZFbxBr=TN2j07WpAG2Krsq8ojhrKANdOZ-dQ@mail.gmail.com>
To: Manoharan Sundaramoorthy <manoharan@arista.com>
Cc: Nandan Saha <nandan@arista.com>, draft-ietf-idr-segment-routing-te-policy@ietf.org, "Ketan Talaulikar (ketant)" <ketant@cisco.com>, Paul Mattes <pamattes@microsoft.com>, idr@ietf.org
Content-Type: multipart/alternative; boundary="0000000000006aa04605891fda06"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/e-eTxIL3TqO4jTC3b-fO2OLmQM0>
Subject: Re: [Idr] [draft-ietf-idr-segment-routing-te-policy] Error handling for Explicit NULL Label Policy Sub-TLV
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 18 May 2019 01:59:49 -0000
Hi Mano, Oh, I see. Thanks for clarification and apologies for my irrelevant comment then. FWIW, I support your proposal to consider these values as reserved and fallback to local poli..., erm, behavior defined by config :-) pk On Fri, May 17, 2019, 17:09 Manoharan Sundaramoorthy <manoharan@arista.com> wrote: > Hi Pk, > > In 2(b) we meant, "For values 0 and 5-255, treat as if the Sub-TLV was not > received and take default ENLP action that is configured locally" (or) "if > these values are to be treated as illegal, then do TAW". > > Thanks, > Mano > > On Fri, May 17, 2019 at 11:20 PM Przemyslaw Krol <pkrol@google.com> wrote: > >> Hi Nandan, >> >> I personally agree with your proposal for handling multiple ENLP sub-TLV >> (1). It's clear and consistent with other similar cases >> >> In terms of ENLP = 0 || >=5 (2), my concern regarding 2b (fallback to >> static) is that there may be multiple instances of BGP policy (different >> advertisers) with the same or lower preference and valid ENLP values. >> Failing back to static would basically skip those BGP policies and "bypass" >> policy selection. I suspect it's undesirable. For this reason, treating it >> as reserved (2a) sounds to me like a better option. Unless you really meant >> ignoring offending policy and moving to the next one (which can be static >> or BGP, depending on the selection algo), but regardless, 2a) seems safer >> and less disruptive in the future (if/when we need ENLP >=5 ). >> >> >> thanks, >> pk >> >> On Thu, May 16, 2019 at 12:42 AM Nandan Saha <nandan@arista.com> wrote: >> >>> Hi folks, >>> There error handling for the ENLP sub-TLV isn't defined in >>> draft-ietf-idr-segment-routing-te-policy-05 [1]. >>> >>> There are 2 things that need to be clarified:- >>> >>> 1. The behavior when ENLP sub-TLV occurs more than once: >>> For this, my preference is to add text like we have for policy >>> priority sub-TLV [2] (and some other sub-TLVs), mandating only one >>> occurrence and treat-as-withdraw when present more than once. >>> >>> 2. Behavior when ENLP value is either 0 or >= 5. >>> The only meaningful/legal values defined now are 1-4. My preference is >>> to >>> 2a: mark other values as reserved for future use. (We could mark them >>> illegal but that'll rule out trying to extended them if ever needed) >>> and >>> 2.b: Upon receipt ENLP = 0 || >=5 the headend call fall back to local >>> policy. (If we go down the route of marking 0 || >= 5 as illegal, we >>> can do TAW) >>> >>> Please let me know what you think, and if this seems reasonable. >>> >>> [1] - >>> https://tools.ietf.org/html/draft-ietf-idr-segment-routing-te-policy-05#section-2.4.4 >>> [2] - >>> https://tools.ietf.org/html/draft-ietf-idr-segment-routing-te-policy-05#section-2.4.5 >>> >>> Thanks, >>> Nandan >>> >> >> >> -- >> Przemyslaw "PK" Krol | Strategic Network Engineer ing | pkrol@google.com >> >> > > > -- > Thanks, > Manoharan >
- [Idr] [draft-ietf-idr-segment-routing-te-policy] … Nandan Saha
- Re: [Idr] [draft-ietf-idr-segment-routing-te-poli… Przemyslaw Krol
- Re: [Idr] [draft-ietf-idr-segment-routing-te-poli… Manoharan Sundaramoorthy
- Re: [Idr] [draft-ietf-idr-segment-routing-te-poli… Przemyslaw Krol
- Re: [Idr] [draft-ietf-idr-segment-routing-te-poli… Ketan Talaulikar (ketant)
- Re: [Idr] [draft-ietf-idr-segment-routing-te-poli… Kausik Majumdar (kmajumda)