I am fairly new to Netconf protocol and currently reading standards and trying to figure out conventions. I have 2 questions:
1- I have seen that some vendors provide a documentation describing possible Netconf actions (i.e. how to change device name) and regarding XML request/response pairs. Some vendors do not provide any documentation at all. It can be said that as YANG models are accessible per Netconf session, an extra documentation is not required as long as YANG models contain sufficient descriptions inside. What is the conventional approach? Is it expected to have a separate documentation with examples or are YANG models the document’s itself?
2- As far as I understand from standards, server shares all loaded YANG models with client. In contrast, I have seen some ConfD features to hide models (even specific containers I guess). Except access control topic, I don’t see any reason to hide some of the models. Again, what is the convention here? Is it common to hide some models, for instance non-config models like type definitions or standard (i.e. IETF) models?