[core] Re: Additional CORECONF Comments
Andy Bierman <andy@yumaworks.com> Thu, 15 January 2026 21:39 UTC
Return-Path: <andy@yumaworks.com>
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 8A48EA848EFE for <core@mail2.ietf.org>; Thu, 15 Jan 2026 13:39:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks.com
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 49KM6zQuX1mq for <core@mail2.ietf.org>; Thu, 15 Jan 2026 13:39:39 -0800 (PST)
Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id F1963A848EF9 for <core@ietf.org>; Thu, 15 Jan 2026 13:39:38 -0800 (PST)
Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-382f99274e1so1609921fa.0 for <core@ietf.org>; Thu, 15 Jan 2026 13:39:38 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1768513178; cv=none; d=google.com; s=arc-20240605; b=Lcg+UV23e5/tubHnu4SEKRbc81Zz4Qcxv12fDm8uEylr5kz9KVkFqoP3YJZuqPMCv7 Y0NjQgi8BNU8S091nxLru0VLxNGprXEylQztxJIOFIRpnokVdW6dQzrBc+cHJvZJgEVB nExrhUHYqZucxyudhFoTV5OrEdNF7wk2O2gjCKzoziPj9DF978IDPiTmcvVN1PBxcW38 N+UzZBWlB4tap3trxm68DxsWrDII3h0wxM+SVJAiQwplRqJtwqCUjC16/pqaf7DhaQL5 zGCOnyjb1w/yQaEQy/+K5t1m0kJhmBMGHn/oQmZOQUHkGP3m5GsK2j8rXLw8sdUW4TQ1 9VZg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=h7gCKI2LYfil6YrEA3m/2TI27StSczw0fi81Yj3RhEY=; fh=xb1rNvB3iQB0URqIO/9vpVN3QvB5d+Vl638HtEWLWMc=; b=hu8J1hkYNCXm1HRKSFiYPRDgZ3dRabUMwC2koO5WNLT2bNhiLzkZF/zmJmh5ccenIb qhIdJGzzN2t3vPhh/j33OQ4t044MAXjExJd3bIz10YQ4l7eOcl1ZLCyO0n7R/c12rw6j bMOovactR61i53SY9C1OTMqPNA7VZ4RVvPVidg18FPEdE/DmclqBvyDLcYwZ8NHCsYDV UzbR5xfpvjXp8l4vWBM/nNzw1BfeZfTU6o99zRo8sN9cZEZutCSahzO2WtdPEQAFw6go YoGLoDYlKPQVZXiaS7mynV/QCNPbqF75j9axiHc8Zn4cTaRfJGgz0HeksZVhyk9NPTds PUAg==; darn=ietf.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks.com; s=google; t=1768513178; x=1769117978; darn=ietf.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=h7gCKI2LYfil6YrEA3m/2TI27StSczw0fi81Yj3RhEY=; b=GXr4rYaN36LmYLUwyaDCPgYj2+XSA+bRMnsRq7WkgmKV2FPFd4K7ynXYwCwnYSyqgU D0Q+1apNSr516PNihDCTvpdXI4aB1voqaGFONprksF6xs6rB1Kfuq0Abj4qy1i5TqVZN wYCvxF2K3rZxnNE4wILN3RwbJN7zWyvPft/uSY4p3cmPBGA/ySzLZC5Hu0ME6/XW4c9E KBb2KXS09nVvCBQH3Nxv8A4ZNc2jWspv3YGRDrMpXPUJxC92bqiwe/ChwxFWnVJhLl7p +CthGdhAKaPlKtMWdYBfzRCWP1X8tmCLYvNDU30dO1vJW0KnX3Zj/acMS7AWXRUflc/S F33Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768513178; x=1769117978; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=h7gCKI2LYfil6YrEA3m/2TI27StSczw0fi81Yj3RhEY=; b=teGAfzwwwLLlj3mf6QOEwj/ru3NU2Yjr8hn11juXDj8Oe2qvwPlfhlhprH5VnR88yO jAoSRZJx3yZKKH/T5WctEYOPmC8iuPOAPcjjT+yg4G3XqwskDDcSWkfunL4jeoEZ33Ud 5R7bLaEPynZn1iwU5gJp8gEUtIx/Jx5OZPGt4yeXSCjwHSkvlP2NK//8/o78zit/4t7u JAhllB1ev61gAcdh9iCOGw4yQKtgrQmf9Lfi0EzJyJ0TJDCXwbfoEvN52rwhDpL3su+P Xr2B8WKqsm/9/Ntfz5zcWg6T2E4JfmPjOEKJKwHxCYvUqkwFI84qQrKsv8XmTkFIyVdc QpsQ==
X-Gm-Message-State: AOJu0Yw0rkNOkonGnL2R0jh8f/Lxp0C54hXa0xx8XX6nSeKG4h1DNWNp B6DPV6ACjeNDtuCpun4jhm49sLd5ypPEjxVf/W6p9giI8tsFVXsrkniKIBI50lfMXJCf6gJt0hC +tCtP6/IB6tJjuCeLD1HOB9+W5RY/kipYpvlyWgtYYsl7L+zhk7wkFVEtig==
X-Gm-Gg: AY/fxX4oazvOkN3/77uclBuRj8If91wuhMdVWi/LzUAgPDed0RHKOHkeZMAWVOceOj3 L725Mgi9wsct9cPKP6QigpliAPwKVM/zyg5WFTg8jiJ7YEwrAXDxtVb8lISiOZYY3s2yf8E/Kn3 ezOKcK6zN+YWFogPKpkU2y/XjsXbUEKd0bxfOIRT9nboAXSVQWEwBK5X43/sqDvWyDxNaCsaYBL HAZ8Zy/cj0ROC3EEwGcULENHmi7RA6BwVg+lN+R/mF2HxB2ExZhUR9tq31yFzWTjHf6rQ==
X-Received: by 2002:a05:6512:3509:b0:594:33db:2836 with SMTP id 2adb3069b0e04-59baef0b90emr146151e87.6.1768513177608; Thu, 15 Jan 2026 13:39:37 -0800 (PST)
MIME-Version: 1.0
References: <47198184-469a-4c02-9a00-77dc412a74a7@nic.cz> <500b87b9-c95d-4876-af82-b644c022523f@nic.cz> <CABCOCHQEX2omZZexW4Jgc6RfgoNM=dHbNGB6PZmavn6cX2Hx5Q@mail.gmail.com>
In-Reply-To: <CABCOCHQEX2omZZexW4Jgc6RfgoNM=dHbNGB6PZmavn6cX2Hx5Q@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Thu, 15 Jan 2026 13:39:26 -0800
X-Gm-Features: AZwV_Qjcos9XK6inr47QhtVTK9g_PaVblMV0ZK8KhshywSEeD-NPazzzUwB6Jhc
Message-ID: <CABCOCHQ3-MjjmDXorAsZW5UiqP1XFirn5j3rKc+j=CvK3OdG9g@mail.gmail.com>
To: Vojtech Vilimek <vojtech.vilimek=40nic.cz@dmarc.ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Message-ID-Hash: E5SC2LBJMG43XRCIZJN3WRC4XF7IJOUZ
X-Message-ID-Hash: E5SC2LBJMG43XRCIZJN3WRC4XF7IJOUZ
X-MailFrom: andy@yumaworks.com
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
CC: core@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [core] Re: Additional CORECONF Comments
List-Id: "Constrained RESTful Environments (CoRE) Working Group list" <core.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/oZmUcoC1zkLAvGhtWHFKrsFLMKg>
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>
On Thu, Jan 15, 2026 at 1:31 PM Andy Bierman <andy@yumaworks.com> wrote: > > Hi, > > On Thu, Jan 15, 2026 at 9:48 AM Vojtech Vilimek > <vojtech.vilimek=40nic.cz@dmarc.ietf.org> wrote: > > > > 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. > > > > > I brought this issue up as well: > https://mailarchive.ietf.org/arch/msg/core/jIIuha0fonaDvjtYc9iFcKo5BgI/ > Sorry this is the wrong link. The message I meant is dated March 17, 2024, and has subject: Re: [core] WG Last Call on draft-ietf-core-comi-16 It resulted in a github issue: https://github.com/core-wg/comi/issues/15 Andy Andy > The RESTCONF 'fields' solution is more general and fairly complex. > The 'keys-only' boolean proposal should be easy to implement and > encode in a request. > > I think you are right that for operation within a constrained network > may be unusable > without the ability to efficiently discover resource instances. > > Actually, this is a problem even for NETCONF and RESTCONF, and there > are list pagination > drafts in progress to help fix it. > > > > Andy > > > > 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 mailing list -- core@ietf.org > > To unsubscribe send an email to core-leave@ietf.org
- [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