Re: [IPFIX] [GROW] [OPSAWG] WG adoption poll for draft-li-opsawg-ipfix-bgp-community-02

PJ Aitken <pjaitken@brocade.com> Thu, 16 February 2017 11:15 UTC

Return-Path: <paitken@Brocade.com>
X-Original-To: ipfix@ietfa.amsl.com
Delivered-To: ipfix@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 240BB129A1A; Thu, 16 Feb 2017 03:15:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] 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 PlqA1x1Pr5qG; Thu, 16 Feb 2017 03:15:48 -0800 (PST)
Received: from mx0a-000f0801.pphosted.com (mx0b-000f0801.pphosted.com [IPv6:2620:100:9005:71::1]) (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 A7474129A18; Thu, 16 Feb 2017 03:15:46 -0800 (PST)
Received: from pps.filterd (m0000700.ppops.net [127.0.0.1]) by mx0b-000f0801.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v1GBBJWa015626; Thu, 16 Feb 2017 03:15:37 -0800
Received: from brmwp-exmb11.corp.brocade.com ([208.47.132.227]) by mx0b-000f0801.pphosted.com with ESMTP id 28m20cfuu4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 16 Feb 2017 03:15:37 -0800
Received: from EMEAWP-EXMB11.corp.brocade.com (172.29.11.85) by BRMWP-EXMB11.corp.brocade.com (172.16.59.77) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Thu, 16 Feb 2017 04:15:34 -0700
Received: from [172.27.212.154] (172.27.212.154) by EMEAWP-EXMB11.corp.brocade.com (172.29.11.85) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Thu, 16 Feb 2017 12:15:30 +0100
To: "lizhenqiang@chinamobile.com" <lizhenqiang@chinamobile.com>, grow-bounces <grow-bounces@ietf.org>, zhoutianran <zhoutianran@huawei.com>
References: <BBA82579FD347748BEADC4C445EA0F21A22B8B05@NKGEML515-MBX.china.huawei.com> <7023a95c-c6a9-4d6a-b009-8f35e447aa4e@gmail.com> <76CD132C3ADEF848BD84D028D243C9279357F4EA@NKGEML515-MBX.china.huawei.com> <2017021611151726192539@chinamobile.com>
From: PJ Aitken <pjaitken@brocade.com>
Message-ID: <9f060f89-a2a8-5f87-4d66-088cb389ac14@brocade.com>
Date: Thu, 16 Feb 2017 11:15:24 +0000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1
MIME-Version: 1.0
In-Reply-To: <2017021611151726192539@chinamobile.com>
Content-Type: multipart/alternative; boundary="------------AB5957A2F268C5981C80C3F2"
X-Originating-IP: [172.27.212.154]
X-ClientProxiedBy: hq1wp-excas11.corp.brocade.com (10.70.36.102) To EMEAWP-EXMB11.corp.brocade.com (172.29.11.85)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-02-16_08:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1612050000 definitions=main-1702160110
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipfix/v7Qu_7spMuYmTheZyXh6AHNVhxI>
Cc: opsawg <opsawg@ietf.org>, opsawg-chairs <opsawg-chairs@ietf.org>, grow <grow@ietf.org>, "ipfix@ietf.org" <ipfix@ietf.org>
Subject: Re: [IPFIX] [GROW] [OPSAWG] WG adoption poll for draft-li-opsawg-ipfix-bgp-community-02
X-BeenThere: ipfix@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: IPFIX WG discussion list <ipfix.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipfix>, <mailto:ipfix-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipfix/>
List-Post: <mailto:ipfix@ietf.org>
List-Help: <mailto:ipfix-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipfix>, <mailto:ipfix-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Feb 2017 11:15:49 -0000

Ignas Bagdonas wrote:


 > The upper limit may be reaching 16000 standard communities per prefix 
- would that fit into resulting IPFIX IE? If there is a limit, how does 
it work?


A quick calculation suggests that the maximum would be 16376 x 4-octet 
ASNs. See the figure below.

The constraining factor is the RFC7011 IPFIX Message Header "Length" 
field, since this is only 16 bits.

Splitting a list across multiple IPFIX messagesis a question which the 
IPFIX community hasn't discussed.Unfortunately the basicList "Semantic" 
field only defines the relationship among the different values within a 
single message; the relationship among values in different messages is 
not defined.

IPFIX Collectors might reasonably assume that information in subsequent 
messages supersedes information in earlier messages, so splitting a list 
across multiple messages would not have the desired effect.


      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     
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+     
|       Version Number          |        Length = 65532         |     
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+     
|                           Export Time                         |     
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+     
|                       Sequence Number                         |     
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+     
|                    Observation Domain ID                      |     
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+     
|          Set ID = 256         |         Length = 65516        |     
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+     
|      255      |      List Length = 65509      | semantic=allOf|     
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+     | 
      bSCL FieldId = 459       |      bSCL Field Length=4      |     
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+     | 
              bgpSourceCommunityList value 1 = x               |     
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+     | 
              bgpSourceCommunityList value 2 = x               |     
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      
                               ...     
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+     | 
              bgpSourceCommunityList value 16376 = x           |     
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


P.