Re: [Fwd: [Forces-protocol] Presentation of the options forLFB-level multicast]

"Joel M. Halpern" <joel@stevecrocker.com> Sat, 13 November 2004 04:35 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 XAA28788 for <forces-protocol-web-archive@ietf.org>; Fri, 12 Nov 2004 23:35:10 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CSpeY-0002s5-RZ for forces-protocol-web-archive@ietf.org; Fri, 12 Nov 2004 23:36:47 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1CSpUU-0008PI-Sq; Fri, 12 Nov 2004 23:26:22 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1CSpQr-0004kB-G0 for forces-protocol@megatron.ietf.org; Fri, 12 Nov 2004 23:22:38 -0500
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 XAA28024 for <forces-protocol@ietf.org>; Fri, 12 Nov 2004 23:22:09 -0500 (EST)
Received: from ns.execdsl.net ([208.184.15.238] helo=EXECDSL.COM) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CSpRx-0002Lu-OK for forces-protocol@ietf.org; Fri, 12 Nov 2004 23:23:46 -0500
Received: from [69.170.19.208] (HELO JLaptop.stevecrocker.com) by EXECDSL.COM (CommuniGate Pro SMTP 3.3) with ESMTP id 7937996; Fri, 12 Nov 2004 23:22:10 -0500
Message-Id: <6.1.2.0.0.20041112230835.03f0b0f0@localhost>
X-Sender: joel@stevecrocker.com@localhost
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
Date: Fri, 12 Nov 2004 23:21:58 -0500
To: Weiming Wang <wmwang@mail.hzic.edu.cn>, hadi@znyx.com
From: "Joel M. Halpern" <joel@stevecrocker.com>
Subject: Re: [Fwd: [Forces-protocol] Presentation of the options forLFB-level multicast]
In-Reply-To: <009a01c4c934$99cf7990$020aa8c0@wwm1>
References: <4189F776.4080306@zurich.ibm.com> <005101c4c408$dc341600$020aa8c0@wwm1> <1099752095.1037.11.camel@jzny.localdomain> <003201c4c46d$1bbce4a0$020aa8c0@wwm1> <004201c4c4ec$61d34c20$020aa8c0@wwm1> <1099829057.2165.18.camel@jzny.localdomain> <00bd01c4c536$fb418ee0$020aa8c0@wwm1> <1099885892.2167.13.camel@jzny.localdomain> <132001c4c551$86023150$845c21d2@Necom.hzic.edu.cn> <1099911200.2169.29.camel@jzny.localdomain> <134f01c4c585$216584c0$845c21d2@Necom.hzic.edu.cn> <4191299F.4020809@zurich.ibm.com> <142a01c4c6d6$13569980$845c21d2@Necom.hzic.edu.cn> <1100100893.2210.24.camel@jzny.localdomain> <14fc01c4c79f$75231f20$845c21d2@Necom.hzic.edu.cn> <6.1.2.0.0.20041111091015.03bafec0@localhost> <155001c4c8c0$5eb73ec0$845c21d2@Necom.hzic.edu.cn> <1100269665.1106.30.camel@jzny.localdomain> <156501c4c8c5$1fb19220$845c21d2@Necom.hzic.edu.cn> <1100271071.1109.38.camel@jzny.localdomain> <1100307886.1110.20.camel@jzny.localdomain> <6.1.2.0.0.20041112220931.03c89ec0@localhost> <009a01c4c934$99cf7990$020aa8c0@wwm1>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 1a1bf7677bfe77d8af1ebe0e91045c5b
Cc: "Khosravi, Hormuzd M" <hormuzd.m.khosravi@intel.com>, "(Ram Gopal )" <ram.gopal@nokia.com>, Avri Doria <avri@acm.org>, forces-protocol@ietf.org, Patrick Droz <dro@zurich.ibm.com>, David.Putzolu@intel.com, Dong Ligang <donglg@mail.hzic.edu.cn>, Robert Haas <rha@zurich.ibm.com>
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.1 (/)
X-Scan-Signature: 944ecb6e61f753561f559a497458fb4f

