Re: [Idr] I-D Action: draft-previdi-idr-segment-routing-te-policy-07.txt

stefano previdi <stefano@previdi.net> Mon, 17 July 2017 12:42 UTC

Return-Path: <stefano@previdi.net>
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 1ECF2131B5B for <idr@ietfa.amsl.com>; Mon, 17 Jul 2017 05:42:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=previdi-net.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 yUwXG0a1QdQN for <idr@ietfa.amsl.com>; Mon, 17 Jul 2017 05:42:15 -0700 (PDT)
Received: from mail-wr0-x22b.google.com (mail-wr0-x22b.google.com [IPv6:2a00:1450:400c:c0c::22b]) (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 B286D131B5A for <idr@ietf.org>; Mon, 17 Jul 2017 05:42:14 -0700 (PDT)
Received: by mail-wr0-x22b.google.com with SMTP id a10so11093285wrd.0 for <idr@ietf.org>; Mon, 17 Jul 2017 05:42:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=previdi-net.20150623.gappssmtp.com; s=20150623; h=subject:mime-version:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=siy4LF0aMh0oe67Npjf4NYTtcIBwsy1KGPzMIaKZaTE=; b=msFXF+FxJfLec/t/iS5AuAn3B+eFjcRDCbJgK1D73gaWd9FMiB4xWOgkVFlpu7zP7z q6/2ZWKnoSJbxcTg1rWiD3ZxWtPOQysxxX+jCSG2KCoZkYCjV4aE+K796Oi7Cr/fjfjE KSTCzvuZp/hmky/+nDH4whe7dz52mOBRjqJoZj8B9NG3NjP2N449u7wlWB+28alHyscR sXV5AR+Gl9IRbJ5g5GhzlRA70CuP+yh5VfTNGt7yLVuR7DbkQXo2nMCVpUI9mFzsFoW4 1uKwdIH4zLsqgoah51KOTPC9dFgTrYob3dEaf2+4GKxefc/bVzuj7RJA+2FGYPF7o0vU TkZw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=siy4LF0aMh0oe67Npjf4NYTtcIBwsy1KGPzMIaKZaTE=; b=j+0NHd4LTDuwJ9JkbgipXaykdTbbjBxN+lhfksOUtouWan9CPbmzzRy/m3xoHV0hPo CDGP84c1r+rKWgGDRTphMdc3ia4D5c+M0+MHcYJ64uPnYsDlPcxzu3Ui1z2H5NtyHkwq H2nvbF5kJ2UDnhdZlzHGCK2TTdnsbQHmbQpyjywwlxoqtxD3mVCG3o+YdTmtrqiTJkRp P+CSlHYWqTIEULXAse9GC2Y29IFbxuO3MvIfcQbH2HsTrgorwPsmO4b00jwKOW6FV2ZD 8s6dLQvNdcekIcc3kMiISb8F8/bpvbBDm8R7VH5mCPzJR5fXUyZayi4FOnjKGVNCGS22 YqVg==
X-Gm-Message-State: AIVw113O8uyrSOYUpejrSuBZa/hrX0+0/1M8GeyAeC5yrnMjVsaIvEqR C45kc6QJ+phsET51WITkCw==
X-Received: by 10.223.152.208 with SMTP id w74mr5487815wrb.202.1500295333108; Mon, 17 Jul 2017 05:42:13 -0700 (PDT)
Received: from ?IPv6:2001:420:c0c0:1003::f0? ([2001:420:c0c0:1003::f0]) by smtp.gmail.com with ESMTPSA id 21sm9875658wmo.16.2017.07.17.05.42.11 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 17 Jul 2017 05:42:12 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\))
Content-Type: text/plain; charset="utf-8"
From: stefano previdi <stefano@previdi.net>
In-Reply-To: <CAE+itjf-1OPtKbADxAVft5+XufAWo3ebbXsamS+Mpt_2cTwzzg@mail.gmail.com>
Date: Mon, 17 Jul 2017 14:42:25 +0200
Cc: idr@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <CAB3683F-D029-4387-86A6-382E61A51ACD@previdi.net>
References: <149824800169.17379.9099679082498238196@ietfa.amsl.com> <CAE+itjf-1OPtKbADxAVft5+XufAWo3ebbXsamS+Mpt_2cTwzzg@mail.gmail.com>
To: Nandan Saha <nandan@arista.com>
X-Mailer: Apple Mail (2.2104)
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/258lPMjj1sZaOXPAywm85gXboS0>
Subject: Re: [Idr] I-D Action: draft-previdi-idr-segment-routing-te-policy-07.txt
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.22
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: Mon, 17 Jul 2017 12:42:17 -0000

