Re: [Idr] draft-litkowski-idr-flowspec-interfaceset => NLRI vs EXTCT (part 2)

Robert Raszuk <robert@raszuk.net> Wed, 26 July 2017 23:37 UTC

Return-Path: <rraszuk@gmail.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 047D1131EE6 for <idr@ietfa.amsl.com>; Wed, 26 Jul 2017 16:37:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.399
X-Spam-Level:
X-Spam-Status: No, score=-2.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 kKGYfohBUnKd for <idr@ietfa.amsl.com>; Wed, 26 Jul 2017 16:37:50 -0700 (PDT)
Received: from mail-io0-x22c.google.com (mail-io0-x22c.google.com [IPv6:2607:f8b0:4001:c06::22c]) (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 8C4CA131EDC for <idr@ietf.org>; Wed, 26 Jul 2017 16:37:50 -0700 (PDT)
Received: by mail-io0-x22c.google.com with SMTP id c74so73491533iod.4 for <idr@ietf.org>; Wed, 26 Jul 2017 16:37:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=Oqdl2yzp8nwy1aTt1k8xMF4vqFWZMyrOh+N2wUQDcNc=; b=bIQWhNeGgcOVvzv2zbg0xWqbuZfQVY9lprhAQc1ON/OiHfLr7J45vj7J0RcgH5YpG/ Dq1JQqvbZXo4tE4d/evKoBgzZJ0ULercNgmgN4ljOQClHla2BWjCm6cOys3yuSDxqtfv 2ktceoyifl+z5TaeFALOyVshS86IuCdqpDE8H2RHnjgrwV7lJn+D/gdZizsX0G4QuKk5 mNFCUN4YV/W3Z4LfPEmqcohTla/ee/LdrK25tqR4kUBmaWe3aoHLxMaIRzdNlxeKt8a3 ZF92PDttECfKTAIVV6LuuuWpMDo+hXAMkMrt6TcKnP9PCoU0175DQLPtb9DVTEPJSg/l TKUg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=Oqdl2yzp8nwy1aTt1k8xMF4vqFWZMyrOh+N2wUQDcNc=; b=T8tbgUlbfQtlFD6LykcFzMJjm22Hm5a967Tk8jODQeQTbePK5dUWxoPNB7UuLPgvnx 5GtrTKIb1/FB7LwZVbFU2/IFSOfqqmni+VJlMOIb0sZNYx8sjLoClYm7WDpEodQqQkWK UqM1sUOXHumaTeUIPGMx22MWAF3PDjYtZkUEWrbeEsbH+GiexM9Mc2HojyhgAE+y4rfS APJrINvmHpYV2zwX5TftZoymq69EbykeNU1svT3kYnWaefY+knMn9SpPHjJjdJngiNpJ m9nlqTiug2mK7wEfeHwWjKaSpLWPT+R+Fl6azDIUd20H2wvG2gtRRZgNx9gaSeVYmfis qyeA==
X-Gm-Message-State: AIVw113kFxE2ah5kdQ7Ykw4Ct52DNYIOMHSMRS1a0uVW1T1QaaYJhlJ+ 8SXjo2KHBhutPsKEFavEanmIMClrog==
X-Received: by 10.107.175.136 with SMTP id p8mr3113104ioo.219.1501112269746; Wed, 26 Jul 2017 16:37:49 -0700 (PDT)
MIME-Version: 1.0
Sender: rraszuk@gmail.com
Received: by 10.79.153.21 with HTTP; Wed, 26 Jul 2017 16:37:48 -0700 (PDT)
In-Reply-To: <9fa67eb0-8f99-a46f-aff1-d42a279ab833@cisco.com>
References: <9fa67eb0-8f99-a46f-aff1-d42a279ab833@cisco.com>
From: Robert Raszuk <robert@raszuk.net>
Date: Thu, 27 Jul 2017 01:37:48 +0200
X-Google-Sender-Auth: 9h_AZXpqTBktid38LG7QJDXb-fA
Message-ID: <CA+b+ERmaARaPLQv-g58WGNJCDcKN3gdf-F9wnCwusw+jwX7paw@mail.gmail.com>
To: "Juan Alcaide (jalcaide)" <jalcaide@cisco.com>
Cc: idr wg <idr@ietf.org>
Content-Type: multipart/alternative; boundary="001a11447f729b3744055540ef9c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/EpwEIP68ZbMoMaU01dKFOieStq4>
Subject: Re: [Idr] draft-litkowski-idr-flowspec-interfaceset => NLRI vs EXTCT (part 2)
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: Wed, 26 Jul 2017 23:37:53 -0000

Hi Juan,

>  (we assume controller(s) may not want to send multiple ext-communities
with same NLRI).

If I recall group-ids are carried in new RT format:

"This new BGP Route Target extended community is encoded as follows :

       0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |  Type (TBD)   |      0x02     |    Autonomous System Number   :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      :     AS Number (cont.)         |O|I|      Group Identifier     |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
"

So just like an UPDATE message of SAFI 128 may contain many RTs why would
you see any
issue to carry multiple ext communities of the above format here ?

Best,
R.

On Thu, Jul 27, 2017 at 1:01 AM, Juan Alcaide (jalcaide) <jalcaide@cisco.com
> wrote:

> Hi,
>
> From a previous thread, I see from the that using EXTCOMM to carry
> group-id information the choice. Reason was that every AS could use their
> own the group-id (perhaps different than another AS). With this choice,
> ADD-PATHS must be mandatory in order to support multiple group-ids for the
> same flowspec rule  (we assume controller(s) may not want to send multiple
> ext-communities with same NLRI).
>
> But the draft really does not describe how to use ADD-PATHS, and it does
> not discuss its problems:
>
> - Usually, ADD-PATHS is used for path diversity, and implementations
> typically don't advertise 2 paths with the same next-hop (otherwise, we
> could have path explosion across multiple levels of RRs)
>
> - If ADD-PATHS has to advertise the same NLRI with different
> ext-communities, one solution would be for ADD-PAHTS not advertise the same
> set of ext-communities. Unless, I guess, next-hops are different.
> Otherwise, we would have path explosion.
>
> - Assuming the above, we should define a particular set of ADD-PATHS rules
> for flowspec AF. And, of course, leave the door open for future specific
> ADD-PATHs rules for other AFs (it would not be about path diversity
> anymore, but about propagating different information for forwarding
> purposes -imagine what we could have done with an IPv4 prefix: send the
> same net part as a NLRI and multiple ext-communities representing different
> prefix-lengths -).
>
> - Since paths in a net are typically implemented as a list, there could be
> scalability problems if we ever want to support many group-ids.
>
> My solution to simplify all these problems would be to add a discriminator
> on the NLRI (by defining a new dummy type for flowspec). We could still use
> ext-communities to actually match the NLRIs to interfaces. Similar to RD
> and RT usage.
>
> Thoughts?
>
> -J
>
> _______________________________________________
> Idr mailing list
> Idr@ietf.org
> https://www.ietf.org/mailman/listinfo/idr
>
>