On Tue, Oct 20, 2020 at 04:28:45PM +0200, Martin Björklund wrote:
> Hi,
> 
> Ram Polisetty Subbaiah <[email protected]> wrote:
> > Thanks Martin,
> > 
> > One more follow up question:
> > 
> > If in case both Client and Server are compatible only with Yang 1.0,
> > how client/server are supposed to
> > handle capabilities advertisement for submodules? By any chance is it
> > a limitation in 1.0?
> 
> If the module uses include-by-revision (which it should ;-) then both
> sides know which revisions of the submodules a given revision of the
> module refers to.
> 
> In any case, a server that implements YANG 1 can implement YANG
> library revision 2016-06-21, which includes info about the submodules.
>

Perhaps a bit of extra information: The <hello> exchange can get very
long on systems that support many modules and not every client needs
the complete module list every time a connection is (re-)established.
This is why the recommendation is to use the YANG library wherever
possible, it scales better than the orignal <hello> exchange design
and it is more flexible.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>

_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to