Re: [netmod] WG Last Call: draft-ietf-netmod-revised-datastores-04 guessing

Robert Wilton <rwilton@cisco.com> Thu, 28 September 2017 11:05 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 52E5B1346B0 for <netmod@ietfa.amsl.com>; Thu, 28 Sep 2017 04:05:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.5
X-Spam-Level:
X-Spam-Status: No, score=-14.5 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, SPF_PASS=-0.001, 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 q1CHcdHcAUcI for <netmod@ietfa.amsl.com>; Thu, 28 Sep 2017 04:05:10 -0700 (PDT)
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 73ACF1345D8 for <netmod@ietf.org>; Thu, 28 Sep 2017 04:05:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4204; q=dns/txt; s=iport; t=1506596709; x=1507806309; h=subject:to:references:from:message-id:date:mime-version: in-reply-to:content-transfer-encoding; bh=QgYQjjfSfC3eK75STQrspDRFcozX5cwL291w1g6Dc/o=; b=T2CrDBFC5XF7Z323qA2jNhrGy66Tm/81iEa8lcoE86VxxKqXeUs9TAQy 7ggOIb+POsBdiYhX39kpPgJz8bGftqcstZpl3lnrQP99+SibfFM0whtnN nwyXaO6Uf7c0hOet9tf59cBDQptHO8AqB8qmOPlIQFxElw2dJOB3SG59/ c=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0BwAQCZ1sxZ/xbLJq1TChkBAQEBAQEBAQEBAQcBAQEBAYRAbiePC5BgliuCEgoYC4RJTwKFKBcBAgEBAQEBAQFrKIUYAQEBAQMBATABBTYXBAsOBwECLicwBgEMBgIBAYhZgVQQqSyLAQEBAQEBAQEBAQEBAQEBAQEBAQEBARgFgyuDU4FqK4J9hFkEEYYJBYw0lHSHXoMUiW6CE4Vug1qHK410h1mBOSABNoEOMiEIHRVJhx4/NoZCgkMBAQE
X-IronPort-AV: E=Sophos;i="5.42,449,1500940800"; d="scan'208";a="697610245"
Received: from aer-iport-nat.cisco.com (HELO aer-core-1.cisco.com) ([173.38.203.22]) by aer-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Sep 2017 11:05:07 +0000
Received: from [10.63.23.161] (dhcp-ensft1-uk-vla370-10-63-23-161.cisco.com [10.63.23.161]) by aer-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id v8SB57cc015954; Thu, 28 Sep 2017 11:05:07 GMT
To: Martin Bjorklund <mbj@tail-f.com>, lhotka@nic.cz, netmod@ietf.org, "t.petch" <ietfc@btconnect.com>
References: <511deba5-34ca-dde2-6637-ceaf4c4af125@labn.net> <022e01d32e17$dfd54d60$4001a8c0@gateway.2wire.net> <1505476654.18681.29.camel@nic.cz> <20170915.142130.250716263736500205.mbj@tail-f.com>
From: Robert Wilton <rwilton@cisco.com>
Message-ID: <3bc878a3-f055-ba4a-fc05-e0e464b6bb18@cisco.com>
Date: Thu, 28 Sep 2017 12:05:06 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
MIME-Version: 1.0
In-Reply-To: <20170915.142130.250716263736500205.mbj@tail-f.com>
Content-Type: text/plain; charset="iso-8859-15"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/eLhmZkhnVFNWqc6txelKKVmzedI>
Subject: Re: [netmod] WG Last Call: draft-ietf-netmod-revised-datastores-04 guessing
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
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: Thu, 28 Sep 2017 11:05:12 -0000

The authors have discussed this issue 
(https://github.com/netmod-wg/datastore-dt/issues/15), and their 
proposal is to close this with no change to the NMDA draft with the 
following justifications:

1) This assumption is that longer term all models would become NMDA 
compliant and over time it would likely require that all modules would 
need to have this extension added, creating a CLR.

2) Defining the extension would take time, and further delay the IETF 
standardization of YANG models, but it is important that IETF actually 
gets standard YANG models published as quickly as possible so that they 
can be implemented by the industry.

3) NMDA devices can implement "non NMDA style" modules (but with 
duplication of state), and non NMDA devices can implement "NMDA style" 
modules (but with reduced functionality).

4) YANG Catalog can identify what type of style a particular module is, 
by using some heuristically analysis of the structure of the model.

Thanks,
Rob


On 15/09/2017 13:21, Martin Bjorklund wrote:
> Ladislav Lhotka <lhotka@nic.cz> wrote:
>> t.petch píše v Pá 15. 09. 2017 v 12:29 +0100:
>>> Looking at a YANG module in future, how can I tell whether or not it is
>>> written to work with revised datastores?
>> Ideally, this ought to be a wrong question. A YANG module (or rather a YANG data
>> model) should specify constraints for a data tree, no matter where the tree
>> happens to reside.
> I agree, and an old module can be implemented in an NMDA-compatible
> server (with some redundant info), and a new modules can be implemented in a
> non-NMDA-compatible server (with limited functionality).
>
> But the truth is that modules are and will be designed to fit into
> some environment (or "meta model").  For example, with NMDA, there
> will be a single tree.  If we had an annotation for "comments" on
> nodes, you wouldn't see any leafs called "description".  If we didn't
> have the ability to create things in the protocol, our models would
> have objects of type "RowStatus".  Etc.
>
>
> /martin
>
>
>> Coupling a data modelling language with rather specific aspects of an NM
>> application is a bad design.
>>
>> Lada
>>
>>> If the module is written assuming revised datastores and the environment
>>> does not support this in some regard, then we have a management
>>> malfunction, which could be disastrous.
>>>
>>> I think that there should be some mechanistic way, something that can be
>>> automated, for a system to check whether or not a module is assuming
>>> revised datastores or not.  This is a bit like the change from YANG 1.0
>>> to YANG 1.1; there needs to be a way of telling what environment the
>>> module is written for, and so we have the
>>>
>>> yang-version 1.1;
>>>
>>> statement.
>>>
>>> Revised datastores needs something similar in the module.
>>>
>>> Tom Petch
>>>
>>>
>>> ----- Original Message -----
>>> From: "Lou Berger" <lberger@labn.net>
>>> Sent: Friday, September 01, 2017 10:02 PM
>>>
>>>
>>>> All,
>>>>
>>>> This starts a two week working group last call on
>>>> draft-ietf-netmod-revised-datastores-04.
>>>>
>>>> The working group last call ends on September 17.
>>>> Please send your comments to the netmod mailing list.
>>>>
>>>> Positive comments, e.g., "I've reviewed this document and
>>>> believe it is ready for publication", are welcome!
>>>> This is useful and important, even from authors.
>>>>
>>>> Thank you,
>>>> Netmod Chairs
>>>>
>>>> _______________________________________________
>>>> netmod mailing list
>>>> netmod@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/netmod
>>> _______________________________________________
>>> netmod mailing list
>>> netmod@ietf.org
>>> https://www.ietf.org/mailman/listinfo/netmod
>> -- 
>> Ladislav Lhotka
>> Head, CZ.NIC Labs
>> PGP Key ID: 0xB8F92B08A9F76C67
>>
>> _______________________________________________
>> netmod mailing list
>> netmod@ietf.org
>> https://www.ietf.org/mailman/listinfo/netmod
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
> .
>