Re: [netmod] 6087bis namespace recommendations

Robert Wilton <rwilton@cisco.com> Fri, 15 January 2016 15:38 UTC

Return-Path: <rwilton@cisco.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 8D6641B2E03 for <netmod@ietfa.amsl.com>; Fri, 15 Jan 2016 07:38:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.502
X-Spam-Level:
X-Spam-Status: No, score=-14.502 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
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 UBMOKbxn25HG for <netmod@ietfa.amsl.com>; Fri, 15 Jan 2016 07:38:03 -0800 (PST)
Received: from aer-iport-1.cisco.com (aer-iport-1.cisco.com [173.38.203.51]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CACB01B2E01 for <netmod@ietf.org>; Fri, 15 Jan 2016 07:38:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2800; q=dns/txt; s=iport; t=1452872283; x=1454081883; h=subject:to:references:cc:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=V/2J2yDmYhtH8zAVqt+vkOuRErsmpkezZhfq8XlOLqY=; b=OaYLriMBYBUBqgQFAgpnUCYh83zkCwp3PKIDKEw/4jsUFCek7IiKTuP3 iu8par+J0GkXlxWJrAQQXrJYSSP9ywpVSAxGXSkYNFvPOvS24H7biJX8n iLaj+RR0CZRRerbcc/JObAn7VVFgE/WoLuqT1eDgX/LIz0AgdIXGne7RQ w=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DOAQCyEZlW/xbLJq1ehHmIWLMuAQ2BY4YPAoFuFAEBAQEBAQGBCoQ1AQEEJxE8BAEQCxAICRYPCQMCAQIBRQYBDAYCAQGIJcEfAQEBAQEBAQEBAQEBAQEBAQEBARqGVYR/iT0BBI1CiVeNXokqhVeOXSABAUKECj40hjEBAQE
X-IronPort-AV: E=Sophos;i="5.22,300,1449532800"; d="scan'208";a="648546998"
Received: from aer-iport-nat.cisco.com (HELO aer-core-4.cisco.com) ([173.38.203.22]) by aer-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Jan 2016 15:38:00 +0000
Received: from [10.63.23.135] (dhcp-ensft1-uk-vla370-10-63-23-135.cisco.com [10.63.23.135]) by aer-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id u0FFc0CA008649; Fri, 15 Jan 2016 15:38:00 GMT
To: Ladislav Lhotka <lhotka@nic.cz>, Andy Bierman <andy@yumaworks.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>
From: Robert Wilton <rwilton@cisco.com>
Message-ID: <56991258.1030204@cisco.com>
Date: Fri, 15 Jan 2016 15:38:00 +0000
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
MIME-Version: 1.0
In-Reply-To: <F9D2D332-33CD-41B6-BAE6-DD6A8B59AD9B@nic.cz>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/9bJlAGQDQklCqGcr8UNsURmSDpg>
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 15:38:05 -0000


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.

Rob