RE: [Forces-protocol] issue 1: packet encoding

Jamal Hadi Salim <hadi@znyx.com> Sun, 07 March 2004 03:15 UTC

Received: from optimus.ietf.org (optimus.ietf.org [132.151.1.19]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA17086 for <forces-protocol-archive@odin.ietf.org>; Sat, 6 Mar 2004 22:15:32 -0500 (EST)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1Azoks-0006pR-9O for forces-protocol-archive@odin.ietf.org; Sat, 06 Mar 2004 22:15:06 -0500
Received: (from exim@localhost) by www1.ietf.org (8.12.8/8.12.8/Submit) id i273F6SM026243 for forces-protocol-archive@odin.ietf.org; Sat, 6 Mar 2004 22:15:06 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1Azoks-0006pC-1y for forces-protocol-web-archive@optimus.ietf.org; Sat, 06 Mar 2004 22:15:06 -0500
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA17076 for <forces-protocol-web-archive@ietf.org>; Sat, 6 Mar 2004 22:15:02 -0500 (EST)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 1Azoko-000698-00 for forces-protocol-web-archive@ietf.org; Sat, 06 Mar 2004 22:15:02 -0500
Received: from exim by ietf-mx with spam-scanned (Exim 4.12) id 1Azojp-00061a-00 for forces-protocol-web-archive@ietf.org; Sat, 06 Mar 2004 22:14:02 -0500
Received: from optimus.ietf.org ([132.151.1.19]) by ietf-mx with esmtp (Exim 4.12) id 1Azoio-0005pZ-00 for forces-protocol-web-archive@ietf.org; Sat, 06 Mar 2004 22:12:58 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1Azoir-0006ga-BO; Sat, 06 Mar 2004 22:13:01 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AzoiB-0006bS-2E for forces-protocol@optimus.ietf.org; Sat, 06 Mar 2004 22:12:19 -0500
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA17040 for <forces-protocol@ietf.org>; Sat, 6 Mar 2004 22:12:15 -0500 (EST)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 1Azoi8-0005n4-00 for forces-protocol@ietf.org; Sat, 06 Mar 2004 22:12:16 -0500
Received: from exim by ietf-mx with spam-scanned (Exim 4.12) id 1Azoh7-0005eT-00 for forces-protocol@ietf.org; Sat, 06 Mar 2004 22:11:13 -0500
Received: from znx208-2-156-007.znyx.com ([208.2.156.7] helo=lotus.znyx.com) by ietf-mx with esmtp (Exim 4.12) id 1Azog8-0005Up-00 for forces-protocol@ietf.org; Sat, 06 Mar 2004 22:10:12 -0500
Received: from [127.0.0.1] ([208.2.156.2]) by lotus.znyx.com (Lotus Domino Release 5.0.11) with ESMTP id 2004030619105193:63796 ; Sat, 6 Mar 2004 19:10:51 -0800
Subject: RE: [Forces-protocol] issue 1: packet encoding
From: Jamal Hadi Salim <hadi@znyx.com>
Reply-To: hadi@znyx.com
To: "Khosravi, Hormuzd M" <hormuzd.m.khosravi@intel.com>
Cc: forces-protocol@ietf.org
In-Reply-To: <468F3FDA28AA87429AD807992E22D07E054213@orsmsx408.jf.intel.com>
References: <468F3FDA28AA87429AD807992E22D07E054213@orsmsx408.jf.intel.com>
Organization: ZNYX Networks
Message-Id: <1078629011.1038.257.camel@jzny.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.2.2
X-MIMETrack: Itemize by SMTP Server on Lotus/Znyx(Release 5.0.11 |July 24, 2002) at 03/06/2004 07:10:52 PM, Serialize by Router on Lotus/Znyx(Release 5.0.11 |July 24, 2002) at 03/06/2004 07:10:53 PM, Serialize complete at 03/06/2004 07:10:53 PM
Content-Transfer-Encoding: 7bit
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Sender: forces-protocol-admin@ietf.org
Errors-To: forces-protocol-admin@ietf.org
X-BeenThere: forces-protocol@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/forces-protocol>, <mailto:forces-protocol-request@ietf.org?subject=unsubscribe>
List-Id: forces-protocol <forces-protocol.ietf.org>
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>
List-Archive: <https://www1.ietf.org/mail-archive/working-groups/forces-protocol/>
Date: Sat, 06 Mar 2004 22:10:11 -0500
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on ietf-mx.ietf.org
X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.60
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

On Sat, 2004-03-06 at 17:37, Khosravi, Hormuzd M wrote:
> Jamal,
> 
> Before I give my comments, I would like to say that I appreciate the
> fact that you did not copy/paste the netlink header from your draft over
> here! That is a very positive sign to me, lets try to stick to the best
> technical solution rather than pushing our own protocol implementations.
> That's the best way to make progress on this merger!!

We actually have learnt a few things while implementing ;->
The thinking right now is to learn from mistakes (and from good things
of course).

> Here are my views on this issue, particularly the common header:
> 
> Command: Agree this is needed. We think 8-12 bits will be more than
> sufficient for this depending on whether it is subdivided. We have
> sub-divided this field into Class/type...this is an OO approach, seemed
> pretty neat. However, I am personally fine with having a single field
> for this, no problem with that.

I think we could resolve this later; i am not seeing a lot of commands.
On the outset i can only see ADD/DEL/GET

> Sequence No: Agree needed and agree with size.
> 
> Flags/Priority: We need 2-3 bits for priority in every message. I don't
> think we need any other flags in all messages.

How do you propose we do things like 2 phase commits; atomic
transactions etc?
Maybe what you called "class" in the command is a flag then?
Also in regards to priority; do you see this being used all the time?
and would an underlying transport priority be insufficient
(example diffserv, 802.1p etc)?

> Typeid: This is one field I don't think is needed in all messages. I am
> not sure why this is needed at all cause, we will be using the Model and
> LFB IDs to address processing functional blocks on the FEs.

I am not sure i see this. If you could explain more mayeb it would help.
Like i said the only value is in being able to look at the outer header
and recognizing for example the target where the message is being sent
to (example LFB class). If not for anything else, debugging (via
sniffing) is a good reason - this way i could dump the rest of the
message by recognizing what the TLVs mean.

> Missing field: Version (2-4 bits): This is present in all protocols, and
> is generally included in most IETF protocols. Its usually the 1st field.

Agreed. 4 bits is what i have seen normally.

> General comment: Lets try to be stingy on the size of the header and its
> fields since this will be included in all ForCES messages.

Agreed - the main thing is that if something needs to be used in all
messages then it should go on this header (since its cheaper than a
TLV).

cheers,
jamal


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