Re: [dhcwg] Comments on draft-ietf-dhc-dhcpv6-opt-netboot-05

Jarrod Johnson <jarrod.b.johnson@gmail.com> Mon, 12 October 2009 15:15 UTC

Return-Path: <jarrod.b.johnson@gmail.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 86A8628C20C for <dhcwg@core3.amsl.com>; Mon, 12 Oct 2009 08:15:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.185
X-Spam-Level:
X-Spam-Status: No, score=-0.185 tagged_above=-999 required=5 tests=[BAYES_40=-0.185]
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 MCz1JqdUsIfT for <dhcwg@core3.amsl.com>; Mon, 12 Oct 2009 08:15:40 -0700 (PDT)
Received: from mail-yw0-f189.google.com (mail-yw0-f189.google.com [209.85.211.189]) by core3.amsl.com (Postfix) with ESMTP id B2B8228C1EA for <dhcwg@ietf.org>; Mon, 12 Oct 2009 08:15:40 -0700 (PDT)
Received: by ywh27 with SMTP id 27so2266886ywh.31 for <dhcwg@ietf.org>; Mon, 12 Oct 2009 08:15:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=+1ltIYMhbHH3IB5foXt2SbUbyL4zPXB4DeTcYMCtk+M=; b=T14nT2qfyCpVfAfSSPE0wkLF0uv421GmWf+ruuvxvGisGPG9YMQmDgFZ/CTHVcPDjL XL8aqWAx45cxhuIV1ojoYW8p9SsVyqznmCpsYn2sF7VTqYsxGjhTudG6jw6f2Wby87Jt Ugq7UE9Kco4QI0uFEtv1KZC5xTNyeeCEoWttU=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=HY3v0ZRMmR4GKjWXZsB/Uvxxd3dGjBpSTKEcrdnVIYPtr8QfO7JyisxvWZ/ny4NnJP k9bWPqY+tOYsl4gGm4KY36fglkO936yiBdqIpb9TmbxsqP0/Ms3QRlijXhWZ12KabOMn ipSDSer/vT9GbMZn61DAxs2dUycwFtOLGy89A=
MIME-Version: 1.0
Received: by 10.150.79.1 with SMTP id c1mr4313135ybb.75.1255360538686; Mon, 12 Oct 2009 08:15:38 -0700 (PDT)
In-Reply-To: <OF7C528424.182656B7-ONC125764B.004D3670-C125764B.004E7472@de.ibm.com>
References: <994ABFCB-3ABF-484C-9855-1EEACC663CF4@nominum.com> <200910061918.n96JI5Nv005405@cichlid.raleigh.ibm.com> <42BCDBAE-673E-44FA-B44C-42A8149D6838@nominum.com> <200910072139.12968.budm@weird-solutions.com> <OF7C528424.182656B7-ONC125764B.004D3670-C125764B.004E7472@de.ibm.com>
Date: Mon, 12 Oct 2009 11:15:38 -0400
Message-ID: <fab4e42a0910120815l489c5ac3q5cac90b7e2058939@mail.gmail.com>
From: Jarrod Johnson <jarrod.b.johnson@gmail.com>
To: Thomas Huth <THUTH@de.ibm.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: dhcwg@ietf.org, Bud Millwood <budm@weird-solutions.com>
Subject: Re: [dhcwg] Comments on draft-ietf-dhc-dhcpv6-opt-netboot-05
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: Mon, 12 Oct 2009 15:15:41 -0000

On Sat, Oct 10, 2009 at 10:16 AM, Thomas Huth <THUTH@de.ibm.com> wrote:
> Bud Millwood <budm@weird-solutions.com> wrote on 07/10/2009 21:39:12:
>> The way our GUI works, for example, you define a subencoded option,
>> then "inside it" you can only define the suboptions declared for that
> parent.
>> So the list of data you can put in the suboption is short and easy to
>> comprehend.
>
> Ok, these "sub-options" might work fine with a GUI, but I think the plain
> text configuration files of the DHCP server gets more complicated with
> sub-options. The settings then have to specified in a nested way like:
>
> option netboot = {
>   url = http://...
>   params = "acpi = off ..."
>   ...
> }

FYI, at least in ISC dhcpd, the convention for encapsulated options
that I'm familiar would look more like:
netboot.url="http://...."
netboot.params="acpi = off ..."

The downside that could occur to me is it could be a little awkward if
two fields are linked together by spec that ultimately could be
interpreted by different pieces of client code.  For example, presume
that you had 'netboot.ipl='http://some/kernel/' and
'netboot.rootpath='iscsi:etc'.  It may be conceivable that disparate
code is used to get that rootpath ready from the code that is
responsible for executing the kernel.  Still wouldn't be
insurmountable, but it's the largest downside I could come up with
since I think the textual option declaration could look pretty much
the same as separate options.