[Forces-protocol] Re: Data encoding -- first part

Alan DeKok <alan.dekok@idt.com> Wed, 20 October 2004 02:07 UTC

Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA15853 for <forces-protocol-web-archive@ietf.org>; Tue, 19 Oct 2004 22:07:23 -0400 (EDT)
Received: from megatron.ietf.org ([132.151.6.71]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CK658-0003BD-8C for forces-protocol-web-archive@ietf.org; Tue, 19 Oct 2004 22:20:09 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1CK45N-0001Kl-4c; Tue, 19 Oct 2004 20:12:13 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1CJvK8-0006Bk-OD for forces-protocol@megatron.ietf.org; Tue, 19 Oct 2004 10:50:53 -0400
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA03070 for <forces-protocol@ietf.org>; Tue, 19 Oct 2004 10:50:50 -0400 (EDT)
Received: from [66.46.215.210] (helo=post.ott.idt.com) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CJvWL-0007fT-UZ for forces-protocol@ietf.org; Tue, 19 Oct 2004 11:03:30 -0400
Received: from [127.0.0.1] (dhcp195.ott.idt.com [192.168.102.195]) by post.ott.idt.com (Postfix) with ESMTP id 9B8971F0001; Tue, 19 Oct 2004 10:50:20 -0400 (EDT)
Message-ID: <417528E3.3080305@idt.com>
Date: Tue, 19 Oct 2004 10:46:59 -0400
From: Alan DeKok <alan.dekok@idt.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: hadi@znyx.com
References: <41741D78.4070205@idt.com> <468F3FDA28AA87429AD807992E22D07E025791E5@orsmsx408> <002d01c4b50b$1ecc9c10$020aa8c0@wwm1> <1098102734.1042.134.camel@jzny.localdomain> <1098113089.2364.12.camel@localhost.localdomain> <1098115003.2884.67.camel@localhost.localdomain> <4173FB88.1000008@idt.com> <1098126011.2884.162.camel@localhost.localdomain> <41741D78.4070205@idt.com> <5.1.0.14.0.20041018165715.03523890@mail.megisto.com> <1098133781.1075.437.camel@jzny.localdomain>
In-Reply-To: <1098133781.1075.437.camel@jzny.localdomain>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 52e1467c2184c31006318542db5614d5
Content-Transfer-Encoding: 7bit
Cc: "Khosravi, Hormuzd M" <hormuzd.m.khosravi@intel.com>, ram.gopal@nokia.com, "Steven \"Blake (petri-meat)\"" <slblake@petri-meat.com>, "Yang, Lily L" <lily.l.yang@intel.com>, Zsolt Haraszti <zsolt@modularnet.com>, "Joel M. Halpern" <jhalpern@MEGISTO.com>, forces-protocol@ietf.org, Ellen M Deleganes <ellen.m.deleganes@intel.com>, Weiming Wang <wmwang@mail.hzic.edu.cn>
Subject: [Forces-protocol] Re: Data encoding -- first part
X-BeenThere: forces-protocol@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: forces-protocol <forces-protocol.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/forces-protocol>, <mailto:forces-protocol-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/forces-protocol>
List-Post: <mailto:forces-protocol@ietf.org>
List-Help: <mailto:forces-protocol-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/forces-protocol>, <mailto:forces-protocol-request@ietf.org?subject=subscribe>
Sender: forces-protocol-bounces@ietf.org
Errors-To: forces-protocol-bounces@ietf.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: e1e48a527f609d1be2bc8d8a70eb76cb
Content-Transfer-Encoding: 7bit

Jamal Hadi Salim wrote:

> Every thing is a TLV.
> The T is the ID as provided by the XML doc.
> 
> The disadvantage is clearly the abuse of bits. You could play tricks to
> improve this of course. 
> The advantage is that this is a well know interface.

   There are intermediate possibilities.  Rather than putting every 
element of every data structure into a unique TLV, you can have a TLV 
like "LFB-Instance-Data", which contains all of the PACKed information 
that Zsolt is talking about.

   The benefits with this approach are:

- you have one LFB-Instance-Data TLV for all LFB's, rather than multiple 
data-specific TLV's, or multiple LFB-specific LFB's.

- The protocol is more compact, efficient, and easy to parse by things 
that don't understand the internals of LFB configuration.

- you can update the PACKed data and STRUCTs inside of LFB-Instance-Data 
without adding or deleting TLV's.


   I would propose the above scheme, and also a TLV such as 
LFB-Data-Structure, which could hold an encoded representation of the 
STRUCTs and data that the LFB understands, so that the CE can 
"bootstrap" it's knowledge of how to configure the LFB.

   This process could be very powerful.

   Alan DeKok.



_______________________________________________
Forces-protocol mailing list
Forces-protocol@ietf.org
https://www1.ietf.org/mailman/listinfo/forces-protocol