On Thu, Jan 07, 2016 at 04:21:42PM +0100, Martin Bjorklund wrote: > > With YANG 1.1, a leafref can be marked as "require-instance false", > which allows a interface-state-ref to be used in config: > > type if:interface-state-ref { > require-instance false; > } > // + add description that explains what happens if there is no such > // instance > > > (NOTE: this doesn't work w/ pyang at the momement, I am working on a > fix) >
And it would have to be if:interface-ref instead if:interface-state-ref I think. /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