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

Ladislav Lhotka <lhotka@nic.cz> Fri, 15 September 2017 11:57 UTC

Return-Path: <lhotka@nic.cz>
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 5DF0B1331D7 for <netmod@ietfa.amsl.com>; Fri, 15 Sep 2017 04:57:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.999
X-Spam-Level:
X-Spam-Status: No, score=-6.999 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, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nic.cz
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 RxBubGffDciy for <netmod@ietfa.amsl.com>; Fri, 15 Sep 2017 04:56:59 -0700 (PDT)
Received: from mail.nic.cz (mail.nic.cz [IPv6:2001:1488:800:400::400]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 180F41331D2 for <netmod@ietf.org>; Fri, 15 Sep 2017 04:56:59 -0700 (PDT)
Received: from birdie (unknown [IPv6:2001:718:1a02:1::380]) by mail.nic.cz (Postfix) with ESMTPSA id 9B48762029 for <netmod@ietf.org>; Fri, 15 Sep 2017 13:56:57 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1505476617; bh=3ETyF/6aPDd/YOq3RKl1GdTV6KqLRJYDQOZv9J2724c=; h=From:To:Date; b=yE+3WizdAu0baTT41LQlyP1d57kG2X1+5Gy+JGNNXc58O4OhjxFbmj3jAzmkVvVs2 X/S94R4A2dDHXmvx7f/G0+8c4EBLkFcZ7r2JeLqQu/qP1LMxwhJTlQ8Yu+00YDnARW blxduKQptGmjWcCqKjK/n6i/Mjw7aLXik9sUXxJE=
Message-ID: <1505476654.18681.29.camel@nic.cz>
From: Ladislav Lhotka <lhotka@nic.cz>
To: netmod@ietf.org
Date: Fri, 15 Sep 2017 13:57:34 +0200
In-Reply-To: <022e01d32e17$dfd54d60$4001a8c0@gateway.2wire.net>
References: <511deba5-34ca-dde2-6637-ceaf4c4af125@labn.net> <022e01d32e17$dfd54d60$4001a8c0@gateway.2wire.net>
Organization: CZ.NIC
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.24.5
Mime-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: clamav-milter 0.99.2 at mail
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/kOhyaR0ZN2o18FL7QNJ4EV1oQKs>
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: Fri, 15 Sep 2017 11:57:00 -0000

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.

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