Re: [netmod] 6087bis namespace recommendations

Andy Bierman <andy@yumaworks.com> Fri, 15 January 2016 17:51 UTC

Return-Path: <andy@yumaworks.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 726DC1B306D for <netmod@ietfa.amsl.com>; Fri, 15 Jan 2016 09:51:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level:
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=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 kAWvAoHbIiaa for <netmod@ietfa.amsl.com>; Fri, 15 Jan 2016 09:51:38 -0800 (PST)
Received: from mail-lb0-x234.google.com (mail-lb0-x234.google.com [IPv6:2a00:1450:4010:c04::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AE2F61A912A for <netmod@ietf.org>; Fri, 15 Jan 2016 09:51:37 -0800 (PST)
Received: by mail-lb0-x234.google.com with SMTP id oh2so319551002lbb.3 for <netmod@ietf.org>; Fri, 15 Jan 2016 09:51:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=S1H8sKLItFXscGxLAYS1Xv+1O0jK3w31RuaBjCAFyNU=; b=uC3bt6q8W31KrXeks/ROzYKGALBlJMHf8nBrWvRYCRDNyp7BKbw85YnWBbhzVYDD2b OYdJsqk5IcBeqDt2apqp2CSIG4JIHUy9CPfDmKuf4h6VdPZ2J5sE53mYpEPKZVVGzxDC rJrqrq0/9l2F0KMvTvkU6iqMid6MxtjShL6iTN4OddqXJRWn7yDPA/wzTJmwX3mPLb9j wwBoFu8BrYbnhRw1jRlAYalwDWPfPG2MKRdLbgw4wqossiTTBjd6tiLWAoivTvuvmf8+ CTFN9iR8LmI73xyaY9EnOLMe0O4GEPglm9fiHKcdLPIxW4Bfq1efmm9GNm9GCIRZCnLE wvMw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=S1H8sKLItFXscGxLAYS1Xv+1O0jK3w31RuaBjCAFyNU=; b=e57jQNfT9qOGWAKc8xHmECI/gMRaV1eFeVbNAmPp+IIN/SxYzitInvtbUyZte8CVGW VXeAtuoFB5H8Ioqs+D2iKP1KMsxshqEp1Ca2sCT5iv6HXjM2n3RlTjR5wqU1ZCWLYzWY XxEvr+uozH2fN+34kJf58HyqMZ8WYZOOCkYg8tWu7GPrVe45VuSDgXHN8++eq3hi60/g y+n7s11MK206/ofFOHdKjGg6f7/lCVnO2xlNyqudLJqo/2quGuQCUAvRsw1XnBrEN+M2 8dBl4e7m0f7zSUc6+YHtaz2ycDEPOxMeVrxd5vHFNVeBJycyrLKpVq2+OghKl8YeVKOY QDIA==
X-Gm-Message-State: ALoCoQlAnG7sniRUF0ck5yMYhAWHMbcNxQMK3rHg/mN4aRaEaXUGT8BNcBDYj+skhTWyQYa8abH1b+2Fm6/0yFP5AfxxNsIAKw==
MIME-Version: 1.0
X-Received: by 10.112.146.34 with SMTP id sz2mr3855790lbb.96.1452880295842; Fri, 15 Jan 2016 09:51:35 -0800 (PST)
Received: by 10.112.144.36 with HTTP; Fri, 15 Jan 2016 09:51:35 -0800 (PST)
In-Reply-To: <56991258.1030204@cisco.com>
References: <20160111.101526.1720014765007751699.mbj@tail-f.com> <20160111092831.GA41568@elstar.local> <20160111.112143.1731089672764861015.mbj@tail-f.com> <20160111104855.GA41658@elstar.local> <01d301d14ef1$814dcee0$4001a8c0@gateway.2wire.net> <CABCOCHTXa-XTkY73QhM3gzFbx0zQ_a24hijCz2HOaOQ9odL9DA@mail.gmail.com> <m2oacnnkbf.fsf@birdie.labs.nic.cz> <20160115114924.GA12322@elstar.local> <301372A9-0333-4D56-B501-207C405C79F3@nic.cz> <CABCOCHRrBSn7VX3dK54TZ_GES86ANn9xzzFQFue5sJF_d17EuQ@mail.gmail.com> <9DA7DD58-6890-4BC2-A7BE-6D6F15F1B08D@nic.cz> <CABCOCHQtEFH44gLqc4hRfpxv6kaaoW99qM04JKngNMSeRqkkzA@mail.gmail.com> <F9D2D332-33CD-41B6-BAE6-DD6A8B59AD9B@nic.cz> <56991258.1030204@cisco.com>
Date: Fri, 15 Jan 2016 09:51:35 -0800
Message-ID: <CABCOCHS7jSu9QnHDAj8tJ8e6rUBeVFzrJCO1GG7_UyRZXv2ZWQ@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: Robert Wilton <rwilton@cisco.com>
Content-Type: multipart/alternative; boundary="047d7b3a85c8ef71f20529630db1"
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/HVsMhCs7vla7erlRCQJ0Co69Qw4>
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] 6087bis namespace recommendations
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Jan 2016 17:51:40 -0000

On Fri, Jan 15, 2016 at 7:38 AM, Robert Wilton <rwilton@cisco.com> wrote:

>
>
> On 15/01/2016 15:20, Ladislav Lhotka wrote:
>
>> On 15 Jan 2016, at 15:49, Andy Bierman <andy@yumaworks.com> wrote:
>>>
>>>
>>>
>>> On Fri, Jan 15, 2016 at 6:19 AM, Ladislav Lhotka <lhotka@nic.cz> wrote:
>>>
>>> On 15 Jan 2016, at 15:10, Andy Bierman <andy@yumaworks.com> wrote:
>>>>
>>>>
>>>>
>>>> On Fri, Jan 15, 2016 at 3:55 AM, Ladislav Lhotka <lhotka@nic.cz> wrote:
>>>>
>>>> On 15 Jan 2016, at 12:49, Juergen Schoenwaelder <
>>>>> j.schoenwaelder@jacobs-university.de> wrote:
>>>>>
>>>>> On Fri, Jan 15, 2016 at 12:39:16PM +0100, Ladislav Lhotka wrote:
>>>>>
>>>>>> Does this solve any practical problem? Modules are imported based on
>>>>>> the module name and revision. On the other hand, it does create new
>>>>>> problems:
>>>>>> namespace URIs and their mappings to prefixes may be spread in many
>>>>>> places in the code, and these would have to be manually edited after
>>>>>> an
>>>>>> I-D -> RFC transition.
>>>>>>
>>>>>> It would IMO be much better to use revision numbers rather than dates,
>>>>>> and adopt a convention, e.g., that modules in the I-D stage have
>>>>>> revisions 0.x that get bumped with each new revision of the I-D.
>>>>>>
>>>>>> Lada, this is not how our current YANG 1.0 versioning and revision
>>>>> rules work and we are not going to change them in YANG 1.1 either.
>>>>> The rules we have do make a distinction between published modules and
>>>>> modules that are unpublished.
>>>>>
>>>> I am not proposing it. The problem I'd like to get solved is proper
>>>> module revisioning already at the I-D stage so that implementations be able
>>>> to distinguish one revision from another. Appending DRAFT to the namespace
>>>> URI doesn't help anything.
>>>>
>>>>
>>>>
>>>> Changing the module name constantly does not help.
>>>> It would be better to just keep using revision dates.
>>>>
>>> Some I-Ds don't do even that, for example acl-model uses the same
>>> revision date in subsequent I-D revisions. I checked that this actually
>>> violates a MUST in RFC 6087.
>>>
>>>
>>>
>>> If the YANG module does not change from one I-D to the next,
>>> then the revision date does not need to change.
>>>
>> 6087(bis) says:
>>
>>     It is acceptable to reuse the same revision statement within
>>     unpublished versions (i.e., Internet-Drafts), but the revision date
>>     MUST be updated to a higher value each time the Internet-Draft is re-
>>     posted.
>>
>> I think it is a good idea.
>>
> It also think that it is a good idea.
>
> Since an ID is effectively superseded by any new versions, I think that it
> is useful if a module defined in an ID has a revision date that matches the
> published ID, and also a reference back to the ID version that defines it.
> At least if someone ends up implementing that module they can check its
> provenance.  Both of these properties would also be verifiable by idnits.
>
>
this seems like a good idea.


Rob
>
>
Andy