On Mon, Jun 08, 2015 at 03:22:11PM +0200, Ladislav Lhotka wrote: > Juergen Schoenwaelder <j.schoenwael...@jacobs-university.de> writes: > > > RFC 6020 section 9.9: > > > > The leafref type is used to reference a particular leaf instance in > > the data tree. The "path" substatement (Section 9.9.2) selects a set > > of leaf instances, and the leafref value space is the set of values > > of these leaf instances. > > > > I think the last statement above already clarifies this, no? > > I think this is a stricter constraint that addresses the > "require-instance true" case : possible leafref values are limited to > those that instances of the referenced leaf really have. > > 6020bis should IMO say something like this: > > The "path" substatement (Section 9.9.2) selects a set of leaf > instances. If the "require-instance" property (Section 9.9.3) is set to > "true", the leafref value space is the set of values of these leaf > instances. Otherwise, the leafref value MUST be a valid value of the > data type that is defined for the referenced leaf.
This makes sense. /js -- Juergen Schoenwaelder Jacobs University Bremen gGmbH Phone: +49 421 200 3587 Campus Ring 1 | 28759 Bremen | Germany Fax: +49 421 200 3103 <http://www.jacobs-university.de/> _______________________________________________ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod