Ram Polisetty Subbaiah <[email protected]> wrote:
> Hi,
> 
> As per RFC 6020:
> 
> ===
> https://tools.ietf.org/html/rfc6020#section-5.6.4.1   Modules
>    Servers indicate the names of supported modules via the <hello>
>    message.  Module namespaces are encoded as the base URI in the
>    capability string, and the module name is encoded as the "module"
>    parameter to the base URI.
> 
>    A server MUST advertise all revisions of all modules it implements.
> 
>    For example, this <hello> message advertises one module "syslog".
> 
>    <hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
>      <capability>
>        http://example.com/syslog?module=syslog&amp;revision=2008-04-01
>      </capability>
>    </hello>
> ===
> 
> My question is, if there are some submodules, should server advertise
> the submodules also in <hello>?

No.

Note that module advertisement is done through YANG library in YANG
1.1 (RFC 7950).  Submodules are present in the YANG library (RFC
8525).


/martin


> If so, what is the defined format for advertising the same?
> 
> Thanks,
> Ram
> 
> 
> Juniper Business Use Only
> _______________________________________________
> netmod mailing list
> [email protected]
> https://www.ietf.org/mailman/listinfo/netmod

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

Reply via email to