[core] Additional CORECONF Comments
Vojtech Vilimek <vojtech.vilimek@nic.cz> Thu, 15 January 2026 17:48 UTC
Return-Path: <vojtech.vilimek@nic.cz>
X-Original-To: core@mail2.ietf.org
Delivered-To: core@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 1B3D8A82EC2B for <core@mail2.ietf.org>; Thu, 15 Jan 2026 09:48:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -7.101
X-Spam-Level:
X-Spam-Status: No, score=-7.101 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (1024-bit key) header.d=nic.cz
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ubk0c9asdkfH for <core@mail2.ietf.org>; Thu, 15 Jan 2026 09:47:58 -0800 (PST)
Received: from mail.nic.cz (mail.nic.cz [IPv6:2001:1488:800:400::400]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 9464EA82EC22 for <core@ietf.org>; Thu, 15 Jan 2026 09:47:58 -0800 (PST)
Received: from [IPV6:2001:1488:fffe:6:2a0b:2945:82f3:47a3] (unknown [IPv6:2001:1488:fffe:6:2a0b:2945:82f3:47a3]) by mail.nic.cz (Postfix) with ESMTPSA id BB5861C1014 for <core@ietf.org>; Thu, 15 Jan 2026 18:47:56 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nic.cz; s=default; t=1768499276; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7aFguLMg3kratwt2t03zO4yTPCZHOSkvQsrHEKVEoFc=; b=NjeaX6mzhqTT3cxznlAz4OnlSsnHGpWx/vmNSdQJoGlgVqxHxrKPXCobd0jw7uuWeRVLtA skfKb8R6V4nBgMlWQiurLtKaY2nNkUhPDgQf9tnOvQK4pPtXq3o1cOM38PdcEaaOCERbam QWHLphAAnTXPUp/lKmoLuDTuPC5kkeE=
Authentication-Results: mail.nic.cz; auth=pass smtp.auth=vojtech.vilimek@nic.cz smtp.mailfrom=vojtech.vilimek@nic.cz
Message-ID: <500b87b9-c95d-4876-af82-b644c022523f@nic.cz>
Date: Thu, 15 Jan 2026 18:47:56 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: core@ietf.org
References: <47198184-469a-4c02-9a00-77dc412a74a7@nic.cz>
Content-Language: en-US
From: Vojtech Vilimek <vojtech.vilimek@nic.cz>
In-Reply-To: <47198184-469a-4c02-9a00-77dc412a74a7@nic.cz>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Spamd-Bar: /
X-Rspamd-Queue-Id: BB5861C1014
X-Spamd-Result: default: False [-0.10 / 16.00]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; ASN(0.00)[asn:25192, ipnet:2001:1488::/32, country:CZ]; WHITELISTED_IP(0.00)[2001:1488:fffe:6:2a0b:2945:82f3:47a3]; FROM_HAS_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_SIGNED(0.00)[nic.cz:s=default]; MIME_TRACE(0.00)[0:+]
X-Rspamd-Pre-Result: action=no action; module=multimap; Matched map: WHITELISTED_IP
X-Rspamd-Action: no action
X-Rspamd-Server: mail
Message-ID-Hash: 2B2I37EXFAIAJ5RV6FZ5772DX23BV4ZK
X-Message-ID-Hash: 2B2I37EXFAIAJ5RV6FZ5772DX23BV4ZK
X-MailFrom: vojtech.vilimek@nic.cz
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-core.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [core] Additional CORECONF Comments
List-Id: "Constrained RESTful Environments (CoRE) Working Group list" <core.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/ArgBAJjKNqtghebqNZT8tOhElZ0>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Owner: <mailto:core-owner@ietf.org>
List-Post: <mailto:core@ietf.org>
List-Subscribe: <mailto:core-join@ietf.org>
List-Unsubscribe: <mailto:core-leave@ietf.org>
Hi all,
I found a crucial bug in the CORECONF: You can discover all the schema
nodes of given model in the yang-library or .well-known/core but how do
you discover instances of a list? For example in the following YANG model.
module list-inst {
prefix t;
namespace "http://example.com";
list instance {
key "name";
leaf "name" { type string; }
leaf "value" { type uint32; }
}
}
How do you discover existence of let's say instance with name "hidden"
(i.e. "/list-inst:instance[name="hidden"]" 'instance-identifier')? You
can use a GET method but the overhead for non-trivial YANG models is
going to kill any reasonable real-world usage (IMHO). The overhead is
huge because the GET will send the whole datastore (meaning all
available instance data nodes).
Also note that "/list-inst:instance" is not valid 'instance-identifier'
as it does not encode all list keys. The exactly same problem is with
using SIDs but less human readable. The only thing that changes is
instead of "/list-inst:instance" we use SID like 60,000.
I find that the protocol should be extended with ability to enumerate
list instances and ability to get length of the instance list (and
leaf-lists).
Just that I am curious, how is this done in RESTCONF?
Best regards,
Vojtech Vilimek
CZ.NIC z.s.p.o.
Czech Republic
- [core] [core]: I-D.core-comi or CORECONF Comments Vojtech Vilimek
- [core] Additional CORECONF Comments Vojtech Vilimek
- [core] Re: Additional CORECONF Comments Andy Bierman
- [core] Re: Additional CORECONF Comments Andy Bierman
- [core] Re: Additional CORECONF Comments Andy Bierman