Re: [Netconf] {+restconf}/data

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Thu, 19 July 2018 23:31 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 3B50F130E43 for <netconf@ietfa.amsl.com>; Thu, 19 Jul 2018 16:31:34 -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 D6CyqGRCwzVW for <netconf@ietfa.amsl.com>; Thu, 19 Jul 2018 16:31:31 -0700 (PDT)
Received: from anna.localdomain (firewallix.jacobs-university.de [212.201.44.247]) by ietfa.amsl.com (Postfix) with ESMTP id 2C823130DFE for <Netconf@ietf.org>; Thu, 19 Jul 2018 16:31:31 -0700 (PDT)
Received: by anna.localdomain (Postfix, from userid 501) id E16C8235E81C; Fri, 20 Jul 2018 01:31:28 +0200 (CEST)
Date: Fri, 20 Jul 2018 01:31:28 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Ladislav Lhotka <lhotka@nic.cz>
Cc: Mahesh Jethanandani <Netconf@ietf.org>
Message-ID: <20180719233128.6nq3uosxyfadxnjw@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Ladislav Lhotka <lhotka@nic.cz>, Mahesh Jethanandani <Netconf@ietf.org>
References: <87efg0nxa1.fsf@nic.cz> <20180719084156.llzgfj465hov4s47@anna.jacobs.jacobs-university.de> <87o9f39ccy.fsf@nic.cz> <CABCOCHTa8R7xZzATFLJT56UiH3+U0ZcR2g7GBHWd_gNNYpM76Q@mail.gmail.com> <3a52d5243607493b4ee82be68669b970642acf07.camel@nic.cz>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <3a52d5243607493b4ee82be68669b970642acf07.camel@nic.cz>
User-Agent: NeoMutt/20180622
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/OoSCokTkqDHcfHOhEFSg3b9gt3k>
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 23:31:34 -0000

On Thu, Jul 19, 2018 at 05:27:53PM -0400, Ladislav Lhotka wrote:
> 
> What is "the old behavior" and how would it change with my proposal?
> The old resources and their URIs continue to exist, clients can use
> the same methods as before, only the returned data may be
> different. As my example with "ietf-interfaces" demonstrates, this
> happens already when this module is upgraded to the NMDA-compatible
> revision.

The ietf-interfaces module got updated and more nodes were added into
the tree. This is a rather normal procedure. (There never was a
requirement that config/state trees had to be split - this was just
the best thing we could do originally for ietf-interfaces.)

Clients only interested in config nodes can use the "content" query
parameter with the value "config" (RFC 8040 section 4.8.1). If clients
use the default "all", well then they get all.

/js

-- 
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/>