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

"Dongjie (Jimmy)" <jie.dong@huawei.com> Fri, 02 March 2018 06:45 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 119B612706D; Thu, 1 Mar 2018 22:45:46 -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 phu1n37PdWZF; Thu, 1 Mar 2018 22:45:43 -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 2A8411241FC; Thu, 1 Mar 2018 22:45:43 -0800 (PST)
Received: from lhreml704-cah.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id A81849FEEE227; Fri, 2 Mar 2018 06:45:39 +0000 (GMT)
Received: from NKGEML412-HUB.china.huawei.com (10.98.56.73) by lhreml704-cah.china.huawei.com (10.201.108.45) with Microsoft SMTP Server (TLS) id 14.3.361.1; Fri, 2 Mar 2018 06:45:23 +0000
Received: from NKGEML515-MBX.china.huawei.com ([fe80::a54a:89d2:c471:ff]) by nkgeml412-hub.china.huawei.com ([10.98.56.73]) with mapi id 14.03.0361.001; Fri, 2 Mar 2018 14:45:18 +0800
From: "Dongjie (Jimmy)" <jie.dong@huawei.com>
To: Joel Halpern Direct <jmh.direct@joelhalpern.com>, li zhenqiang <li_zhenqiang@hotmail.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 <opsawg@ietf.org>
Thread-Topic: Genart early review of draft-ietf-opsawg-ipfix-bgp-community-04
Thread-Index: AQHTsKeJEqV3bTksbk2DpxPm9OoNtaO8STRA
Date: Fri, 02 Mar 2018 06:45:17 +0000
Message-ID: <76CD132C3ADEF848BD84D028D243C927983084B4@NKGEML515-MBX.china.huawei.com>
References: <151819723555.1208.12835539554987861622@ietfa.amsl.com> <76CD132C3ADEF848BD84D028D243C927982D3D8D@NKGEML515-MBX.china.huawei.com> <05c59213-301b-ca3e-f7c1-2c4b5314fb01@joelhalpern.com> <HKNPR0601MB17943B2A144D57A9DF9A7CA2FCC70@HKNPR0601MB1794.apcprd06.prod.outlook.com> <557f6f1f-36ee-fd6a-2fa2-3ffd132ad4a8@joelhalpern.com> <HKNPR0601MB17948DBEE7814B5AC32EBB16FCC70@HKNPR0601MB1794.apcprd06.prod.outlook.com> <40b99df3-0197-417d-aa5e-5771f6a72eab@joelhalpern.com>
In-Reply-To: <40b99df3-0197-417d-aa5e-5771f6a72eab@joelhalpern.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/HMKQpB9N2YsVJlrVDzawYKd5ez8>
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: Fri, 02 Mar 2018 06:45:46 -0000

Hi Joel, 

Thanks a lot for your comments and discussion. 

There may be some misunderstanding about the description of the targeted use cases of this draft, in next revision more texts will be added to clarify this. We will also try to resolve the other comments you raised. 

Just some clarification about BGP communities: 

Except for a few well-known BGP communities, the meaning and behavior of most BGP communities are not standardized, which gives operators the flexibility to use them for many different purposes. RFC4384 describes one use case of BGP communities, RFC8195 gives some examples about the application of BGP large communities, and there are also many use cases which are not documented in RFCs. 

One typical usage of BGP communities is to represent geographical or customer information, this is also described in RFC 8195 for the newly defined large communities. In such use case, it is useful for operators to collect the traffic statistics based on BGP communities, as this provides the aggregation of traffic flows with reasonable granularity.

Best regards,
Jie

