Re: [netconf] restconf collections

Kent Watsen <> Sat, 26 September 2020 17:21 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 4E7143A0C00 for <>; Sat, 26 Sep 2020 10:21:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.894
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: (amavisd-new); dkim=pass (1024-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id 4LWFPm7tmuAY for <>; Sat, 26 Sep 2020 10:21:03 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id F0D0C3A0BFD for <>; Sat, 26 Sep 2020 10:21:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=224i4yxa5dv7c2xz3womw6peuasteono;; 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 <>
Message-ID: <>
Content-Type: multipart/alternative; boundary="Apple-Mail=_C655D627-494A-42F6-9D7C-1E412FD750B5"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.\))
Date: Sat, 26 Sep 2020 17:21:01 +0000
In-Reply-To: <>
Cc: Andy Bierman <>, "" <>
To: Qin Wu <>
References: <>
X-Mailer: Apple Mail (2.3608.
X-SES-Outgoing: 2020.09.26-
Archived-At: <>
Subject: Re: [netconf] restconf collections
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETCONF WG list <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-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
> 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.