t.petch píše v Pá 06. 10. 2017 v 12:39 +0100:
> ----- Original Message -----
> From: "Ladislav Lhotka" <lho...@nic.cz>
> Sent: Thursday, October 05, 2017 1:52 PM
> > Martin Bjorklund <m...@tail-f.com> writes:
> > 
> > > This version fixes the XPath context for parent-reference.
> > > 
> > > However, there is one more thing to discuss, which is the term
> 
> "mount
> > > point".
> > > 
> > > The current text says:
> > > 
> > >    - mount point: container or list node whose definition contains
> > >      the "mount-point" extension statement. The argument of the
> > >      "mount-point" statement defines the name of the mount point.
> > > 
> > > So if we have:
> > > 
> > >   container top {
> > >     container root {
> > >       yangmnt:mount-point ni;
> > >     }
> > >   }
> > > 
> > > There is one mount point, the node /top/root, with the name "ni".
> > > 
> > > Pretty confusing...   Does anyone have any comments around this?
> > 
> > What about this?
> > 
> > OLD
> > 
> >     - mount point: container or list node whose definition contains
> >       the "mount-point" extension statement. The argument of the
> >       "mount-point" statement defines the name of the mount point.
> > 
> > NEW
> > 
> >     - mount point: container or list node whose definition contains
> >       the "mount-point" extension statement. The argument of the
> >       "mount-point" statement defines a label that is used for
> >       referencing the mount point.
> 
> Lada
> 
> Trouble is 'label' is not a defined term in RFC7950 which leaves me (and
> others) wondering what is this undefined concept.  I know plenty of
> languages that have the concept of a label but YANG is not one of them.

The argument of the "schema-mount" extension is used exclusively for the
purposes of schema mount so it is fully appropriate that the term "label" is
unknown to RFC 7950. In fact, the problem that Martin pointed to is that data
nodes in RFC 7950 already have their name and now we are introducing the same
term with a different meaning.

Lada

> 
> I looked to see what the ABNF says for inspiration but there isn't
> any:-)  I think that there should be.
> 
> I looked for a worked example for inspiration, nope, none of them
> either!   What I mean is that in e.g. A.3  mount point with name root
> appears, but that is the only instance of 'root'.  The whole point is
> that root should appear more than once, once for where the mount will
> be, and then once or more times for the part that will be mounted, so an
> example where name appears once is not an example IMHO!
> 
> Tom Petch
> 
> > Lada
> > 
> > > 
> > > 
> > > 
> > > /martin
> > > 
> 
> 
-- 
Ladislav Lhotka
Head, CZ.NIC Labs
PGP Key ID: 0xB8F92B08A9F76C67

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

Reply via email to