Re: [dhcwg] draft-ietf-dhc-dhcpv6-yang-04 - DUID representation in the model

Simon Hobson <dhcp1@thehobsons.co.uk> Fri, 15 December 2017 19:09 UTC

Return-Path: <dhcp1@thehobsons.co.uk>
X-Original-To: dhcwg@ietfa.amsl.com
Delivered-To: dhcwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7C972128D69; Fri, 15 Dec 2017 11:09:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YsHSmGKcbq3O; Fri, 15 Dec 2017 11:09:29 -0800 (PST)
Received: from patsy.thehobsons.co.uk (ruthandcrusoe.plus.com [81.174.150.186]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 54881126CC7; Fri, 15 Dec 2017 11:09:29 -0800 (PST)
X-Virus-Scanned: Debian amavisd-new at patsy.thehobsons.co.uk
Received: from simons-macbookpro.lan (unknown [80.229.10.150]) by patsy.thehobsons.co.uk (Postfix) with ESMTPSA id 6FE651BC3A; Fri, 15 Dec 2017 19:08:40 +0000 (UTC)
Content-Type: text/plain; charset="windows-1252"
Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
From: Simon Hobson <dhcp1@thehobsons.co.uk>
In-Reply-To: <D97294FF-5684-43B2-AD85-DB0C47D1A204@cisco.com>
Date: Fri, 15 Dec 2017 19:08:26 +0000
Content-Transfer-Encoding: quoted-printable
Message-Id: <B40E98BF-FAAF-4E48-9E10-CA69BD291D04@thehobsons.co.uk>
References: <0cab196d775e45668ef2fec69f317ce1@XCH-ALN-003.cisco.com> <7E297315-1B5B-437D-A447-221E8DAA5388@gmx.com> <A670F3DD-DEBC-40D5-8890-A5D43233362F@cisco.com> <0D8F77A1-3B91-4D6E-A7F2-5720EF0AFA51@gmx.com>, <A60591D3-7598-4BFB-9F30-A69257D65E01@thehobsons.co.uk> <D97294FF-5684-43B2-AD85-DB0C47D1A204@cisco.com>
To: "dhcwg@ietf.org" <dhcwg@ietf.org>, "draft-ietf-dhc-dhcpv6-yang@ietf.org" <draft-ietf-dhc-dhcpv6-yang@ietf.org>
X-Mailer: Apple Mail (2.1510)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/E_zB_Ps8PVWwqEGy3qepNj1BFmg>
Subject: Re: [dhcwg] draft-ietf-dhc-dhcpv6-yang-04 - DUID representation in the model
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: <dhcwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/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: Fri, 15 Dec 2017 19:09:31 -0000

Bernie Volz (volz) <volz@cisco.com> wrote:

> This is definitely a mess. But these devices are out there.

I can see both sides, but it does seem like setting the standard to fit what a vendor has done - sending the message that it's OK to ignore standards as the IETF will simply regularise it.

> Obviously there was is no collision today as my understanding is that these are ascii strings and so we have a lot of duid-types to assign before there would be a conflict.

Until someone reads the spec, sees that it's just a blob, and sets a binary string that conflicts.

> I just don’t see why we bother to separate out anything - just treat it as an opaque “blob” of data.


Indeed. It does seem odd to specify ways of generating a DUID, including a type identifier - and then prohibit using that information.


Ted Lemon <mellon@fugue.com> wrote:

> This is a valid point; realistically, when we defined DUID, we defined it as a blob, and then specified ways of doing it, but insisted that from the perspective of being used as an identifier, it was just a blob; the "how to make" part of the spec is to avoid collisions, not to make the information in the DUID available for the server to parse.
> 
> It would be reasonable to say that the yang data model should just present that binary blob to whatever is talking to it, and if that thing wants to have heuristics for picking it apart, that's fine, but the data model doesn't need to do so.

We seem to get mixed messages. On the one hand there's this text that says "do not parse the DUID", yet on this list (IIRC) you've suggested that this was simply "not well worded" and it wasn't intended to prohibit doing that.