Re: [Idr] WGLC on draft-ietf-idr-as-private-reservation-00

Warren Kumari <warren@kumari.net> Wed, 12 December 2012 21:14 UTC

Return-Path: <warren@kumari.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 0D6D921F8973 for <idr@ietfa.amsl.com>; Wed, 12 Dec 2012 13:14:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level:
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z8XlFNIGAU38 for <idr@ietfa.amsl.com>; Wed, 12 Dec 2012 13:14:06 -0800 (PST)
Received: from vimes.kumari.net (smtp1.kumari.net [204.194.22.1]) by ietfa.amsl.com (Postfix) with ESMTP id A1BD521F896C for <idr@ietf.org>; Wed, 12 Dec 2012 13:14:06 -0800 (PST)
Received: from [192.168.1.38] (unknown [66.84.81.123]) by vimes.kumari.net (Postfix) with ESMTPSA id 103871B405E4; Wed, 12 Dec 2012 16:14:06 -0500 (EST)
Content-Type: text/plain; charset="windows-1252"
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Warren Kumari <warren@kumari.net>
In-Reply-To: <50C8F252.4000706@foobar.org>
Date: Wed, 12 Dec 2012 16:14:05 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <6D5CB6FA-F5B6-4627-99A9-8E14251B5460@kumari.net>
References: <CA+b+ERnuWZ+r2O-eFhe3hU00uoU4UKnRcbhLNVXU7p5+DjoWbQ@mail.gmail.com> <C6C16AE3B7961044B04A1BCEC6E2F93603D12A0C@xmb-rcd-x14.cisco.com> <20121210225858.GC24937@puck.nether.net> <m2d2yh32cw.wl%randy@psg.com> <CA+b+ERnSVvewSpftXs3FhW12-S+sgnB1SwD4L+xqFW+hhbQayw@mail.gmail.com> <7120600D-71BD-4E61-8F06-25B7C2BAE6A8@riw.us> <20121211185917.GA21813@puck.nether.net> <CA+b+ERnzo2BLWjE1J_dMfYuExbG9WYJroPE4ZAWg++KK2_jy1g@mail.gmail.com> <CA+b+ERm=Agr7b6JXcXOwiP4wBjnEFmnVNt5fAJrn18R0hGtSzg@mail.gmail.com> <50C78C29.3070406@foobar.org> <50C8B8D9.4090903@umn.edu> <50C8C491.4040705@foobar.org> <CAH1iCio8Sh_ASLAa8DOcVXa5n19LgCAnSwTQV9edn2On1KPJbw@mail.gmail.com> <50C8F252.4000706@foobar.org>
To: Nick Hilliard <nick@foobar.org>
X-Mailer: Apple Mail (2.1499)
Cc: IETF IDR Working Group <idr@ietf.org>
Subject: Re: [Idr] WGLC on draft-ietf-idr-as-private-reservation-00
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Wed, 12 Dec 2012 21:14:08 -0000

On Dec 12, 2012, at 4:08 PM, Nick Hilliard <nick@foobar.org> wrote:

> On 12/12/2012 18:52, Brian Dickson wrote:
>> Okay, in as-plain, here goes:
> 
> ah, thanks - that's saved me the bother of sitting down and exercising the
> grey matter of an evening.  In fact you can optimise it by taking
> characters out from the front, which I've done below.  On some systems with
> recursive RE libs, you can do more of this and shorter the RE string.  On
> other RE libs which support specifying the atom instance count, you can
> replace sequences of dots with squiggly braces, but that won't help much
> with readability and it's not portable across all of the various vendor
> regexp libs (and it will just make it look like modem-induced line-noise).
> I've taken out the 42 and cut-n-pasted it into a cisco router, and it now
> looks like this:
> 
>> ip as-path access-list 499 permit _42(781900[8-9].|78190[1-9]..|7819[1-9]...|78[2-9].....|79......|8.......|9[0-3]......|94[0-8].....|949[0-5]....|9496[0-6]...|94967[0-1]..|949672[0-8].|9496729[0-4])_
> 
> It will be similar but not the same on other vendors.
> 
> If we aim for a decimal-aligned system, in the worst case this is reduced to:
> 
>> ip as-path access-list 499 permit _XXX......._
> 
> ... for some simple numeric value of XXX.
> 
> I know which regular expression I'd prefer to deal with.

Sure, but *you* have the ability to use (by policy)  4,280,000,000 to 4,289,999,999 within your network and then your regexp becomes:
ip as-path access-list 499 permit _428...…._

Personally I think that human readable is much more friendly, but I can see both sides of the argument…

Actually, for yet more fun in this thread, the draft could suggest reserving on the bit boundary, and then another reservation within that that folk would actually allocate from (or just recommendations that folk start counting at 4,280,000,000).

Runs away again, giggling even louder… 
W

> 
> Nick
> 
> 
> _______________________________________________
> Idr mailing list
> Idr@ietf.org
> https://www.ietf.org/mailman/listinfo/idr
> 

--
"Let's just say that if complete and utter chaos was lightning, he'd be the sort to stand on a hilltop in a thunderstorm wearing wet copper armour and shouting 'All gods are bastards'."

    -- Rincewind discussing Twoflower (Terry Pratchett, The Colour of Magic)