Re: [netmod] some comments on revised-datastores-01

Andy Bierman <andy@yumaworks.com> Mon, 20 March 2017 23:21 UTC

Return-Path: <andy@yumaworks.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 010EF129412 for <netmod@ietfa.amsl.com>; Mon, 20 Mar 2017 16:21:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.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 LTkzXEmV-cKU for <netmod@ietfa.amsl.com>; Mon, 20 Mar 2017 16:21:47 -0700 (PDT)
Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (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 96BA612940E for <netmod@ietf.org>; Mon, 20 Mar 2017 16:21:47 -0700 (PDT)
Received: by mail-wm0-x22f.google.com with SMTP id v203so131729wmg.0 for <netmod@ietf.org>; Mon, 20 Mar 2017 16:21:47 -0700 (PDT)
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:from:date:message-id:subject:to :cc; bh=Mo2Rlus7zCMKKoyTeJcIa5svsgbykJAFMFon+Vkk6HE=; b=P2SwRFpIZJmxnM32kvsNciHqtcEGS8Ut1iLd8Ay9w0XOfxc7a3rfSuKwisPNPjBJtE KefX1P7xv0ImlawnPBHe8d6/wHKAzB9gB5opRKU6vxOgEc8C4QDCPYPo3iRtzKKd85r2 64SJQ9EOp0u+0ckXoOk6XSQdZ7RvwdX6NFKYb8AcMIsKfjv+rh7FgKe0NFzvKGwe8skC 0SXJdXO8JKvdPYAVL+jAGMcWZ4BzKymbwHZ0dIZzMJ3LZWrIMooCxsdBzko8uOJTcn59 QHaEI+MSQShaaphtePlb4h+OrH10HC/tEdwdbdg31h/XgnpK8nModq3RhA6FLo7Ks1D3 ZLmQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Mo2Rlus7zCMKKoyTeJcIa5svsgbykJAFMFon+Vkk6HE=; b=rylJAUhGwh3SK2KmQwDujBuOw5PxjQ4sR8ig0ZLkVZUgWmbs4Ql5ASlQEDrwCk/bmF 3qQlhLTHAPnf1CbjLrdBxnNLieVmsFRn49863JQUHLlPFoAlHdpk6pJuQdLxBnaFYmOP zxlOyvEhN39t9iF2sgHZtc4uvx3070LDRBFi1i0dCVVphslDauP5gj/8h0Ym5kmqmTMP enDHTpWnXN67baeO8S+dpwN0uQmPQrrY3qsdDq2bzvVUUZFl5ear3+cWIQV2QlHx9RLa U7VHIxjt9cxsMGruZjQmNMWYBcEcF6mOyU4rJHjALunvvPbRzCLv6nrFan28jtDUrFMU PMmA==
X-Gm-Message-State: AFeK/H1xgjb++CgiltbXQMpHxEUfU09HDmwAbCDkafP3epMVtadWNCsXWOMaA20h32tQl+FVpctvoEo3jitmWg==
X-Received: by 10.28.103.3 with SMTP id b3mr45839wmc.99.1490052106162; Mon, 20 Mar 2017 16:21:46 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.166.37 with HTTP; Mon, 20 Mar 2017 16:21:44 -0700 (PDT)
In-Reply-To: <C5A7D551-EA2C-4699-9FB2-367182CA296C@juniper.net>
References: <20170319.094733.1957440769000198080.mbj@tail-f.com> <CEDE2294-1BCB-451A-B79E-9E60294419FF@juniper.net> <20170319.173702.1332458451679178380.mbj@tail-f.com> <E5EC05F0-F65A-4C2F-A3F5-99E0088D075A@juniper.net> <20170319181630.GA32188@elstar.local> <17DE32B0-6B2A-4D55-98AC-C4B26FC4BC32@juniper.net> <20170320062722.GA32956@elstar.local> <79DEF6A3-F1AE-45C9-A88F-14796FEF884C@juniper.net> <20170320141729.GA33652@elstar.local> <4FAE1F8E-5449-4761-9950-41956A1CB7CB@juniper.net> <20170320144335.GB33724@elstar.local> <C5A7D551-EA2C-4699-9FB2-367182CA296C@juniper.net>
From: Andy Bierman <andy@yumaworks.com>
Date: Mon, 20 Mar 2017 16:21:44 -0700
Message-ID: <CABCOCHTtHF3XcWxQE3vfcyjES=MN84qrWLnTn_xq7y6OmJSJ9w@mail.gmail.com>
To: Kent Watsen <kwatsen@juniper.net>
Cc: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, "netmod@ietf.org" <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="001a114a91b27c4424054b31caec"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/BxY1PbT3TE6dvYVQ7xHmvlnCC2w>
Subject: Re: [netmod] some comments on revised-datastores-01
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: Mon, 20 Mar 2017 23:21:50 -0000

Hi,

Not sure I like the YANG module with all the datastore identities
because it makes datastore discovery more complicated.
I prefer the server advertise capabilities in the <hello> message.

More importantly, all the existing NETCONF operations use
a container with a choice in it to select the source and target for various
operations.
It is trivial for a YANG module to simply augment these choices with new
leafs,
rather than forcing all client and server implementations to duplicate
these operations
with identifyref leafs for these parameters.


Andy



On Mon, Mar 20, 2017 at 10:09 AM, Kent Watsen <kwatsen@juniper.net> wrote:

>
> > I believe this is the wrong direction, even if we rewrite the module
> > in the revised datastores document and split it into multiple modules.
> > A simple list of implemented datastores is cheap. It is flexible. It
> > does not require explanations and rules how definitions must be split
> > into modules that finally must be remembered and checked still in 5-10
> > years from now. I firmly believe that these types of 'optimizations'
> > lead to creeping complexity down the road. Lets not create CLRs how
> > modules must be structued, named, etc.
>
> That's a better answer.  At least now I get the sense that you actually
> understood what I was saying.
>
> As for your proposal, I agree with you that it would be best to have an
> explicit list.  I assume that this would be another proposed change to
> YANG Library (i.e., Section D.2 in the revised-datastores draft).  It
> will be tricky to enforce the use of this version of YANG Library in
> RESTCONF without a -bis document...
>
> K.
>
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>