Hi,

I have one question about how to implement YANG module that import other-module 
which is NOT be implemented?

For example, module-A import module-B, but any nodes that depend on B are 
not-supported

Module A {
   import module-B;
}

There are two way to mark module-B is not really in use:

Option-1: refer conformance-type in RFC 7895 (ietf-yang-library), mark module-A 
as "implement", module-B is "import"
This way seems work, but some teammates think it may not comply with RFC. And 
we also argue about what module-B should be presented in <hello>

<capabilities>
   <capability>module-A</capability>
   <capability>module-B</capability>            ===>should any "import" module 
MUST be sent by server to client also?
<capabilities>

Option-2: mark module-B as "implement" also, but mark all-nodes as deviated
This way seems work also, but it will cause NETCONF-client and NETCONF-server 
load module that have NO node that can be accessed

Thanks.

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

Reply via email to