Load RFC6022 ietf-netconf-monitoring, first step

This commit is contained in:
Olof hagsand 2022-11-21 12:51:46 +01:00
parent 9217821492
commit a9a82d6e0c
3 changed files with 566 additions and 1 deletions

View file

@ -1597,9 +1597,12 @@ netconf_module_load(clicon_handle h)
/* Load ietf list pagination netconf */
if (yang_spec_parse_module(h, "ietf-list-pagination-nc", NULL, yspec)< 0)
goto done;
/* Load rfc6243 with-defaults module explicit (imported by ietf-list-pagination-nc) */
/* RFC6243 With-defaults Capability for NETCONF */
if (yang_spec_parse_module(h, "ietf-netconf-with-defaults", NULL, yspec)< 0)
goto done;
/* RFC6022 YANG Module for NETCONF Monitoring */
if (yang_spec_parse_module(h, "ietf-netconf-monitoring", NULL, yspec)< 0)
goto done;
/* Framing: If hello protocol skipped, set framing direct, ie fix chunked framing if NETCONF-1.1
* But start with default: RFC 4741 EOM ]]>]]>
* For now this only applies to external protocol