Re: [netmod] [Technical Errata Reported] RFC7950 (5157)

Ladislav Lhotka <lhotka@nic.cz> Thu, 26 October 2017 17:55 UTC

Return-Path: <lhotka@nic.cz>
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 A61E913F5D2 for <netmod@ietfa.amsl.com>; Thu, 26 Oct 2017 10:55:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.999
X-Spam-Level:
X-Spam-Status: No, score=-6.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nic.cz
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 lyoaRDovHYor for <netmod@ietfa.amsl.com>; Thu, 26 Oct 2017 10:55:01 -0700 (PDT)
Received: from mail.nic.cz (mail.nic.cz [IPv6:2001:1488:800:400::400]) (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 42A9F13F5D0 for <netmod@ietf.org>; Thu, 26 Oct 2017 10:55:01 -0700 (PDT)
Received: from birdie5 (unknown [IPv6:2a01:5e0:29:ffff:ffc6:c393:cdb9:8db1]) by mail.nic.cz (Postfix) with ESMTPSA id 4E419626EB for <netmod@ietf.org>; Thu, 26 Oct 2017 19:54:59 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1509040499; bh=Lxa+TzmrwMXcWkk92tfEVRDaQBZzFqPcG5xAKx6He2Q=; h=From:To:Date; b=IKBHh5pyvYL2c4WDrxjgeX7/u1GmaFpJ8Af78Ddi/PMt1dsKZ0aVrbe1su5/813H9 pDsdOr26+O0IkbgZhPWxE2q2UfswQZpH8VGP/W5EEf0BilS8tm//xp/IQik38OsYch wQJ0kK7j9XAQprb9TsnrQzLUjolNVfbb578pV1j0=
Message-ID: <1509040558.4084.3.camel@nic.cz>
From: Ladislav Lhotka <lhotka@nic.cz>
To: netmod@ietf.org
Date: Thu, 26 Oct 2017 19:55:58 +0200
In-Reply-To: <CABCOCHRBRJgrHT9k4FBoiNOvhm0XDVHi8LRZ_1QuTOQup8-6hg@mail.gmail.com>
References: <67172aec-686f-90ba-0fc8-1ce2bc3dcdb4@cisco.com> <CABCOCHRP2ooSG1BGWehD8BsCDF-pX97Q++=WftOxGvf=S57GAQ@mail.gmail.com> <6d43c6fb-ae11-df39-0dd4-766f7b25ac82@transpacket.com> <20171023.133559.470792369996870413.mbj@tail-f.com> <ca6baac5-b30a-de80-24e0-8463f01ec67f@transpacket.com> <CABCOCHRv-1JCq9GSP1KMCnm4fOi4TS_M9hUpNRt0Kn-PLdguww@mail.gmail.com> <f3e87c29-2a21-4ace-d0e2-4f635b7aa13f@transpacket.com> <CABCOCHRBRJgrHT9k4FBoiNOvhm0XDVHi8LRZ_1QuTOQup8-6hg@mail.gmail.com>
Organization: CZ.NIC
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.26.1
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: clamav-milter 0.99.2 at mail
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/uWi7wlGxyCZQEDNLblAjV3UUZVo>
Subject: Re: [netmod] [Technical Errata Reported] RFC7950 (5157)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
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: Thu, 26 Oct 2017 17:55:03 -0000

On Thu, 2017-10-26 at 09:02 -0700, Andy Bierman wrote:
> 
> 
> On Tue, Oct 24, 2017 at 5:27 AM, Vladimir Vassilev <vladimir@transpacket.com> wrote:
> > On 10/24/2017 03:42 AM, Andy Bierman wrote:
> > 
> > > ....
> > > 
> > > Although the instance-identifier is problematic, it is rarely used at all,
> > > let alone using it as a list key.
> > > 
> >  It is used as a key in ietf-alarms /alarms/alarm-list/alarm.
> > > ...
> 
> I guess if you wanted to create the most complex module possible,
> using an XPath instance-identifier as a list key is a good start.
> 
> It's too bad we can't use the RESTCONF path URI string as an i-i:

Why not? Just use JSON. XML is bound to be abadoned, sooner or later.

Lada

> 
>   - the only representation is also the canonical representation
>   - the list keys are much less verbose (required to be in schema order)
>   - percent-encoded chars are allowed, which are simpler than character entities
>     and much simpler than the concat() function
>   - no use of prefix mappings at all so i-i strings are complete and permanent
> 
> 
> Andy
> 
> 
>  
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
-- 
Ladislav Lhotka
Head, CZ.NIC Labs
PGP Key ID: 0xB8F92B08A9F76C67