From gsmp-bounces@ietf.org Mon Apr 18 08:34:46 2005
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1DNVSg-0007cc-Ak; Mon, 18 Apr 2005 08:34:46 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1DNVSd-0007cU-BB
	for gsmp@megatron.ietf.org; Mon, 18 Apr 2005 08:34:44 -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 IAA14537
	for <gsmp@ietf.org>; Mon, 18 Apr 2005 08:34:41 -0400 (EDT)
Received: from ixe-nat1.juniper.net ([193.110.54.36] helo=up-smtp.jnpr.net)
	by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1DNVdR-0002m8-8F
	for gsmp@ietf.org; Mon, 18 Apr 2005 08:45:53 -0400
Received: from pi-smtp.jnpr.net ([10.10.2.36]) by up-smtp.jnpr.net with
	Microsoft SMTPSVC(6.0.3790.211); Mon, 18 Apr 2005 13:34:32 +0100
Received: from proton.jnpr.net ([10.10.2.37]) by pi-smtp.jnpr.net with
	Microsoft SMTPSVC(5.0.2195.6713); Mon, 18 Apr 2005 08:34:31 -0400
x-mimeole: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [GSMP] GSMPv3 & L2C
Date: Mon, 18 Apr 2005 08:34:31 -0400
Message-ID: <9BD5D7887235424FA97DFC223CAE3C28DB993A@proton.jnpr.net>
Thread-Topic: [GSMP] GSMPv3 & L2C
Thread-Index: AcUlhyK3NeG4cVakSSSsw9nPQ+skOgehyj+g
From: "Sanjay Wadhwa" <swadhwa@juniper.net>
To: "avri doria" <avri@acm.org>, <gsmp@ietf.org>
X-OriginalArrivalTime: 18 Apr 2005 12:34:31.0750 (UTC)
	FILETIME=[F8669660:01C54412]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 825e642946eda55cd9bc654a36dab8c2
Content-Transfer-Encoding: quoted-printable
Cc: 
X-BeenThere: gsmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: General Switch Management Protocol WG <gsmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/gsmp>,
	<mailto:gsmp-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:gsmp@ietf.org>
List-Help: <mailto:gsmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/gsmp>,
	<mailto:gsmp-request@ietf.org?subject=subscribe>
Sender: gsmp-bounces@ietf.org
Errors-To: gsmp-bounces@ietf.org

Hi Avri
  My preference would be to not impose this restriction (1 technology
specific TLV per event message). However, given this restriction,
technology specific extensions will need to nest multiple sub-TLVs in
the extension block. The 8 bit "Block Length" is probably not enough. 16
bit length field would most likely be sufficient. I guess one could
probably use a different instance of the event message once the limit is
reached, but that calls for little more code complexity.=20

-Sanjay       =20


         0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      | Vers  |  Sub  | Message Type  | Result|        Code           |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      | Partition ID  |            Transaction Identifier             |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |I|      SubMessage Number      |           Length              |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                             Port                              |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                      Port Session Number                      |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                     Event Sequence Number                     |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |x|S|x|x|                                                       |
      +-+-+-+-+                     Label                             |
      ~                                                               ~
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |x|x|x|x|x|x|x|x| Message Type  |   Tech Type   | Block Length  |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                                                               |
      ~                         Extension Value                       ~
      |                                                               |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

>-----Original Message-----
>From: gsmp-bounces@ietf.org [mailto:gsmp-bounces@ietf.org]On Behalf Of
>avri doria
>Sent: Thursday, March 10, 2005 10:37 AM
>To: gsmp@ietf.org
>Subject: Re: [GSMP] GSMPv3 & L2C
>
>
>Hi,
>
>Sorry I did not answer this sooner.  My inclination would be to=20
>maintain a single extension TLV per technology type and allow the=20
>technology specific protocol extension to nest sub-TLVs within that=20
>structure.
>
>My reasons are that I think it would be simpler for the base protocol=20
>implementation and would organize the IANA effort for defining new TLV=20
>fields with more flexibility for the extension writer; i.e each=20
>technology specific extension defines the fields it needs and does its=20
>own IANA registrations.
>
>My goal with the base has to keep it as simple as possible so that=20
>hoepfully once it get back on the standards track, it can remain=20
>unchanged while the technology specific efforts continue independently.
>
>I would be interested in hearing other people on this list comment on=20
>this issue.
>
>thanks
>a.
>On 14 feb 2005, at 16.08, Sanjay Wadhwa wrote:
>
>> Section 3.1.4 in the GSMPv3 draft describes extension TLVs.=20
>There is a=20
>> restriction of "at most one extension TLV per message type".=20
>Is there=20
>> a particular reason for this restriction ? There might be=20
>cases where=20
>> a particular technology needs more than one such (optional) TLV in a=20
>> message. One option could be to have the "extension value"=20
>be composed=20
>> of multiple sub-TLVs (with their own well defined format).=20
>But, it is=20
>> simpler to allow multiple top level TLVs. Based on the=20
>"length" in the=20
>> GSMP message header and the "length" in each TLV, the=20
>parsing is not a=20
>> problem. For sanity check number of TLVs in the message can be=20
>> included in the message. The device that does not understand a=20
>> particular TLV can silently ignore the TLV and continue on.
>> In context of L2C this is needed for a BRAS (controller) to=20
>configure=20
>> line characterstics of a DSL line on a DSLAM. There is more than one=20
>> parameter that can be configured (multiple, optional TLVs in=20
>the port=20
>> management message seems like an appropriate way to implement this=20
>> functionality). Any thoughts on not having the restriction=20
>of a single=20
>> "extension" TLV per message type ?
>>
>> Thanks
>> -Sanjay
>>
>>
>>
>>
>>
>> _______________________________________________
>> GSMP mailing list
>> GSMP@ietf.org
>> https://www1.ietf.org/mailman/listinfo/gsmp
>>
>
>
>_______________________________________________
>GSMP mailing list
>GSMP@ietf.org
>https://www1.ietf.org/mailman/listinfo/gsmp
>

_______________________________________________
GSMP mailing list
GSMP@ietf.org
https://www1.ietf.org/mailman/listinfo/gsmp



