Re: [dhcwg] draft-ietf-dhc-dhcpv4-vendor-message-00 WGLC comments

"Bernie Volz (volz)" <volz@cisco.com> Wed, 01 April 2009 17:24 UTC

Return-Path: <volz@cisco.com>
X-Original-To: dhcwg@core3.amsl.com
Delivered-To: dhcwg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0BB953A6B5B for <dhcwg@core3.amsl.com>; Wed, 1 Apr 2009 10:24:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.283
X-Spam-Level:
X-Spam-Status: No, score=-5.283 tagged_above=-999 required=5 tests=[AWL=-1.284, BAYES_00=-2.599, MANGLED_LIST=2.3, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UkstRAtke7BD for <dhcwg@core3.amsl.com>; Wed, 1 Apr 2009 10:24:14 -0700 (PDT)
Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117]) by core3.amsl.com (Postfix) with ESMTP id E54E33A6A98 for <dhcwg@ietf.org>; Wed, 1 Apr 2009 10:24:13 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.39,307,1235952000"; d="scan'208";a="278241654"
Received: from sj-dkim-4.cisco.com ([171.71.179.196]) by sj-iport-6.cisco.com with ESMTP; 01 Apr 2009 17:25:14 +0000
Received: from sj-core-5.cisco.com (sj-core-5.cisco.com [171.71.177.238]) by sj-dkim-4.cisco.com (8.12.11/8.12.11) with ESMTP id n31HPEXf014241; Wed, 1 Apr 2009 10:25:14 -0700
Received: from xbh-rtp-201.amer.cisco.com (xbh-rtp-201.cisco.com [64.102.31.12]) by sj-core-5.cisco.com (8.13.8/8.13.8) with ESMTP id n31HP1Ps025606; Wed, 1 Apr 2009 17:25:10 GMT
Received: from xmb-rtp-20a.amer.cisco.com ([64.102.31.15]) by xbh-rtp-201.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 1 Apr 2009 13:25:09 -0400
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Date: Wed, 01 Apr 2009 13:25:09 -0400
Message-ID: <8E296595B6471A4689555D5D725EBB210BFF95F0@xmb-rtp-20a.amer.cisco.com>
In-Reply-To: <200904011655.SAA22617@TR-Sys.de>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: draft-ietf-dhc-dhcpv4-vendor-message-00 WGLC comments
Thread-Index: Acmy6vlXFsjpW8WMSBCe4iPUT8CWNgAAmh1g
References: <200904011655.SAA22617@TR-Sys.de>
From: "Bernie Volz (volz)" <volz@cisco.com>
To: Alfred HÎnes <ah@tr-sys.de>, dhcwg@ietf.org
X-OriginalArrivalTime: 01 Apr 2009 17:25:09.0980 (UTC) FILETIME=[CEE451C0:01C9B2EE]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=5932; t=1238606714; x=1239470714; c=relaxed/simple; s=sjdkim4002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=volz@cisco.com; z=From:=20=22Bernie=20Volz=20(volz)=22=20<volz@cisco.com> |Subject:=20RE=3A=20draft-ietf-dhc-dhcpv4-vendor-message-00 =20WGLC=20comments |Sender:=20; bh=NPtU8JgA+Fk5GlKUyjvAMolxOMkQbarm3iqtCmMcm1I=; b=QmXBrcRE2FYtxYLLPkYzj95gi6mINDyAm9TobpyCnlof6hAcpxcy4L/gq2 /SCO9cR0qbmBKxVXjpRIbfGl2NRU5yhcEI9X2Fbd2k0jqy/zwoMJI8H80xsg kmdyWEOmRl;
Authentication-Results: sj-dkim-4; header.From=volz@cisco.com; dkim=pass ( sig from cisco.com/sjdkim4002 verified; );
Subject: Re: [dhcwg] draft-ietf-dhc-dhcpv4-vendor-message-00 WGLC comments
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <dhcwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dhcwg>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Apr 2009 17:24:15 -0000

Alfred:

Thanks for the comments ... We'll see what happens as the draft progresses to the end of the WGLC before revising anything.

Regarding switching to Vendor Suboptions, I took this from http://www.ietf.org/rfc/rfc3925.txt. And, I think the convention started there would be best to continue to avoid confusion as ideally vendors should be using ONE number space for their suboptions. Perhaps to follow RFC 3925 even more closely, vendor-option-data should just be option-data. And, a direct reference to that RFC is appropriate.

- Bernie

