Re: [netconf] restconf collections

Kent Watsen <kent+ietf@watsen.net> Sat, 26 September 2020 17:21 UTC

Return-Path: <01000174cb6ea9ee-d7716c10-a691-4a97-9e99-022e4c0ef55a-000000@amazonses.watsen.net>
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 4E7143A0C00 for <netconf@ietfa.amsl.com>; Sat, 26 Sep 2020 10:21:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.894
X-Spam-Level:
X-Spam-Status: No, score=-1.894 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=amazonses.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 4LWFPm7tmuAY for <netconf@ietfa.amsl.com>; Sat, 26 Sep 2020 10:21:03 -0700 (PDT)
Received: from a8-83.smtp-out.amazonses.com (a8-83.smtp-out.amazonses.com [54.240.8.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F0D0C3A0BFD for <netconf@ietf.org>; Sat, 26 Sep 2020 10:21:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=224i4yxa5dv7c2xz3womw6peuasteono; d=amazonses.com; t=1601140861; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:In-Reply-To:Cc:To:References:Feedback-ID; bh=NDsA60OkoW2WPEtiULxaxwP4bnOv1b7rdakn44Laz0I=; b=H5+XM/XDuHKf5ZqagJpGz0Z7UHgg4RLP4ihp1D6WIZ5ITdkVOledhsUy2IB4+Wdk E02OOKe9SdIXA84W4u/IJVpk0wGO8Ycq/f7cgBnyymYZph3gWE6Iqwz8pCG5K4WdHZh I9wTcSixz+p93jb97qObQ+xO8mHjI3m3SH+5aSjc=
From: Kent Watsen <kent+ietf@watsen.net>
Message-ID: <01000174cb6ea9ee-d7716c10-a691-4a97-9e99-022e4c0ef55a-000000@email.amazonses.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_C655D627-494A-42F6-9D7C-1E412FD750B5"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\))
Date: Sat, 26 Sep 2020 17:21:01 +0000
In-Reply-To: <B8F9A780D330094D99AF023C5877DABAADA1006E@dggeml511-mbs.china.huawei.com>
Cc: Andy Bierman <andy@yumaworks.com>, "netconf@ietf.org" <netconf@ietf.org>
To: Qin Wu <bill.wu@huawei.com>
References: <B8F9A780D330094D99AF023C5877DABAADA1006E@dggeml511-mbs.china.huawei.com>
X-Mailer: Apple Mail (2.3608.80.23.2.2)
X-SES-Outgoing: 2020.09.26-54.240.8.83
Feedback-ID: 1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/POIwl4xYDAaucz1wdq0Qd71iZwQ>
Subject: Re: [netconf] restconf collections
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETCONF WG 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: Sat, 26 Sep 2020 17:21:04 -0000

Hi Qin,

> (My concern is that the IETF version will be too complex to implement or use as the feature list grows.)
> [Qin]:That’s the issue we try to address in our customer’s scenarios. If the solution only focuses on list, the complexity is controllable. If the scope is not limited to list, XAPTH filtering and query actually provides a good solution to navigate from root node to leaf node.

The functionality is only for lists.  The functionality (e.g., paging) being discussed only make sense for lists...


> It is easy. Use RPC operations which map to RESTCONF POST automatically.
>  
> [Qin]: Agree, NETCONF fragment provide an example on what RPC operations look like
> https://tools.ietf.org/html/draft-zheng-netconf-fragmentation-02
> which is similar to getbulk operation.

The <get-block> RPC may be a good starting point.  It would be good to also look at Andy’s <get-bulk> RPC for inspiration.


K.