Re: [core] comi and NMDA (configuration and operational state datastore)

Andy Bierman <andy@yumaworks.com> Fri, 21 July 2017 01:57 UTC

Return-Path: <andy@yumaworks.com>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D076A131CEA for <core@ietfa.amsl.com>; Thu, 20 Jul 2017 18:57:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 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_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=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 fqQdgvO2WABT for <core@ietfa.amsl.com>; Thu, 20 Jul 2017 18:57:35 -0700 (PDT)
Received: from mail-wr0-x22c.google.com (mail-wr0-x22c.google.com [IPv6:2a00:1450:400c:c0c::22c]) (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 4C715131CE4 for <core@ietf.org>; Thu, 20 Jul 2017 18:57:34 -0700 (PDT)
Received: by mail-wr0-x22c.google.com with SMTP id f21so20535431wrf.5 for <core@ietf.org>; Thu, 20 Jul 2017 18:57:34 -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; bh=S8XC0t0wJIgOQ9TOiUR/nujZNXOzoMG0kuvQ5FvF9Is=; b=vh8h4SO0+PliOLE95LNXHRJ8lDf1G2SYJHBcDk9x/znYOvIsCeJKkoxQk9viELRERe OBnWM59n2Aa4MDgS9ow43jeYUks1QkgPLTFBf2Q9X9L+hxCU5scAw3+QMzRB75ibBAVs BxhQiST5YMKTZwb94U4+Ki7wMhFmIcRMQuVEn5kWgchGwJt9Hjry8UY5CyiYgwiCcTeh fQC5ZMbK3a8f4JPlDO3STQg0g3963qR55edlGcUbGnrvbNwxzaCZpnQY4H8N1Cwm9Owv Qpe60TGVRprdWrVmk3f8r0KBuBEnb+kWEfoRtVOQIpSRvuKAh8Ru6XE10G+ZZE8uUqQZ jQYQ==
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; bh=S8XC0t0wJIgOQ9TOiUR/nujZNXOzoMG0kuvQ5FvF9Is=; b=FJOqNbJwyM5uYYp1C8N6T7xYErqb1RSqFH/EY9p/LLPMgxpDiKVAC80i08t02RCCSJ y6kkWJJsDGRdA05VY2f+T+1WQ72LNxvbi6IhIguivSgBliodziWRI4Dn+iAXGG/BG0dZ HMEN52xxuL+N18IgPrFwl54sbuCw+juohG5SNmVZrQxj25a09Gm46yHoeZLWevBOMmv9 00t147pD+aXbF5K3AqxX4+X0hmZpSZyQogRIxq88bg5/S4RCtO2HYZmnUcdY6bFgZkTa QU/DzUZJuik5mgLFKGbmhrkPPznLBzHFJhfidEwBBFHRkueij64BYkgqYVq1IkdM+V1+ hkkQ==
X-Gm-Message-State: AIVw112GqfdgQnR9hW2p5qsYrXJ5PxJGalCO3Ja97W78pfwYXlmi/FpA PaWELcNJX+zbkZj6KdTrjG0ECHpF84pq
X-Received: by 10.223.136.176 with SMTP id f45mr5191373wrf.289.1500602252820; Thu, 20 Jul 2017 18:57:32 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.152.196 with HTTP; Thu, 20 Jul 2017 18:57:32 -0700 (PDT)
In-Reply-To: <20170720094718.GG20950@elstar.local>
References: <20170720083313.GA20950@elstar.local> <CABCOCHTPt0aozaWN9tw6iXkMdP3jBHGTeQjY3w2FZPD69ETNEw@mail.gmail.com> <20170720094718.GG20950@elstar.local>
From: Andy Bierman <andy@yumaworks.com>
Date: Thu, 20 Jul 2017 18:57:32 -0700
Message-ID: <CABCOCHSEWpKV-rR3sh6a_tA0zjK07rt_RB6y0+5mNAuwZoRHsA@mail.gmail.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Andy Bierman <andy@yumaworks.com>, Core <core@ietf.org>
Content-Type: multipart/alternative; boundary="001a11492e6c3a97a80554ca302a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/F5x-iHplr2x1r7rFTwkQkg-vU6s>
Subject: Re: [core] comi and NMDA (configuration and operational state datastore)
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Jul 2017 01:57:38 -0000

On Thu, Jul 20, 2017 at 2:47 AM, Juergen Schoenwaelder <
j.schoenwaelder@jacobs-university.de> wrote:

> Hi,
>
> well, I am trying to understand what the scope of CoMI is. If CoMI is
> only for ~100k memory devices, you may be right.
>


IMO the NMDA stuff is only interesting if the device includes some sort of
dynamic configuration datastores (extremely unlikely). But in case I am
wrong,
CoMI provides full access to operation resources, so NETCONF operations
such as <edit-config> and <get-data> can be used if really needed.

A few obvious problems with using a multi-step editing process is that it
is not REST-full at all, it requires locking, it requires lock recovery
when the client goes away with outstanding locks, and it requires that
the client support lots of different server transaction models (i.e.,
just as heavyweight as NETCONF, but much harder without any session-based
interaction model).

We should be trying to make CoMI as simple as possible, not a binary
NETCONF.



> /js
>


Andy


>
> On Thu, Jul 20, 2017 at 02:44:13AM -0700, Andy Bierman wrote:
> > Hi,
> >
> > I doubt this will be a primary feature of CoMI.
> > It is similar to RESTCONF, attempting to hide datastores from the client.
> > It also allows access to any RPC (just like RESTCONF operation resources)
> > so protocol operations that support NMDA can be supported.
> >
> >
> > Andy
> >
> >
> > On Thu, Jul 20, 2017 at 1:33 AM, Juergen Schoenwaelder <
> > j.schoenwaelder@jacobs-university.de> wrote:
> >
> > > Hi,
> > >
> > > are there plans to make draft-ietf-core-comi-00 support NMDA
> > > (draft-ietf-netmod-revised-datastores-03)?
> > >
> > > /js
> > >
> > > --
> > > Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> > > Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> > > Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>
> > >
> > > _______________________________________________
> > > core mailing list
> > > core@ietf.org
> > > https://www.ietf.org/mailman/listinfo/core
> > >
>
> --
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>
>