Re: [i2rs] Additional Next Hop Type in Section 2.4 of draft-ietf-i2rs-rib-data-model, et al...

"Joel M. Halpern" <jmh@joelhalpern.com> Sun, 02 October 2016 22:29 UTC

Return-Path: <jmh@joelhalpern.com>
X-Original-To: i2rs@ietfa.amsl.com
Delivered-To: i2rs@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 291FA12B0FF for <i2rs@ietfa.amsl.com>; Sun, 2 Oct 2016 15:29:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.722
X-Spam-Level:
X-Spam-Status: No, score=-2.722 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=joelhalpern.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 torYPVG-BoQH for <i2rs@ietfa.amsl.com>; Sun, 2 Oct 2016 15:29:22 -0700 (PDT)
Received: from mailb2.tigertech.net (mailb2.tigertech.net [208.80.4.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B71BB12B0F4 for <i2rs@ietf.org>; Sun, 2 Oct 2016 15:29:22 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mailb2.tigertech.net (Postfix) with ESMTP id 9FCDF1C0D44; Sun, 2 Oct 2016 15:29:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelhalpern.com; s=1.tigertech; t=1475447362; bh=4K8PeEXPFO7w5SmqH9LC7HFet/FPv8136vr3VvTzIJI=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=YZ8HxDoJXcs5Ym8DIGOBoSqtv7ZyZN7Z3ZJTMSdC9P83DD/+Gina404u7w8NPYSnA F5jziNf4NsfkzaDmyKlclfHiEs5j+ES1JSiw+aMHxD9/Y1A+BU71xQORY9QgPl0qQB 4JiH2P2gIQQ2rOeT5mvVYjyZS6oGmbZezyFioxDw=
X-Virus-Scanned: Debian amavisd-new at b2.tigertech.net
Received: from Joels-MacBook-Pro.local (209-255-163-147.ip.mcleodusa.net [209.255.163.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mailb2.tigertech.net (Postfix) with ESMTPSA id 4328E1C05A0; Sun, 2 Oct 2016 15:29:21 -0700 (PDT)
To: Jeff Tantsura <jefftant.ietf@gmail.com>, Russ White <7riw77@gmail.com>
References: <000b01d21c59$0e0a7880$2a1f6980$@gmail.com> <5010C073-5BB9-48A1-8491-C975F2338728@gmail.com>
From: "Joel M. Halpern" <jmh@joelhalpern.com>
Message-ID: <c538ef68-67e1-b19e-55de-369df6335d24@joelhalpern.com>
Date: Sun, 02 Oct 2016 18:29:39 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
In-Reply-To: <5010C073-5BB9-48A1-8491-C975F2338728@gmail.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2rs/wIInYFU3q3zaM_rqub5uQPxKOBI>
Cc: i2rs@ietf.org
Subject: Re: [i2rs] Additional Next Hop Type in Section 2.4 of draft-ietf-i2rs-rib-data-model, et al...
X-BeenThere: i2rs@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "Interface to The Internet Routing System \(IRS\)" <i2rs.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/i2rs>, <mailto:i2rs-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/i2rs/>
List-Post: <mailto:i2rs@ietf.org>
List-Help: <mailto:i2rs-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i2rs>, <mailto:i2rs-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 02 Oct 2016 22:29:24 -0000

To add to that, I am wondering about ading this now.  Unless I am 
confused, and we have also made a serious mistake, the model is quite 
extensible.  It is highly likely that we will add additional next hop 
types in the future.  If we do not yet know of any use for this 
particularly one, why add it now?

Yours,
Joel

On 10/2/16 6:20 PM, Jeff Tantsura wrote:
> Russ,
>
> What would be the semantics of such NH?
> Don't use for forwarding at all? Don't use for forwarding within ECMP bunde? Don't use in ECMP but use otherwise?
>
> Regards,
> Jeff
>
>> On Oct 1, 2016, at 7:59 PM, Russ White <7riw77@gmail.com> wrote:
>>
>> Y'all --
>>
>> I would like to suggest we add one more next hop type in section 2.4 of
>> draft-ietf-i2rs-rib-data-model, and sections 2.4 & 7.2 of
>> draft-ietf-i2rs-rib-info-model to include a nexthop type that tells the
>> forwarding device to not use a particular next hop without sending traffic
>> to dev/null. The specific case is this -- assume I have an ECMP group with
>> 32 or 64 entries. In this group, I want to pin one flow to a particular set
>> of links, while making certain some other set of flows do _not_ use those
>> links. The only way to accomplish this today would be to replace every route
>> with the same ECMP group to provide a different set of next hops for each
>> one. It would be cleaner to have a construction that says, "take this next
>> hop out of all ECMP groups, so it is only used when specified by this
>> client," or some such.
>>
>> Maybe something like this in section 7.2 of the rib data model might work --
>>
>> ==
>> 7.4. Remove from ECMP next hop
>>
>> If the a particular route is marked "remove from ECMP," then any routes
>> which recurse onto this next hop as part of an ECMP group will remove any
>> paths using this route as a next hop from the ECMP group. This allows the
>> I2RS controller to remove ECMP traffic from a particular next hop to attain
>> finer grained control over the use of specific links to which particular
>> elephant flows may be pinned, or which may be otherwise congested, etc.
>> ==
>>
>> I don't know of any implementation that could do this right now, but this
>> seems like a useful addition to the set of available next hops (?).
>>
>> :-)
>>
>> Russ
>>
>>
>> _______________________________________________
>> i2rs mailing list
>> i2rs@ietf.org
>> https://www.ietf.org/mailman/listinfo/i2rs
>
> _______________________________________________
> i2rs mailing list
> i2rs@ietf.org
> https://www.ietf.org/mailman/listinfo/i2rs
>