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

"Dongjie (Jimmy)" <jie.dong@huawei.com> Sun, 11 February 2018 06:32 UTC

Return-Path: <jie.dong@huawei.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 9AE2B1275FD; Sat, 10 Feb 2018 22:32:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.231
X-Spam-Level:
X-Spam-Status: No, score=-4.231 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 lTyj3aCmlUz9; Sat, 10 Feb 2018 22:32:19 -0800 (PST)
Received: from huawei.com (lhrrgout.huawei.com [194.213.3.17]) (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 970991201F8; Sat, 10 Feb 2018 22:32:19 -0800 (PST)
Received: from lhreml702-cah.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id BAD9AE3EA8921; Sun, 11 Feb 2018 06:32:15 +0000 (GMT)
Received: from NKGEML414-HUB.china.huawei.com (10.98.56.75) by lhreml702-cah.china.huawei.com (10.201.108.43) with Microsoft SMTP Server (TLS) id 14.3.361.1; Sun, 11 Feb 2018 06:32:17 +0000
Received: from NKGEML515-MBX.china.huawei.com ([fe80::a54a:89d2:c471:ff]) by nkgeml414-hub.china.huawei.com ([10.98.56.75]) with mapi id 14.03.0361.001; Sun, 11 Feb 2018 14:32:11 +0800
From: "Dongjie (Jimmy)" <jie.dong@huawei.com>
To: Joel Halpern <jmh@joelhalpern.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>
Thread-Topic: Genart early review of draft-ietf-opsawg-ipfix-bgp-community-04
Thread-Index: AQHToctBG6PGtCpX7Uym9MGEIiiss6OeumPA
Date: Sun, 11 Feb 2018 06:32:11 +0000
Message-ID: <76CD132C3ADEF848BD84D028D243C927982D3D8D@NKGEML515-MBX.china.huawei.com>
References: <151819723555.1208.12835539554987861622@ietfa.amsl.com>
In-Reply-To: <151819723555.1208.12835539554987861622@ietfa.amsl.com>
Accept-Language: en-US, zh-CN
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.130.151.75]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/gen-art/OHzZgpe0IcXQUZLaGMwMbbPBBuo>
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 06:32:22 -0000

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