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/>

_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to