Re: [Forces-protocol] Data Encoding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Forces-protocol] Data Encoding
- To: "Wang,Weiming" <wmwang at mail.hzic.edu.cn>
- Subject: Re: [Forces-protocol] Data Encoding
- From: Jamal Hadi Salim <hadi at znyx.com>
- Date: 18 Nov 2004 16:50:38 -0500
- Cc: "\(Ram Gopal \)" <ram.gopal at nokia.com>, Steve Blake <slblake at petri-meat.com>, "Joel M. Halpern" <joel at stevecrocker.com>, Dong Ligang <donglg at mail.hzic.edu.cn>, "Khosravi, Hormuzd M" <hormuzd.m.khosravi at intel.com>, Avri Doria <avri at acm.org>, forces-protocol at ietf.org, Patrick Droz <dro at zurich.ibm.com>, zsolt at modularnet.com, David.Putzolu at intel.com, Robert Haas <rha at zurich.ibm.com>
- In-reply-to: <198e01c4cd67$a6b0d9b0$845c21d2@Necom.hzic.edu.cn>
- List-archive: <http://www1.ietf.org/pipermail/forces-protocol>
- List-help: <mailto:forces-protocol-request@ietf.org?subject=help>
- List-id: forces-protocol <forces-protocol.ietf.org>
- List-post: <mailto:forces-protocol@ietf.org>
- List-subscribe: <https://www1.ietf.org/mailman/listinfo/forces-protocol>, <mailto:forces-protocol-request@ietf.org?subject=subscribe>
- List-unsubscribe: <https://www1.ietf.org/mailman/listinfo/forces-protocol>, <mailto:forces-protocol-request@ietf.org?subject=unsubscribe>
- Organization: Znyx Networks
- References: ocaldomain><009e01c4cb24$ba144bd0$020aa8c0@wwm1> <1100610279.1152.33.camel@jzny.localdomain> <002501c4ccb4$809d2b60$020aa8c0@wwm1> <1100702562.1140.75.camel@jzny.localdomain> <198e01c4cd67$a6b0d9b0$845c21d2@Necom.hzic.edu.cn>
- Reply-to: hadi at znyx.com
- Sender: forces-protocol-bounces at ietf.org
Weiming,
On Thu, 2004-11-18 at 07:10, Wang,Weiming wrote:
> Jamal and Joel,
>
> In reply to Joel, I should say the compromise may not be necessary, for it seems
> we all tend to think indices and IDs will be interleaved under the condition
> that we should use indices. Pls allow me to try to propose a path scheme(I hope
> not too messy) as below:
>
> PathTLV:= Index|FieldID <Index|RangeMark|FieldID>+
>
> Then,
> 1) path = FieldID1 Index1 Field2 --- for single index case
I dont follow: Why do you need all that to say get a simple top level
attribute?
> 2) path = FieldID1 Index1 Index2 Index3 Field2 --- for listed indices case
> 3) path = FieldID1 Index1 RangeMark Index2 Field2 --- for block index1 to index2
> case
> 4) path = FieldId1 Index1 Index2 RangeMark Index3 Field2 --- for list and
> combined block indices cases
>
> Where the length is controlled by the TLV length.
>
> Based on this path TLV, and with Jamal's scheme in mind, I see the OpTLV format
> as below:
>
> OpTLV:= MainPathTLV [SubPathTLV VALUE]+ [DataTLV]
>
> MainPathTLV and SubPathTLV all have uniform formats as a PathTLV.
>
> Points a little different from Jamal's are:
> 1. IDcount removed, instead using PathTLV's length to control
I have to think about it - it should probably be able to remove it. What
happened to the flags?
> 2. Key is replaced by Subpath, which allows more general multiple level IDs.
I am not sure i followed this.
Can you reproduce the use cases i showed?
> 3. block operation is included in the PathTLV, where indices appear.
Same comment as above
> 4. Data part should be a TLV, or else there will be a parse problem.
>
It is a TLV as proposed earlier.
Start with the use cases i used and show how you achieve the connection
if possible.
you can ignore the key based example or include it if it will help to
see the value easier.
cheers,
jamal
_______________________________________________
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.