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

"Juan Alcaide (jalcaide)" <jalcaide@cisco.com> Wed, 26 July 2017 23:01 UTC

Return-Path: <jalcaide@cisco.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 00EE1131EA7 for <idr@ietfa.amsl.com>; Wed, 26 Jul 2017 16:01:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.522
X-Spam-Level:
X-Spam-Status: No, score=-14.522 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 mVoH3wig2c4S for <idr@ietfa.amsl.com>; Wed, 26 Jul 2017 16:01:40 -0700 (PDT)
Received: from alln-iport-5.cisco.com (alln-iport-5.cisco.com [173.37.142.92]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3C94C131EAA for <idr@ietf.org>; Wed, 26 Jul 2017 16:01:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4763; q=dns/txt; s=iport; t=1501110100; x=1502319700; h=from:subject:to:message-id:date:mime-version; bh=YXGl7/r7YlNLjPTXyAKu3GBfJR6SrKyfXAXxXmjKVi8=; b=P+h8XkggQmkzqGacOASZMSInER82u8lGOpgUKSc3oqj7Yvk0TUKknyCh CLbw8LbYchSs2sXZgUnH5Cey57a7OqeEU/vfQZ++7DAnjr3hbXz+iKRaQ oKhnwTbd4Ld/f0G8EKjhLrSfBqrkOD+ouMzoZ4zhao2yvu5Z3AW9jVui7 8=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CVAgAmHnlZ/4UNJK1dHRgHg06yQoQtgQGCEokYPxgBAgEBAQEBAQFrKIVCdT4CbAgBAReKFKEIkA6CJieLUYMog02BYSuKf4JhBZ9bAosYiQiLMYcJjQuIZR84P0t3FUmHGz6HKweCOQEBAQ
X-IronPort-AV: E=Sophos;i="5.40,417,1496102400"; d="scan'208,217";a="460113573"
Received: from alln-core-11.cisco.com ([173.36.13.133]) by alln-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 26 Jul 2017 23:01:39 +0000
Received: from [10.82.221.134] (rtp-vpn3-1408.cisco.com [10.82.221.134]) (authenticated bits=0) by alln-core-11.cisco.com (8.14.5/8.14.5) with ESMTP id v6QN1bSt003522 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for <idr@ietf.org>; Wed, 26 Jul 2017 23:01:39 GMT
From: "Juan Alcaide (jalcaide)" <jalcaide@cisco.com>
To: idr@ietf.org
Message-ID: <9fa67eb0-8f99-a46f-aff1-d42a279ab833@cisco.com>
Date: Thu, 27 Jul 2017 01:01:37 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="------------6538608D30E3FAA6789C2BFB"
Content-Language: en-US
X-Authenticated-User: jalcaide
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/lQEutYZtmCZ1h955NXUnJg0EPRM>
Subject: [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:01:42 -0000

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