----- 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. 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 > > _______________________________________________ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod