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

Andy Bierman <andy@yumaworks.com> Thu, 26 October 2017 16:02 UTC

Return-Path: <andy@yumaworks.com>
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 5458813F597 for <netmod@ietfa.amsl.com>; Thu, 26 Oct 2017 09:02:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.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 gp97lDKxLpoF for <netmod@ietfa.amsl.com>; Thu, 26 Oct 2017 09:02:17 -0700 (PDT)
Received: from mail-lf0-x235.google.com (mail-lf0-x235.google.com [IPv6:2a00:1450:4010:c07::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9BB7D13B488 for <netmod@ietf.org>; Thu, 26 Oct 2017 09:02:17 -0700 (PDT)
Received: by mail-lf0-x235.google.com with SMTP id k40so4323958lfi.4 for <netmod@ietf.org>; Thu, 26 Oct 2017 09:02:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=3uY42IVD2A4TSXjigtaOdLiVFenENXJOZS/oIj2dmJI=; b=hqpFe5PXXjqyVS6TesKMpCNg0SrUNAj/FN9W5KKSZPJ7uhDPVIEQAe7/3ZAxPp1nQW /6z7vdE5vyvKV/WfmVgKIAwIH2SkuAsFz8wV3N3rnEFWLMFaoQJuzXZkfOA0sD3C/YAt GHcUSLlrE+KAMFDoLnxmyG6hXXFEdNwxK1xdb/ejMdQtzDfiDSONBo+/vYz1ywNL5j5Z Sb45zoaxYyT7arhlMO5+kEUdbtDqmJfghzHViNVRMojoNAje6GRMcNPGtXfKF6JVFP5v oSkmMGktbbfusLUbw3kjO/JX/GXY5Sc7bNXcOdcxoRK/lBt/PizNwS+b7ynQPbWXZiSm pjxQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=3uY42IVD2A4TSXjigtaOdLiVFenENXJOZS/oIj2dmJI=; b=Q+h9b7me8d0ff/02o2EjsYLVbXegsuSrEqxqZmJjobRmTzY7HjnMsVx3i7tqLtFTdk gm6NpZBRXHK1PZ5eKgbs9bzLwLgv6Jy30LktgsJXL1pjuMVngIZJC4hht5knlnyk8rAv A2Di/oZmvQThBiQlDm95VYw33Ig02uPfNRc52LdlFcwpr0rwuIHRXjP1AzUiIrnJo9kf O98ezQmznMxUxHRuPN+heqGFlF6vQ6EM3HaK8lyzDAWb4FQm0hy516xsgmknnlNfJNaY 3zx6SENhdIRP3ExEW9pmf0vQ4JuFe/zuf4ho5BGHGt790u4zNM7yBoSfQ4kgFF+jqGKV eugQ==
X-Gm-Message-State: AMCzsaVXACPGxH3TIeQlA+eUT1ZKLuhebLI9T9TbCnBke5O/HTo/CRNg SLFzb3ugRryUsEUgEZu0v6YtSLnUG7XvJ8GyiUBBWw==
X-Google-Smtp-Source: ABhQp+T+4ZDDn5i2q7AHy1BJWcV437lA76edF4JqIOE5IqZSlSx83DjRtg7bV6uQ3aSCb0a+jS/gYlPlsPlGOyQAI/Q=
X-Received: by 10.46.2.197 with SMTP id y66mr9606318lje.151.1509033735817; Thu, 26 Oct 2017 09:02:15 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.25.150.198 with HTTP; Thu, 26 Oct 2017 09:02:14 -0700 (PDT)
In-Reply-To: <f3e87c29-2a21-4ace-d0e2-4f635b7aa13f@transpacket.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>
From: Andy Bierman <andy@yumaworks.com>
Date: Thu, 26 Oct 2017 09:02:14 -0700
Message-ID: <CABCOCHRBRJgrHT9k4FBoiNOvhm0XDVHi8LRZ_1QuTOQup8-6hg@mail.gmail.com>
To: Vladimir Vassilev <vladimir@transpacket.com>
Cc: "netmod@ietf.org" <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c1cddeac72907055c754bd0"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/aFMi1GrsE2j6572RzFj5iLPCkuY>
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 16:02:19 -0000

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:

  - 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