Re: [Forces-protocol] Data Encoding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Forces-protocol] Data Encoding



Yes, the instance selection process will essentially involve inserting the indices into the path. But the semantics for what is being targetted can be determined without such interleaving.

Separating the indices from the path is a compromise. From an analytic point of view, I would like to include the indices in the path. With the push for content addressing, and some folks asking for block selection, The path would get too messy if the indices where in it. SO I just end up concluding that the best compromise is to separate the indices from the path and from the data.

Just my personal conclusion,
Joel

At 09:21 AM 11/17/2004, Weiming Wang wrote:
> The more I think about it, the more I like three sets of information,
> first the base path (length, sequence of identifiers)
> then one or more TLVs for the subscripts, where the TLV wil contain an
> index identifier and the data to be used as a subscript.  This may be the
> base subscript, or some other field.  (The identifier is a field identifier
> rather than a type identifier since there might be two key fields for the
> same table with the same type, but differing values.)
> Then for modify operations (and GET responses?) a TLV for the actual data.
> If we want to allow block references, then the structure of the subscript
> TLV can be expanded to indicate ranges somehow.
> This keeps the notions of "what structural thing", "which instance", and
> "what value" cleanly separated.
[Weiming] I understand your state as first coming the field IDs, then the
indexes, and last the values. A little worry is that in some cases, the field
IDs and the indexes have to be interfered to reference an entry, that is, the
path may be something liek fieldID.index.fieldID, When the index appear in the
path is important for correct addressing, that is, fieldID.index.fieldID is
different from fieldID.fieldID.index, therefore, to separately express fieldID
and indexes may make things more complex.

Cheers,
Weiming


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




Note: Messages sent to this list are the opinions of the senders and do not imply endorsement by the IETF.