Sorry, I missed something.
I believe that the protocol will have to define the encoding for all data, 
in such a fashion that any data types (including structures) describable in 
the model can be represented in well defined ways.
Given such a definition, and given that the CE and FE both know the 
definition of the data, then it can be processed.

There are actually cases where the CE may not understand part of the data 
that he is being handed.  If the structure being returned is actually a 
subclass, with additional fields, of that understood by the CE.  However, 
this actually works:
1) The CE will be able to parse all the fields he understands
2) The CE will have to ignore any fields he can not understand.  Note that 
he has to ignore them if they have no type / field ID tagging or if it has 
type and field ID tagging, since he has no idea what those fields mean anyway.

The one implication of this is that the encoding for structures and arrays 
must ALWAYS have a length.

As far as I can tell, tables, or tables within tables, do not change this 
with regard to field identification.  With regard to subscripts, there is 
room to discuss.


Given a field foo in the LFB which has ID 2, and is a structure with fields 
bar (id 1), bas (id 2), and bat (id 3), where bas is a structure with field 
cab (id 1), cac (id 2) and cad (id 3), then:
if I want to reference cac I need the path 2.2.2 somewhere.
if I want to reference bas, I need the path 2.2 somewhere, and I do not 
need the id 2 of cac inside the representation of bas.
if I want the whole field foo, I need the path 2, and I do not need the ids 
for any of the contained fields.


With regard to subscripts and content based addressing, things are more 
complicated.  In the path, we need the indication at each table of whether 
indexing is occuring, and if so which subscript or content field is being 
used.  That is type based information which can go in the path.
The question is where the subscripts or content values go.
They are going to have to have their won TLVs somewhere.  They can go 
inside the path TLV, although that will complicate the structure of the 
path TLV.
They can be siblings of the path and data TLV.
Or they can somehow be in the data TLV.
Given the structuring requirements I believe it will be simpler to make 
them (the element value selection TLVs) siblings of the path and data TLVs 
within the overall path-data structure.  I can believe that there exists a 
clean structure for putting them in the data itself.  And the placement of 
this is much less important to me than the placement of the information 
which tells me what syntax of subscripts and what syntax and semantics of 
final data I am using, namely the path information.

Yours,
Joel M. Halpern

At 10:55 PM 11/12/2004, Weiming Wang wrote:
>Joel,
>
>We'v seen more clearly our difference now after we begin to consider the data
>encoding, therefore it's very good to associate our previous discussion with
>followed data encoding.
>
>----- Original Message -----
>From: "Joel M. Halpern" <joel@stevecrocker.com>
>
> > I may be missing something, but when I consider likely encodings of data,
> > there are two aspects.  There are element identifiers (top level attribute,
> > element of struct, etc) and there are subscripts.
> >
> > Now, for nested structs, or structs within tables, or any other cases,
> > there is no need to encode the identifiers for the fields in the
> > data.  Knowing the starting point of the data, and the type of that
> > starting point, and the encoding rules, should allow one to decode the
> > elements without needing either internal type identifiers or internal
> > element identifiers.  Variable length elements (strings, arrays) do need
> > lengths.
>One thing I just want to strenthen that is in my previous post is,  if the 
>field
>IDs and others are not allowed in the data field, we will have to strictly
>define all individual data format (including its data PDU and appearing
>sequence) for all attributes of all LFBs, which is really a horrible thing to
>do. By allowing field IDs in data, we only need to define the individual field
>ID actual values, which I think is much simpler and FE model can do well.
>
>Cheers,
>Weiming
>
> >
> > When an entire array is being shipped, if the elements have subscripts
> > (which I want) then it is indeed necessary to include the subscripts of
> > each element with that element.  There are multiple ways to adress this,
> > but none of them involve putting the field identifiers into the data.
> >
> > Yours,
> > Joel
> >
> > PS: If one is going to use a verbose TLV-like encoding of the data, one may
> > end up encoding the types in the data or the field identifiers.  But this
> > is fundamentally redundant information.
> >
> >


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