[netmod] Question on RFC8342 + RESTCONF extension (draft-ietf-netconf-nmda-restconf)

"Seehofer, Markus" <Markus.Seehofer@belden.com> Tue, 11 December 2018 14:17 UTC

Return-Path: <prvs=2883d11db5=markus.seehofer@belden.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 DB3EC127333 for <netmod@ietfa.amsl.com>; Tue, 11 Dec 2018 06:17:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] 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 l61GfLo90QXu for <netmod@ietfa.amsl.com>; Tue, 11 Dec 2018 06:17:09 -0800 (PST)
Received: from mail3.belden.com (mail3.belden.com [12.168.192.246]) (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 985BA126F72 for <netmod@ietf.org>; Tue, 11 Dec 2018 06:17:09 -0800 (PST)
Received: from pps.filterd (dcric1ppa03pa.mcp.local [127.0.0.1]) by dcric1ppa03pa.mcp.local (8.16.0.22/8.16.0.22) with SMTP id wBBEF4oU022980 for <netmod@ietf.org>; Tue, 11 Dec 2018 09:17:08 -0500
Received: from dcric1exc03pa.mcp.local (dcric1exc03pa.mcp.local [10.10.181.23]) by dcric1ppa03pa.mcp.local with ESMTP id 2pa3sbtqsa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=FAIL) for <netmod@ietf.org>; Tue, 11 Dec 2018 09:17:08 -0500
Received: from DCRIC1EXC03PA.mcp.local (10.10.181.23) by DCRIC1EXC03PA.mcp.local (10.10.181.23) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 11 Dec 2018 09:17:07 -0500
Received: from DCRIC1EXC03PA.mcp.local ([172.16.254.23]) by DCRIC1EXC03PA.mcp.local ([172.16.254.23]) with mapi id 15.00.1367.000; Tue, 11 Dec 2018 09:17:07 -0500
From: "Seehofer, Markus" <Markus.Seehofer@belden.com>
To: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: Question on RFC8342 + RESTCONF extension (draft-ietf-netconf-nmda-restconf)
Thread-Index: AdSRW5qHNYi/eHfrTieT+mUbUnzcbQ==
Date: Tue, 11 Dec 2018 14:17:07 +0000
Message-ID: <dee9854618dc46088972a34926c104c1@DCRIC1EXC03PA.mcp.local>
Accept-Language: de-DE, en-US
Content-Language: de-DE
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [46.5.19.128]
x-c2processedorg: 157cf0a0-3349-4636-89a5-bb6917ccdf3c
Content-Type: multipart/alternative; boundary="_000_dee9854618dc46088972a34926c104c1DCRIC1EXC03PAmcplocal_"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-12-11_04:, , signatures=0
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/nfTeR6826wjPWT3CsX0mDmkK9Gs>
Subject: [netmod] Question on RFC8342 + RESTCONF extension (draft-ietf-netconf-nmda-restconf)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 11 Dec 2018 14:17:13 -0000

Hello,

Reading RFC 8342 along with draft-ietf-netconf-nmda-restconf-05 I've some questions or comprehension problems with the text.


1.       RFC 8342 (NMDA)
Chapter 5.3.  The Operational State Datastore (<operational>) says:
"The operational state datastore (<operational>) is a read-only datastore ... "
Chapter 6.2. Invocation of Actions and RPCs says:
"Actions are always invoked in the context of the operational state datastore. The node for which the action is invoked MUST exist in the operational state datastore."

Chapter 3.1 in https://tools.ietf.org/pdf/draft-ietf-netconf-nmda-restconf-05 says:
"YANG actions can only be invoked in {+restconf}/ds/ietf-datastores:operational."

Question: How can one invoke an action in a as read-only defined datastore? Or am I missing something?



2.       The NMDA is a huge step forward for NC and RC, thanks for that. NMDA in combination with the new RESTCONF extensions let one now select one of the named datastores
in RFC 8342. Reading the RFC and draft I'm still missing (or even more overlook I guess) the following. RFC 8040 Chapter 4.5 says:
"A PUT on the datastore resource is used to replace the entire contents of the datastore...". So does this mean one can have the same behavior as in NETCONF where you can copy
the "running" config to "startup" or "candidate" config to "running" if a RESTCONF server would support them? Is there any example how this would look like if it is allowed?


3.       Typo in https://tools.ietf.org/pdf/draft-ietf-netconf-nmda-restconf-05 Chapter 3.1 "the server would implement the resource {+restconf}/ds/example- ds-ephemeral:ds-ephemeral."
There is a space in between "example-" and "ds-ephemeral:ds-ephemeral".


Best Regards,
Markus Seehofer
------------------------------------------------------------------------------------
Dipl.-Ing. (FH) Markus Seehofer - markus.seehofer@belden.com

**********************************************************************
DISCLAIMER:
Privileged and/or Confidential information may be contained in this message. If you are not the addressee of this message, you may not copy, use or deliver this message to anyone. In such event, you should destroy the message and kindly notify the sender by reply e-mail. It is understood that opinions or conclusions that do not relate to the official business of the company are neither given nor endorsed by the company. Thank You.