[IPFIX] basicList clarification

Gerald Naveen A <ageraldnaveen@gmail.com> Sat, 12 December 2015 08:29 UTC

Return-Path: <ageraldnaveen@gmail.com>
X-Original-To: ipfix@ietfa.amsl.com
Delivered-To: ipfix@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 134641A1BEE for <ipfix@ietfa.amsl.com>; Sat, 12 Dec 2015 00:29:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
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 ZYbvEPtPXVPH for <ipfix@ietfa.amsl.com>; Sat, 12 Dec 2015 00:29:58 -0800 (PST)
Received: from mail-ob0-x232.google.com (mail-ob0-x232.google.com [IPv6:2607:f8b0:4003:c01::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CEB031A1B8B for <ipfix@ietf.org>; Sat, 12 Dec 2015 00:29:57 -0800 (PST)
Received: by obc18 with SMTP id 18so98989820obc.2 for <ipfix@ietf.org>; Sat, 12 Dec 2015 00:29:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=sudLEz9wzKQXgnngpVUmTVr565vQNgxyejLF4eOcgog=; b=DZkVEtNJUOhv1ULYs3ZurMWlOrPIed26PAjTSCvXfYavJOluu17SdTdyqIxAXVNiWx kfBIF2HNdS+7hZieZEr9r7xn4vZUFKYivQ2NLg38Hc//EHq27OUgXjNtiAmSpuLLs9Za CCHHC4znw6B0FE7BeKY+upuYKQHzN5cBpWE/LafDxy0PshZ7jW9dPgwsQ5vNIDoek7G8 gb7zSR4SyLN0RII1iXCSuSlud3FoPlXhkawdehRiPqzXQGIKt9Y5qzBBs1gQ0ba8N5qn w1sAEqYkDdDhxIJk3LS5vx6NbRqiQFeHOBxVOCEy1a3qxm8G+RRgq0OeNpKES3KZHs/Y DbKw==
MIME-Version: 1.0
X-Received: by 10.60.41.73 with SMTP id d9mr17478728oel.27.1449908997263; Sat, 12 Dec 2015 00:29:57 -0800 (PST)
Received: by 10.182.130.81 with HTTP; Sat, 12 Dec 2015 00:29:57 -0800 (PST)
Date: Sat, 12 Dec 2015 13:59:57 +0530
Message-ID: <CAJR=o+GSJah4cvjroN0raeAXj+7h2W2Vah4pi4V6u0BM7Sc1DA@mail.gmail.com>
From: Gerald Naveen A <ageraldnaveen@gmail.com>
To: ipfix@ietf.org
Content-Type: multipart/alternative; boundary=089e013cba48bd1a040526af3e7f
Archived-At: <http://mailarchive.ietf.org/arch/msg/ipfix/IPrct3ZCfRjLu8ffUcS8NQvG8Bs>
X-Mailman-Approved-At: Tue, 15 Dec 2015 04:23:03 -0800
Subject: [IPFIX] basicList clarification
X-BeenThere: ipfix@ietf.org
X-Mailman-Version: 2.1.15
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: Tue, 15 Dec 2015 08:40:45 -0000

Hi all,

It is my understanding from the RFCs that basicList type is an encoding for
list of IPFIX Information Elements.

To create the template much more strongly typed, we have defined a custom
(enterprise) Information Element with a new ID (say X), which is defined as
a basicList of specific items (eg., InterfaceName).

My question to you all is: Is it mandatory that we have a separate
information element called InterfaceName (say ID Y) and define X as a
basicList of Y ? For our need, it is enough for us, that we define X as a
basicList of string (as X is already strongly defined). But string is a
type, not info element.

We would like to retain X (instead of defining a template directly with a
standard basicList). And we don't have any other need to define a new
Information Element Y.

I realize that the basicList encoding has a information-element ID of the
item in payload -- is this mandatory? Or for a strongly typed item X, we
could expect the IPFIX parser to be aware of contents (interface name) by
contract?

Pls let me know if my question is unclear.

Thanks in advance.
- Gerald Naveen