Load netconf notification and add create-subscription to yang.

This commit is contained in:
Olof hagsand 2018-10-23 20:43:59 +02:00
parent 71eddeaa74
commit 77e56868d4
4 changed files with 51 additions and 4 deletions

View file

@ -990,6 +990,8 @@ netconf_module_load(clicon_handle h)
/* Load yang spec */
if (yang_spec_parse_module(h, "ietf-netconf", CLIXON_DATADIR, NULL, yspec, NULL)< 0)
goto done;
if (yang_spec_parse_module(h, "ietf-netconf-notification", CLIXON_DATADIR, NULL, yspec, NULL)< 0)
goto done;
if ((xc = clicon_conf_xml(h)) == NULL){
clicon_err(OE_CFG, ENOENT, "Clicon configuration not loaded");
goto done;