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

Alfred Hönes <ah@tr-sys.de> Wed, 01 April 2009 16:56 UTC

Return-Path: <A.Hoenes@tr-sys.de>
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 E14883A6842 for <dhcwg@core3.amsl.com>; Wed, 1 Apr 2009 09:56:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.987
X-Spam-Level: **
X-Spam-Status: No, score=2.987 tagged_above=-999 required=5 tests=[AWL=-0.564, BAYES_00=-2.599, CHARSET_FARAWAY_HEADER=3.2, HELO_EQ_DE=0.35, MANGLED_LIST=2.3, MIME_8BIT_HEADER=0.3]
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 Q+qwD74c0I7Z for <dhcwg@core3.amsl.com>; Wed, 1 Apr 2009 09:56:40 -0700 (PDT)
Received: from WOTAN.TR-Sys.de (gateway.tr-sys.de [213.178.172.147]) by core3.amsl.com (Postfix) with ESMTP id BDFB93A6949 for <dhcwg@ietf.org>; Wed, 1 Apr 2009 09:56:38 -0700 (PDT)
Received: from ZEUS.TR-Sys.de by w. with ESMTP ($Revision: 1.37.109.26 $/16.3) id AA105064913; Wed, 1 Apr 2009 18:55:13 +0200
Received: (from ah@localhost) by z.TR-Sys.de (8.9.3 (PHNE_25183)/8.7.3) id SAA22617; Wed, 1 Apr 2009 18:55:11 +0200 (MESZ)
From: Alfred Hönes <ah@tr-sys.de>
Message-Id: <200904011655.SAA22617@TR-Sys.de>
To: dhcwg@ietf.org, volz@cisco.com
Date: Wed, 01 Apr 2009 18:55:11 +0200
X-Mailer: ELM [$Revision: 1.17.214.3 $]
Mime-Version: 1.0
Content-Type: text/plain; charset="hp-roman8"
Content-Transfer-Encoding: 8bit
Subject: [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 16:56:41 -0000

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                     |
+------------------------+--------------------------------------------+