> -----Original Message-----
> From: Joel Halpern Direct [mailto:jmh.direct@joelhalpern.com]
> Sent: Wednesday, February 28, 2018 11:19 PM
> To: li zhenqiang <li_zhenqiang@hotmail.com>; Dongjie (Jimmy)
> <jie.dong@huawei.com>; gen-art@ietf.org
> Cc: draft-ietf-opsawg-ipfix-bgp-community.all@ietf.org; opsawg
> <opsawg@ietf.org>
> Subject: Re: Genart early review of draft-ietf-opsawg-ipfix-bgp-community-04
> 
> I am having trouble reconciling two of your comments.
> In you rlast email you said that this is for "planed communities represent the
> groups of customers peers an geographical and topological related
> information".  Planned communities is presumably a new behavior, not
> existing behavior.
> 
> In this email you say that these are "already defined BGP communities".
> 
> You reference RFC 4384, which talks about several kinds of communities.
> maybe you intend the regional or national communities mentioned as being
> possible, but not defined, in that document.  This document's descriptions do
> not align well enough with RFC 4384 for me to say.
> 
> Let's be clear.  The working group asked for an early review.  The WG now
> has my review, indicating that this document is unclear in multiple regards and
> could use improvement.
> 
> It is now up to the WG and the chairs.
> Yours,
> Joel
> 
> On 2/28/18 6:22 AM, li zhenqiang wrote:
> > Hi Joel,
> >
> > This is not for one operator, instead it is a common practice. Please
> > refer to RFC4384 and comments from Thomas who are from Swisscom.
> >
> > One clarification for this doc is it is not to introduce any new BGP
> > communities but to report the already defined BGP communities related
> > to a traffic flow through IPFIX, thus the IPFIX collector can analyze
> > the traffic in BGP community granularity without running BGP protocol.
> >
> > BGP community is a transitive attibute, thus the exporter can report
> > all the communities carried in the matching route entry, unless some
> > BGP communities are filtered by some routers.
> >
> > Sure I can add some text in the doc to say the proper processing of
> > the exporter, something like what I said in the previous mail, do you
> > think it is ok and enough?
> >   When the exporter, i.e. router, receives the templete to report the
> > communities, the exporter gets the information through BGP lookup
> > using the corresponding source or destination IP of a traffic flow.
> >
> > Thank you for your comments.
> >
> > Best Regards,
> > Zhenqiang Li
> > ----------------------------------------------------------------------
> > --
> > li_zhenqiang@hotmail.com
> >
> >     *From:* Joel M. Halpern <mailto:jmh@joelhalpern.com>
> >     *Date:* 2018-02-28 10:13
> >     *To:* li zhenqiang <mailto:li_zhenqiang@hotmail.com>; Dongjie
> >     (Jimmy) <mailto:jie.dong@huawei.com>; gen-art@ietf.org
> >     <mailto:gen-art@ietf.org>
> >     *CC:* draft-ietf-opsawg-ipfix-bgp-community.all@ietf.org
> >     <mailto:draft-ietf-opsawg-ipfix-bgp-community.all@ietf.org>; opsawg
> >     <mailto:opsawg@ietf.org>
> >     *Subject:* Re: Genart early review of
> >     draft-ietf-opsawg-ipfix-bgp-community-04
> >     Is this for one operator (still important, but not necessarily for
> >     standardization) or are there several operators who have expressed
> >     interest in this?
> >     Yes, we do proactive standards.  But the IDR group, for example,
> tends
> >     to be very careful to see if interest is reflected in implementation.
> >     In this case, given that what is proposed is a completely different use
> >     of the BGP communities, I think at least more clarity that this is only
> >     expected to be used for communities that match the purpose, and of
> how
> >     and why the vendors would implement the router-side logic.
> >     To get back to the points I made in the review:
> >     1) The document needs to be much clearer that it is about new
> >     communities whcih are expected to be defined for this use.  It needs
> to
> >     be clear if this is expected to be applied to communities put on by
> >     other AS, or only to communities provided by routers of the collecting
> >     AS.  The later leads to understandable configuration.  The former
> leads
> >     to questions about hos the meaning will be known.
> >     2) The document needs to be clear and explicit about what processing it
> >     is expecting the router to provide, and how much configuration is
> >     needed
> >     to get the right things to happen.
> >     Yours,
> >     Joel
> >     On 2/27/18 8:54 PM, li zhenqiang wrote:
> >      > Hi Joel,
> >      >
> >      > This is Zhenqiang Li from China Mobile. The purpose of this doc
> >     is not
> >      > to report the well-known communities, but the operator planed
> >      > communities represent the groups of the customers, peers,
> >      > the geographical and topological related information as stated
> in
> >      > RFC4384, which is a common practice and also used in our field
> >     network.
> >      >
> >      > When the exporter, i.e. router, receives the templete to report the
> >      > communities, the exporter gets the information through BGP lookup
> >     using
> >      > the corresponding source or destination IP of a traffic flow. The
> >      > procedure for the exporter to get the community informaiton of a
> >     traffic
> >      > flow is the same as it gets the AS information.
> >      >
> >      > Best Regards,
> >      > Zhenqiang Li
> >      >
> >     ------------------------------------------------------------------------
> >      > li_zhenqiang@hotmail.com
> >      >
> >      >     *From:* Joel M. Halpern <mailto:jmh@joelhalpern.com>
> >      >     *Date:* 2018-02-12 00:37
> >      >     *To:* Dongjie (Jimmy) <mailto:jie.dong@huawei.com>;
> >     gen-art@ietf.org
> >      >     <mailto:gen-art@ietf.org>
> >      >     *CC:* draft-ietf-opsawg-ipfix-bgp-community.all@ietf.org
> >      >     <mailto:draft-ietf-opsawg-ipfix-bgp-community.all@ietf.org>;
> >      >     opsawg@ietf.org <mailto:opsawg@ietf.org>
> >      >     *Subject:* Re: Genart early review of
> >      >     draft-ietf-opsawg-ipfix-bgp-community-04
> >      >     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
> >      >      >
> >      >
> >