Re: [netmod] Does YANG allow forward references to groupings?

2016-10-27 Thread William Ivory
Thanks for confirming, William -Original Message- From: Martin Bjorklund [mailto:m...@tail-f.com] Sent: 27 October 2016 12:09 To: William Ivory <wiv...@brocade.com> Cc: netmod@ietf.org Subject: Re: [netmod] Does YANG allow forward references to groupings? William Ivor

Re: [netmod] Does YANG allow forward references to groupings?

2016-10-27 Thread Martin Bjorklund
William Ivory wrote: > Hi, > > I'd appreciate clarification on whether a YANG grouping defined and > used in the same file must have the grouping definition first, before > the 'uses' statement. > > On the one hand, RFC 6020 section 7.11 states: 'Once a grouping is >

[netmod] Does YANG allow forward references to groupings?

2016-10-27 Thread William Ivory
Hi, I'd appreciate clarification on whether a YANG grouping defined and used in the same file must have the grouping definition first, before the 'uses' statement. On the one hand, RFC 6020 section 7.11 states: 'Once a grouping is defined, it can be referenced in a "uses" statement',