Re: [Idr] I-D Action: draft-zzhang-idr-bitmask-route-target-00.txt

Robert Raszuk <robert@raszuk.net> Mon, 13 July 2020 13:37 UTC

Return-Path: <robert@raszuk.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 B3F3D3A11E7 for <idr@ietfa.amsl.com>; Mon, 13 Jul 2020 06:37:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=raszuk.net
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 HQvHqks5JKLV for <idr@ietfa.amsl.com>; Mon, 13 Jul 2020 06:37:04 -0700 (PDT)
Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) (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 B14F03A082E for <idr@ietf.org>; Mon, 13 Jul 2020 06:37:04 -0700 (PDT)
Received: by mail-ej1-x62e.google.com with SMTP id y10so17235114eje.1 for <idr@ietf.org>; Mon, 13 Jul 2020 06:37:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raszuk.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=D/7vweLPMRYIlWTVabKYGD3Yv4aJYafFSj3JGOaF6W4=; b=NIUf5TKLaxWnjWlQToeWcQf3MDrrvYBaIxgZsAvyvlLRGlcOkXrBv4TMKIr8f7zQlX QKegkiG5xKON2PEGN7RQRzfVKKPsedCKfmLW+zvaKJPGRO9Q+9gtOumpgFuyj1XtJQcu WuqIFkCclEstQ2CJ+nCKrCnNrDGREoVvZR6lHR9yOARyRDSVZUX/AD/HLdjN2oTpjV6U bXOSH+bqLS12PpVe0OG1hw5LtckHk8H5SeFB/YZZki/LPtWUEk6POa78TpimVtTQd9fV RS7itlsCMVdkWZmixXj4IzS0E4Je1K13vbHxABf6z5qkF2giUwIYhB7ysjDsc8y/Ovl+ 2oGQ==
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=D/7vweLPMRYIlWTVabKYGD3Yv4aJYafFSj3JGOaF6W4=; b=NgkvdRXKMYrr4hub1dyLphyiIWX6+/c6fUPh4LK3UqrSYDjLyBDMz88WlnDrurhHWg xzIbknxC7wJoHigixt5OS7NFO21OqG/3aiKu6SyDvf/Ca8tQEuUhcw31BsRyivtSnh6F I9+PL0gKmam3sJM1MWnSZWDq+s4/fEa5Awkuxewh/hv3FnSapLsNPSPMSzeJBAwyHDFn VGqQ4B0v+dwCRNy2nRMsA8jSGiiULwrgNHlPb4P2G3fPu1J8SNRTdk/qdBhufdgrHh4o ZSelDN6hlgw9S5gkW4UB4y8mFJW3K5FNSwe7oRO50HigN+Q3b6LK7m4DiiMNOKlMa+Zv 9E+w==
X-Gm-Message-State: AOAM531OeFuF3Wnt3SzCqdGpCVO4Ysyf0ZuPqljJWlxRwwFzcpCv0OgO zwx0s/ZF4Dv5ErlaWF1/zRgwb7H/L1P/+QP6pVOcnQ==
X-Google-Smtp-Source: ABdhPJxQl2S9AW19ZbANACeGvV+mvwhQkTspMPWeEZeIg98A9/FAkPiiAIfrtDWT+hohBYXB87cdxGVIpGtAWBL4xXk=
X-Received: by 2002:a17:906:4f09:: with SMTP id t9mr72627724eju.110.1594647422985; Mon, 13 Jul 2020 06:37:02 -0700 (PDT)
MIME-Version: 1.0
References: <159460205736.22294.14201622770849775018@ietfa.amsl.com> <CAOj+MMH4+UUQgs9-NbXhOMypXpX5hQOdx5ogZV8-REzrgCjeQw@mail.gmail.com> <FCADD6DE-D2A4-44C4-A7EA-9848F3302072@juniper.net>
In-Reply-To: <FCADD6DE-D2A4-44C4-A7EA-9848F3302072@juniper.net>
From: Robert Raszuk <robert@raszuk.net>
Date: Mon, 13 Jul 2020 15:36:56 +0200
Message-ID: <CAOj+MMFMD5btFKiSMEbF1EeTpGrzf5yyoLGagMr697wUARtW7A@mail.gmail.com>
To: "Jeffrey (Zhaohui) Zhang" <zzhang@juniper.net>
Cc: Srihari Sangli <ssangli@juniper.net>, Jeff Haas <jhaas@juniper.net>, "idr@ietf. org" <idr@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000307ade05aa52c9fa"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/lY3j4Ehrajzxi8dZuBNmk8MINL8>
Subject: Re: [Idr] I-D Action: draft-zzhang-idr-bitmask-route-target-00.txt
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: Mon, 13 Jul 2020 13:37:07 -0000

HI,

While you can go and touch 1000s of PEs to add another import
statement there are cases when it would be convenient to advertise RT as
prefix.

Example ... I would like to add a new mgmt route to all VRFs with say
NO-EXPORT. I know that I can import ASN:XXXXXX So if I advertise RT ASN/32
it should get imported by any existing import RT statement which already is
importing ASN:*

Today correct me but I am not sure there is any way to attach and propagate
an RT as a prefix.

Not only basic 4364 but also RTC itself could benefit from it :).

