Re: [Gen-art] Genart early review of draft-ietf-opsawg-ipfix-bgp-community-04

"Joel M. Halpern" <jmh@joelhalpern.com> Sun, 11 February 2018 16:37 UTC

Return-Path: <jmh@joelhalpern.com>
X-Original-To: gen-art@ietfa.amsl.com
Delivered-To: gen-art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1442A1201F2; Sun, 11 Feb 2018 08:37:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.721
X-Spam-Level:
X-Spam-Status: No, score=-2.721 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_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 VKD2rhmPmIYu; Sun, 11 Feb 2018 08:37:39 -0800 (PST)
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 C90F3124205; Sun, 11 Feb 2018 08:37:39 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mailb2.tigertech.net (Postfix) with ESMTP id A4AF6482B67; Sun, 11 Feb 2018 08:37:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelhalpern.com; s=2.tigertech; t=1518367059; bh=/L1bOQXfVitsviIvSKxyjMWfM8u6Q0PxxvKd+OwJgRg=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=AZ2to+T2vrTxA2gzoV4XZ389Y6O8B93q6aejpCvXoDsoA5vYHetBuJ7v/s9Jdqavr JUMR3hT4D9E/Oe3nqzLQFqWodr8Xp5q1+94dQtPxOmZ5+Hiw570OVrsD0DwZiokp+e 2twXCEmC0OekAy9BEH8lTdrR0l5/L2HY1gGBphoY=
X-Virus-Scanned: Debian amavisd-new at b2.tigertech.net
Received: from Joels-MacBook-Pro.local (unknown [50.225.209.67]) (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 91DAA1C01E4; Sun, 11 Feb 2018 08:37:38 -0800 (PST)
To: "Dongjie (Jimmy)" <jie.dong@huawei.com>, "gen-art@ietf.org" <gen-art@ietf.org>
Cc: "draft-ietf-opsawg-ipfix-bgp-community.all@ietf.org" <draft-ietf-opsawg-ipfix-bgp-community.all@ietf.org>, "opsawg@ietf.org" <opsawg@ietf.org>
References: <151819723555.1208.12835539554987861622@ietfa.amsl.com> <76CD132C3ADEF848BD84D028D243C927982D3D8D@NKGEML515-MBX.china.huawei.com>
From: "Joel M. Halpern" <jmh@joelhalpern.com>
Message-ID: <05c59213-301b-ca3e-f7c1-2c4b5314fb01@joelhalpern.com>
Date: Sun, 11 Feb 2018 11:37:37 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <76CD132C3ADEF848BD84D028D243C927982D3D8D@NKGEML515-MBX.china.huawei.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/gen-art/GxugaSZVGIcy481b0I2f6pF2sxk>
Subject: Re: [Gen-art] Genart early review of draft-ietf-opsawg-ipfix-bgp-community-04
X-BeenThere: gen-art@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "GEN-ART: General Area Review Team" <gen-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/gen-art>, <mailto:gen-art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/gen-art/>
List-Post: <mailto:gen-art@ietf.org>
List-Help: <mailto:gen-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/gen-art>, <mailto:gen-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 11 Feb 2018 16:37:41 -0000

This was a requested early review.  You folks can do as you deem best.

 From where I sit, it seems odd.  Most well-known communities do not fit 
the pattern of representing groups of sources or groups of destinations.
I presume the intent here is for this to be useful in some AS other than 
the one originating the communities.  Which makes it even harder to see 
when it would apply.
I presume this is driven by having found that it would have helped in 
some real-world situation?

I think the document would be helped by a clearer description of when it 
applies and what behavior is expected of the router (not just "the same 
as that over there.")

Yours,
Joel

On 2/11/18 1:32 AM, Dongjie (Jimmy) wrote:
> Hi Joel,
> 
> Thanks for your review comments. Please see my replies inline:
> 
>> -----Original Message-----
>> From: Joel Halpern [mailto:jmh@joelhalpern.com]
>> Sent: Saturday, February 10, 2018 1:27 AM
>> To: gen-art@ietf.org
>> Cc: draft-ietf-opsawg-ipfix-bgp-community.all@ietf.org; opsawg@ietf.org
>> Subject: Genart early review of draft-ietf-opsawg-ipfix-bgp-community-04
>>
>> Reviewer: Joel Halpern
>> Review result: Not Ready
>>
>> This is an early gen-art review of draft-ietf-opsawg-ipfix-bgp-04.
>>
>> The document is clear about what it is trying to do, and readable.  It is not
>> clear about how it expects this to actually work.
>>
>> However, I find the underlying concept confusing.
>> 1) BGP Communities may sometimes represent subsets of traffic.  But usually
>> they represent tagging intended to influence routing which is only indirectly
>> related to meaningful subsets of traffic for TE purposes.  One may be able to
>> make an argument that this could better enable monitoring the effects of some
>> BGP communities.  But the draft does not make that argument.
> 
> This depends on how the BGP communities are used by the operators. Except some well-known communities, BGP communities are used in a customized manner. In some cases, BGP communities indicate the source and destination information of a group of traffic flows. These are the major case this document is focusing on, as it would be helpful for operator to collect the traffic statistics based on BGP communities. Using BGP communities to influence routing is another popular use case. In that case, it may also be helpful to collect traffic statistic information related to the BGP communities, while the purpose may not be just for TE.
> 
> 2) It is
>> unclear what this actually expects the router to do in generating this
>> information.
>> Reading between the lines, it seems that what is desired is for the router
>> control process to go through the IPFIX collected information before it is
>> exported, and add BGP community tags to the export information.
>> (Generating such information directly from the forwarding plane would place
>> significant load on the forwarding representation and processing, and on the
>> control logic to generate FIB information.)  Given that off-line BGP information
>> collection is a common practice, and that such information is common across
>> the AS, it would actually seem simpler to perform such processing and
>> aggregation offline rather than in the router.
> 
> The behavior of a router would be similar to its behavior with the existing BGP relevant IEs, e.g. bgpSourceAsNumber, bgpDestinationAsNumber, bgpNextHopIPv4Address, etc. Basically this is the aggregated traffic information collection model, in which the router aggregates the collected traffic information based on the IEs specified in the template, so that it can export much less information to the collector without losing the information the collector really cares about. Exporting aggregated traffic statistics has been widely used in the networks.
>   
> Note that the purpose of this mechanism is to export the aggregated traffic statistics information at the granularity specified by BGP communities, while BMP can used to collect the detailed information of BGP RIBs and BGP events, IMO they are designed for different purposes. Although it is possible to export all the non-aggregated traffic information to the collector, and let the collector to correlate them with the BGP communities, this can bring heavy burden to both the exporter and the collector.
> 
>>
>> If the IDR working group has not been consulted about this, I would strongly
>> recommend working with them as to whether this is actually useful information
>> to collect, and how and where to collect it. If the IDR working group does not
>> consider important to work on this, then that gives you useful information in
>> and of itself.
> 
> The IDR WG has been notified about the LC of this document, so far there is no objection received from them. We would like to encourage IDR people to review and give feedbacks to help improve this document. Whether the new IEs are useful or not should be determined in the OPSAWG.
> 
> Best regards,
> Jie
>