Hi Nandan,

sorry for being late. See below.


> On Jul 3, 2017, at 2:14 PM, Nandan Saha <nandan@arista.com> wrote:
> 
> Hello!
> 
> I have some questions on the NLRI encoding.
> 1. Can the value of NLRI length be less than 96 for IPv4 AFI and less
> than 192 for IPv6 AFI? IOW, can it be less than full mask length for
> the end point address?

no.


> 2. If the answer to (1) is "yes", then what is the rationale for
> keeping the end point address field of the NLRI fixed length? (4 or 16
> bytes depending on AFI). Should the end point become variable length
> like the NLRI encoding defined in RFC4760?
> 3. If the answer to (1) is "no", how are summary addresses to be represented?


there’s no such concept of “summary address” for the endpoint encoding. The draft is going to be updated and the term “summary address” will be removed from the endpoint filed description. Sorry for the confusiuon.


> Another question which is unrelated to the changes in version 7 of the draft.
> Section "4.2.1. Acceptance of an SR Policy NLRI" says
> " If the NLRI is not one of the legal lengths, a router supporting
> this document and that imports the route MUST consider it to be
> malformed and MUST apply the "treat-as-withdraw" strategy of [RFC7606]
> "
> It's not clear to me how a receiver can extract a valid route from a
> malformed NLRI.


you just have to check the nlri length.


> The "treat-as-withdraw" can be applied if the NLRI is
> well formed but some other attributes are malformed, which seems to be
> implied by the following line at the end of the subsection
> "A unacceptable SR Policy update that has an invalid NLRI portion MUST
> trigger a reset of the BGP session.”


that is correct.

s.


> 
> Thank you!
> Best regards,
> Nandan
> 
> On Sat, Jun 24, 2017 at 1:30 AM, <internet-drafts@ietf.org> wrote:
>> 
>> 
>> A New Internet-Draft is available from the on-line Internet-Drafts directories.
>> This draft is a work item of the Inter-Domain Routing of the IETF.
>> 
>>        Title           : Advertising Segment Routing Policies in BGP
>>        Authors         : Stefano Previdi
>>                          Clarence Filsfils
>>                          Paul Mattes
>>                          Eric Rosen
>>                          Steven Lin
>>        Filename        : draft-previdi-idr-segment-routing-te-policy-07.txt
>>        Pages           : 30
>>        Date            : 2017-06-23
>> 
>> Abstract:
>>   This document defines a new BGP SAFI with a new NLRI in order to
>>   advertise a candidate path of a Segment Routing Policy (SR Policy).
>>   An SR Policy is a set of candidate paths consisting of one or more
>>   segment lists.  The headend of an SR Policy may learn multiple
>>   candidate paths for an SR Policy.  Candidate paths may be learned via
>>   a number of different mechanisms, e.g., CLI, NetConf, PCEP, or BGP.
>>   This document specifies the way in which BGP may be used to
>>   distribute candidate paths.  New sub-TLVs for the Tunnel
>>   Encapsulation Attribute are defined.
>> 
>> 
>> The IETF datatracker status page for this draft is:
>> https://datatracker.ietf.org/doc/draft-previdi-idr-segment-routing-te-policy/
>> 
>> There are also htmlized versions available at:
>> https://tools.ietf.org/html/draft-previdi-idr-segment-routing-te-policy-07
>> https://datatracker.ietf.org/doc/html/draft-previdi-idr-segment-routing-te-policy-07
>> 
>> A diff from the previous version is available at:
>> https://www.ietf.org/rfcdiff?url2=draft-previdi-idr-segment-routing-te-policy-07
>> 
>> 
>> Please note that it may take a couple of minutes from the time of submission
>> until the htmlized version and diff are available at tools.ietf.org.
>> 
>> Internet-Drafts are also available by anonymous FTP at:
>> ftp://ftp.ietf.org/internet-drafts/
>> 
>> _______________________________________________
>> Idr mailing list
>> Idr@ietf.org
>> https://www.ietf.org/mailman/listinfo/idr
> 
> _______________________________________________
> Idr mailing list
> Idr@ietf.org
> https://www.ietf.org/mailman/listinfo/idr