Thx,
R.

On Mon, Jul 13, 2020 at 12:16 PM Jeffrey (Zhaohui) Zhang <zzhang@juniper.net>
wrote:

> If I understand it correctly, that concept is already used in RTC for the
> control of route propagation. Are you referring to using it for importation
> as well?
>
> That seems to be just a matter of locally configuring a RTC membership for
> the purpose of route importation?
>
> Jeffrey
>
> Sent from my iPhone
>
> On Jul 13, 2020, at 2:50 AM, Robert Raszuk <robert@raszuk.net> wrote:
>
> 
>
> [External Email. Be cautious of content]
>
> Hi,
>
> While bitmask has its own use don't you think that while making RT
> structure more flexible we should also define the notion of RT prefix ?
>
> That way filtering across groups or areas or ASNs could be very easy and
> intuitive.
>
> Thx,
> R.
>
> ---------- Forwarded message ---------
> From: <internet-drafts@ietf.org>
> Date: Mon, Jul 13, 2020 at 3:02 AM
> Subject: I-D Action: draft-zzhang-idr-bitmask-route-target-00.txt
> To: <i-d-announce@ietf.org>
>
>
>
> A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
>
>
>         Title           : Bitmask Route Target
>         Authors         : Zhaohui Zhang
>                           Srihari Sangli
>                           Jeffrey Haas
>         Filename        : draft-zzhang-idr-bitmask-route-target-00.txt
>         Pages           : 5
>         Date            : 2020-07-12
>
> Abstract:
>    This document specifies a new type of Route Target called Bitmask
>    Route Target as a BGP Community Container.  The key element of a
>    Bitmask Route Target is a Bitmask.  Two Bitmask Route Targets are
>    considered equivalent for the purpose of controlling route
>    propagation (via Route Target Constraints) and importation if the
>    result of logical "AND" operation of the Bitmask of the two is non-
>    zero.
>
>
>
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-zzhang-idr-bitmask-route-target/
> <https://urldefense.com/v3/__https://datatracker.ietf.org/doc/draft-zzhang-idr-bitmask-route-target/__;!!NEt6yMaO-gk!QBATyOcl6BcLqTZHucumuEBzuvnVxWuj3QOsgfrcwHhQFGGotvmk6JV-tAu1ci_T$>
>
> There are also htmlized versions available at:
> https://tools.ietf.org/html/draft-zzhang-idr-bitmask-route-target-00
> <https://urldefense.com/v3/__https://tools.ietf.org/html/draft-zzhang-idr-bitmask-route-target-00__;!!NEt6yMaO-gk!QBATyOcl6BcLqTZHucumuEBzuvnVxWuj3QOsgfrcwHhQFGGotvmk6JV-tC_K5Kga$>
>
> https://datatracker.ietf.org/doc/html/draft-zzhang-idr-bitmask-route-target-00
> <https://urldefense.com/v3/__https://datatracker.ietf.org/doc/html/draft-zzhang-idr-bitmask-route-target-00__;!!NEt6yMaO-gk!QBATyOcl6BcLqTZHucumuEBzuvnVxWuj3QOsgfrcwHhQFGGotvmk6JV-tGCfXsOz$>
>
>
> 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
> <https://urldefense.com/v3/__http://tools.ietf.org__;!!NEt6yMaO-gk!QBATyOcl6BcLqTZHucumuEBzuvnVxWuj3QOsgfrcwHhQFGGotvmk6JV-tHAMEfVM$>
> .
>
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
> <https://urldefense.com/v3/__ftp://ftp.ietf.org/internet-drafts/__;!!NEt6yMaO-gk!QBATyOcl6BcLqTZHucumuEBzuvnVxWuj3QOsgfrcwHhQFGGotvmk6JV-tP-azqXc$>
>
>
> _______________________________________________
> I-D-Announce mailing list
> I-D-Announce@ietf.org
> https://www.ietf.org/mailman/listinfo/i-d-announce
> <https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/i-d-announce__;!!NEt6yMaO-gk!QBATyOcl6BcLqTZHucumuEBzuvnVxWuj3QOsgfrcwHhQFGGotvmk6JV-tLdaza6z$>
> Internet-Draft directories: http://www.ietf.org/shadow.html
> <https://urldefense.com/v3/__http://www.ietf.org/shadow.html__;!!NEt6yMaO-gk!QBATyOcl6BcLqTZHucumuEBzuvnVxWuj3QOsgfrcwHhQFGGotvmk6JV-tNIbC7W5$>
> or ftp://ftp.ietf.org/ietf/1shadow-sites.txt
> <https://urldefense.com/v3/__ftp://ftp.ietf.org/ietf/1shadow-sites.txt__;!!NEt6yMaO-gk!QBATyOcl6BcLqTZHucumuEBzuvnVxWuj3QOsgfrcwHhQFGGotvmk6JV-tKpPpARY$>
>
>