Re: [netmod] Fwd: New Version Notification for draft-lengyel-netmod-yang-instance-data-01.txt

Robert Wilton <rwilton@cisco.com> Tue, 26 June 2018 15:44 UTC

Return-Path: <rwilton@cisco.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9EB27130EBB for <netmod@ietfa.amsl.com>; Tue, 26 Jun 2018 08:44:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.509
X-Spam-Level:
X-Spam-Status: No, score=-14.509 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
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 ay58Ri7Q-Rmm for <netmod@ietfa.amsl.com>; Tue, 26 Jun 2018 08:44:19 -0700 (PDT)
Received: from aer-iport-2.cisco.com (aer-iport-2.cisco.com [173.38.203.52]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1BB88130DFF for <netmod@ietf.org>; Tue, 26 Jun 2018 08:44:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=9652; q=dns/txt; s=iport; t=1530027859; x=1531237459; h=subject:to:references:from:message-id:date:mime-version: in-reply-to; bh=YhhVzoJHONX9TULEoPSuJ7Q7nHbTq4Vo/XNKs24ZeWE=; b=eKwlGwbh3g8/vfLgPxTh3xtQN+F5s3bjK/yIvjdeutmnIvjGQ+PMCjNa q371fvZKWUt5Y4zcoWUnOQ3NjQv+DRm7sAsA6Seq2N/Aa0sp0KFUZaSh/ gZVPIvCoaIIREBMxLrEvgX+6oDSKKQFTH1W4UG6HmZt9WvOV2kw9+L/Od g=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0B8AQCOXjJb/xbLJq1cGQEBAQEBAQEBAQEBAQcBAQEBAYMqAQEBAYFwEiiDeYhkjUEqkA6FG4FmC4RsAoM0OBQBAgEBAQEBAQJtKIU3AQUjVBIJAhgqAgJXBgEMBgIBAYMhggCRVJtHghwfhDyDboEaikM/gQ8ngmiERwESAQeDGYJVAoxHjGoJiGWGKQaIDYU9jCWFTIFYIWFxMxoIGxU7gmmCS44HPjCNSII5AQE
X-IronPort-AV: E=Sophos;i="5.51,274,1526342400"; d="scan'208,217";a="4788446"
Received: from aer-iport-nat.cisco.com (HELO aer-core-4.cisco.com) ([173.38.203.22]) by aer-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jun 2018 15:44:17 +0000
Received: from [10.63.23.83] (dhcp-ensft1-uk-vla370-10-63-23-83.cisco.com [10.63.23.83]) by aer-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id w5QFiGD2018494; Tue, 26 Jun 2018 15:44:17 GMT
To: Balazs Lengyel <balazs.lengyel@ericsson.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <152889763632.15168.12247537431295038165.idtracker@ietfa.amsl.com> <75383a97-d08b-b202-70a6-eab064963af8@ericsson.com> <b58d21a9-d27e-c8b3-e8e3-483dd6942c9e@cisco.com> <f946ca96-1cb2-e032-9adc-7df00702e216@ericsson.com> <20180626121156.fq5ioq2gh5sy3v7n@anna.jacobs.jacobs-university.de> <e50fdff6-caa2-aada-011e-534b14ffdcf1@cisco.com> <20180626135232.cdlrbbideyackdfe@anna.jacobs.jacobs-university.de> <e5877095-d5ee-d1e3-a144-a2e2a20062dc@cisco.com> <341ece85-4e00-dca4-580a-de234306c941@ericsson.com> <f470fd68-320e-8201-7045-68c8885ec3e2@cisco.com> <3cf59f95-8d26-44c5-2f30-947befa29f72@ericsson.com>
From: Robert Wilton <rwilton@cisco.com>
Message-ID: <62bfd153-cc29-e2e6-a36c-2ec28768c316@cisco.com>
Date: Tue, 26 Jun 2018 16:44:16 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0
MIME-Version: 1.0
In-Reply-To: <3cf59f95-8d26-44c5-2f30-947befa29f72@ericsson.com>
Content-Type: multipart/alternative; boundary="------------095470A58A058566A537F8C2"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/p6XeFuW0m2SssUP7z9NihjUbb_8>
Subject: Re: [netmod] Fwd: New Version Notification for draft-lengyel-netmod-yang-instance-data-01.txt
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.26
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: Tue, 26 Jun 2018 15:44:22 -0000

Note, adding it to the meta-data YANG definition does not mean that 
everyone has to populate this, it just ensures that it has a consistent 
name and semantics for clients/servers that do want to use it.

Thanks,
Rob


On 26/06/2018 16:38, Balazs Lengyel wrote:
> Any opinions on Rob's suggestion about a free-text versioning string?
> I am neutral on this.
>
> regards Balazs
>
> On 6/26/2018 5:31 PM, Robert Wilton wrote:
>> On 26/06/2018 16:20, Balazs Lengyel wrote:
>>> On 6/26/2018 4:07 PM, Robert Wilton wrote:
>>>>>>>> 7) It might want to include a semantic version number for an
>>>>>>>>        instance-data-set, depending on whether the YANG 
>>>>>>>> versioning discussions
>>>>>>>>        ends up.
>>>>>>>>
>>>>>>>>      BALAZS: Yes I would like to. However I am not exactly 
>>>>>>>> clear on what does
>>>>>>>>      backwards compatibility mean for instance data.
>>>>>>>>      Data MAY NOT be removed or changed only added. ???
>>>>>>>>      Who would use the semver numbers ???
>>>>>>> What does the version number mean? Every change of instance data 
>>>>>>> in an
>>>>>>> instacne-data-set leads to a new version number? What is a bug 
>>>>>>> fix in
>>>>>>> this sense? What is a non-backwards compatible change of 
>>>>>>> instance data?
>>>>>>> I am left a bit puzzled.
>>>>>> Probably I don't mean semantic version.  But often files have 
>>>>>> versioning, or
>>>>>> revision, information associated with them.  This can be muxed 
>>>>>> into the file
>>>>>> name/path, but it also seems like potentially useful metadata, 
>>>>>> and being
>>>>>> able to handle this generically in a consistent way might be 
>>>>>> beneficial.
>>>>>>
>>>>>> As an example, perhaps the capability information related to S/W 
>>>>>> release
>>>>>> 1.2.4, etc.
>>>>> We need to separate a version number of the instance data from the a
>>>>> version number (or version context) that may be needed in order to
>>>>> understand what a YANG (module, path) tuple means if we move to a
>>>>> different YANG versioning scheme. The later I agree would be needed,
>>>>> the former I am less sure of - at least if we talk semantic version
>>>>> numbers.
>>>> Yes, I agree with the need for the latter, that may entail listing 
>>>> the versions of the modules in the meta-data.
>>>>
>>>> But what I was actually referring to was the former, and thinking 
>>>> more of it is just being a string field in the meta-data with a 
>>>> well defined name, that is optional to populate.  Actually, I see 
>>>> the current definition already has a revision with a date and 
>>>> description string.  This is roughly along the lines of what I was 
>>>> thinking of for versioning (although I'm not sure why this should 
>>>> be a list rather than just a pair of leaves).
>>>>
>>>> Thanks,
>>>> Rob
>>> BALAZS:  IMHO if we want to use versioning (semver) to version the 
>>> instance-data-set itself we first need to understand what backwards 
>>> compatibility means for an instance data set.
>> So, I'm suggesting versioning, but not semver.  Just a string version 
>> field.  E.g. for XR I would just put in the XR release number 
>> "R4.5.1" or similar.
>
> Balazs Lengyel                       Ericsson Hungary Ltd.
> Senior Specialist
> Mobile: +36-70-330-7909              email:Balazs.Lengyel@ericsson.com  
> .