-----Original Message-----
From: Alfred HÎnes [mailto:ah@tr-sys.de] 
Sent: Wednesday, April 01, 2009 12:55 PM
To: dhcwg@ietf.org; Bernie Volz (volz)
Subject: draft-ietf-dhc-dhcpv4-vendor-message-00 WGLC comments

I have studied  draft-ietf-dhc-dhcpv4-vendor-message-00
and have a couple of recommendations for editorial improvements
of the draft.


(1)  Section 1, 1st para -- improved wording

For enhanced readability, I suggest to swap words:

              vvvvvvvvvvvvvvvvvv
|  The DHCPv4 [RFC2131] protocol specifies a mechanism for the
   assignment of addresses and configuration information to nodes. [...]
---           vvvvvvvvvvvvvvvvvv
|  The DHCPv4 protocol [RFC2131] specifies a mechanism for the
   assignment of addresses and configuration information to nodes. [...]


(2)  Section 3 -- document structure

This draft is structured along his DHCPv6 companion draft;
but the message structure in DHCPv4 is significantly different
than in DHCPv6.

Therefore, and to easily allow making future references to parts
of the document more precise, I suggest to split Section 3 into
three new sections:

 3.  Vendor-specific Message
 4.  Vendor Message Option
 4.1   Vendor Message Sub-Options

The new Section 3 should comprise the first 4 paragraphs of the
current Section 3.

Section 4 would start with:

|4.  Vendor Message Option
|
   The format of the Vendor Message Option is shown below:
   ...

[ Alternatively, the 4th para of Section 3 could be moved into this
  section as well -- maybe with slight rewording. ]

This section should extend down to the field explanations for the
Vendor Message Option, and include the last two paragraphs of the
old Section 3.  More details for this section are discussed below.

[ Alternatively, the last paragraph could go to the end of the new
  Section 3. ]

The remainder of the old Section 3 would go into the new subsection 4.1:

|4.1. Vendor Message Sub-Options
|

More details for this section are discussed below as well.

Note: All subsequent section numbers need to be bumped accordingly.


(3)  [old] Section 3 -- terminological clarification

The field designation "vendor-option-data" in the Vendor Message Option
seems to be chosen in an unfortunate manner.
I suggest to precisely indicate what the subsequent text specifies:
a series of regularly structured *sub*-options.
It seems to be important for clarity (within this document and future
documents making reference of it) to precisely distinguish the terms
"option" and "suboption".

Hence the field should better be designated as "vendor-msg-subopts"
[name chosen to be no longer than the old name].

This change needs to be applied to the diagram and the explanation of
"option-len", and the final field explanation should be made more
precise:

      vendor-option-data  Vendor specific data (of length option-len
                          minus 5 octets). This is optional.
---
|     vendor-msg-subopts  A sequence of zero or more sub-options
|                         (of length option-len minus 5 octets).

I suggest to split the subsequent paragraph and leave its first part
in the new Section 4, while moving the second part into Section 4.1.
There, I suggest to rename the data field using a more regular
naming pattern.

|  The vendor-msg-subopts field MUST be encoded as a sequence of code/
|  length/value fields in a format identical to the DHCP options field,
|  as specified in Section 4.1 below.
|
   << last two paragraphs of old Section 3 >>
|
|4.1. Vendor Message Sub-Options
|
|  The Vendor Message Suboptions placed into the Vendor Message Option
|  are TLV structured like regular DHCP options.
|
|  The suboption codes are defined by the vendor identified in the
|  enterprise-number field of the Vendor Message Option and are not
|  managed by IANA.  Suboption codes 0 and 255 have no pre-defined
|  interpretation or format.
|
|  Each of the encapsulated suboptions is formatted as follows:

                          1 1 1 1 1 1
      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |  subopt-code  |  subopt-len   |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|    /          subopt-data          /
     ~            ...                ~
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

|    subopt-code        The code for the encapsulated suboption.

     subopt-len         An unsigned integer giving the length of the
|                       subopt-data field in this encapsulated
|                       suboption in octets.

|    subopt-data        Data area for the encapsulated suboption.


[ Note: In all field explanations above, the word "encapsulated"
        might well be deleted; it should suffice to have it in the
        intial text of the new section -- the designation
        "sub"[option] has taken over its role. ]


Kind regards,
  Alfred HÎnes.

-- 

+------------------------+--------------------------------------------+
| TR-Sys Alfred Hoenes   |  Alfred Hoenes   Dipl.-Math., Dipl.-Phys.  |
| Gerlinger Strasse 12   |  Phone: (+49)7156/9635-0, Fax: -18         |
| D-71254  Ditzingen     |  E-Mail:  ah@TR-Sys.de                     |
+------------------------+--------------------------------------------+