Re: [netmod] [core] js review of draft-ietf-core-sid-12

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Fri, 03 July 2020 18:25 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
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 500AE3A0D0B; Fri, 3 Jul 2020 11:25:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 h_FJgU2CQf_d; Fri, 3 Jul 2020 11:25:40 -0700 (PDT)
Received: from atlas5.jacobs-university.de (atlas5.jacobs-university.de [212.201.44.20]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D7BCF3A0D08; Fri, 3 Jul 2020 11:25:39 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas5.jacobs-university.de (Postfix) with ESMTP id 4DD82691; Fri, 3 Jul 2020 20:25:38 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas5.jacobs-university.de ([10.70.0.198]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10032) with ESMTP id eo1GW30dTCeb; Fri, 3 Jul 2020 20:25:38 +0200 (CEST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "DFN-Verein Global Issuing CA" (verified OK)) by atlas5.jacobs-university.de (Postfix) with ESMTPS; Fri, 3 Jul 2020 20:25:38 +0200 (CEST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by hermes.jacobs-university.de (Postfix) with ESMTP id 0641F20154; Fri, 3 Jul 2020 20:25:38 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10028) with ESMTP id Cjz6KzQtRhkk; Fri, 3 Jul 2020 20:25:37 +0200 (CEST)
Received: from localhost (anna.jacobs.jacobs-university.de [10.50.218.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by hermes.jacobs-university.de (Postfix) with ESMTPS id 9F408200E4; Fri, 3 Jul 2020 20:25:37 +0200 (CEST)
Date: Fri, 3 Jul 2020 20:25:36 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Ivaylo Petrov <ivaylo@ackl.io>
Cc: core <core@ietf.org>, NetMod WG <netmod@ietf.org>
Message-ID: <20200703182536.6ptq4hco5qi5rqgn@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Ivaylo Petrov <ivaylo@ackl.io>, core <core@ietf.org>, NetMod WG <netmod@ietf.org>
References: <20200330213129.m2azrbeaxrtgivfc@anna.jacobs.jacobs-university.de> <CAJFkdRz445b4n86ug=v1ruYYWbDjwnEJwUNCZvEzENu_gMV0bg@mail.gmail.com> <20200415162054.s4bjcrienqvrytfz@anna.jacobs.jacobs-university.de> <CAJFkdRyVc0Ti6nsaWbNoqMH4GZU9qB3r0EQb0MtUoueEBma-Pg@mail.gmail.com> <20200623165938.trkunon5s6wwagdc@anna.jacobs.jacobs-university.de> <CAJFkdRymDNAy3j6suaxa7nRoRp4idOtNyqgv-jPUvtJLPWAvGA@mail.gmail.com> <20200624100814.7tik6xpa6pfewtil@anna.jacobs.jacobs-university.de> <CAJFkdRzWSuju_ViTQxAh9dihgP2=Fn4C5t8NAP=zSKKCr64wEg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAJFkdRzWSuju_ViTQxAh9dihgP2=Fn4C5t8NAP=zSKKCr64wEg@mail.gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/qCNEPbF2b1a_iON-xXzI3WOE7JI>
Subject: Re: [netmod] [core] js review of draft-ietf-core-sid-12
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 03 Jul 2020 18:25:42 -0000

On Wed, Jul 01, 2020 at 05:47:54PM +0300, Ivaylo Petrov wrote:
> 
> I tried to rephrase the text about instance-identifiers. Now the
> terminology section contains a definition of namespace-qualified form that
> works for any usable schema node and the schema-node-path uses that one
> now. The latest version can be seen here [2]. The text in the YANG module
> reads:
> 
> ```
>     description
>       "A schema-node path string for use in the
>        YANG SID registry. This string additionally follows the following
> rules:
> 
>        o  The leftmost (top-level) data node name is always in the
>           namespace-qualified form.
>        o  Any subsequent schema node name is in the namespace-qualified form
>           if the node is defined in a module other than its parent node, and
>           the simple form is used otherwise. No predicates are allowed.
> 
>        This format is intended to support the YANG 1.1 ABNF
>        for a schema node identifier, except module names
>        are used instead of prefixes.";
>     reference
>       "RFC 7950, The YANG 1.1 Data Modeling Language;
>        Section 6.5: Schema Node Identifier;";
> ```

Is the intention to cover both "absolute" and "descendant" forms?

If schema-node path string are limited to the absolute form (which the
name 'schema-node _path_' suggests), perhaps say so. Here is an
attempt:

     "A schema-node path string for use in the YANG SID registry.

      A schema-node path is an absolute YANG schema node identifier as
      defined by the YANG ABNF rule absolute-schema-nodeid, except
      that module names are used instead of prefixes.

      This string additionally follows the following rules:

      o The leftmost (top-level) data node name is always in the
        namespace-qualified form.

      o Any subsequent schema node name is in the namespace-qualified
        form if the node is defined in a module other than its parent
        node, and the simple form is used otherwise. No predicates
        are allowed.";

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>