Re: [Netconf] {+restconf}/data
Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Thu, 19 July 2018 08:42 UTC
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DD166130DF6 for <netconf@ietfa.amsl.com>; Thu, 19 Jul 2018 01:42:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
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 o0ipJR480Hab for <netconf@ietfa.amsl.com>; Thu, 19 Jul 2018 01:42:00 -0700 (PDT)
Received: from anna.localdomain (anna.eecs.jacobs-university.de [IPv6:2001:638:709:5::7]) by ietfa.amsl.com (Postfix) with ESMTP id 5DDD4130DE8 for <netconf@ietf.org>; Thu, 19 Jul 2018 01:41:59 -0700 (PDT)
Received: by anna.localdomain (Postfix, from userid 501) id 60AB2235C7FD; Thu, 19 Jul 2018 10:41:57 +0200 (CEST)
Date: Thu, 19 Jul 2018 10:41:56 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Ladislav Lhotka <lhotka@nic.cz>
Cc: Netconf <netconf@ietf.org>
Message-ID: <20180719084156.llzgfj465hov4s47@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Ladislav Lhotka <lhotka@nic.cz>, Netconf <netconf@ietf.org>
References: <87efg0nxa1.fsf@nic.cz>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <87efg0nxa1.fsf@nic.cz>
User-Agent: NeoMutt/20180622
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/rkSSWwqSae5-SlRh6Bz2AIEL8v4>
Subject: Re: [Netconf] {+restconf}/data
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Jul 2018 08:42:03 -0000
Lada, there is no point in changing the definition of {+restconf}/data since this would lead to interoperability issues and hence {+restconf}/data remains what it is. Yes, the new datastore names are longer but we did not want to require globally unique datastore names (which would require some form of a registry and that everybody uses the registry). /js On Wed, Jul 18, 2018 at 03:45:10PM -0400, Ladislav Lhotka wrote: > Hi, > > it seems that using RESTCONF with the updated NMDA-compatible modules > leads to the (IMO undesirable) result where under the "legacy" root > "{+restconf}/data" state data are mixed with configuration. For example, > with ietf-interfaces@2018-02-20 > > GET {+restconf}/data/ietf-interfaces:interfaces > > yields configuration, state data and statistics, whereas with the old > revision ietf-interfaces@2014-05-08 GET on the same URL yields only > configuration. I think this defeats the purpose of NMDA. > > On the other hand, the short datastore-less URLs are too handy to be > simply deprecated. I would therefore propose that {+restconf}/data be > essentially an alias for the configuration datastore that the user can > directly edit. This means: > > - with writable <running> it will be an alias to running > > - if the implementation uses <candidate>, it will be an alias to > <candidate>. > > Lada > > -- > Ladislav Lhotka > Head, CZ.NIC Labs > PGP Key ID: 0xB8F92B08A9F76C67 > > _______________________________________________ > Netconf mailing list > Netconf@ietf.org > https://www.ietf.org/mailman/listinfo/netconf -- Juergen Schoenwaelder Jacobs University Bremen gGmbH Phone: +49 421 200 3587 Campus Ring 1 | 28759 Bremen | Germany Fax: +49 421 200 3103 <https://www.jacobs-university.de/>
- [Netconf] {+restconf}/data Ladislav Lhotka
- Re: [Netconf] {+restconf}/data Juergen Schoenwaelder
- Re: [Netconf] {+restconf}/data Ladislav Lhotka
- Re: [Netconf] {+restconf}/data Andy Bierman
- Re: [Netconf] {+restconf}/data Ladislav Lhotka
- Re: [Netconf] {+restconf}/data Andy Bierman
- Re: [Netconf] {+restconf}/data Juergen Schoenwaelder