Removed obsolete config yang handler
Added base netconf as default namespace in canonical nsctx
This commit is contained in:
parent
52629d7b35
commit
d0e97ee338
8 changed files with 7 additions and 50 deletions
|
|
@ -605,8 +605,6 @@ restconf_terminate(clicon_handle h)
|
|||
clicon_rpc_close_session(h);
|
||||
if ((yspec = clicon_dbspec_yang(h)) != NULL)
|
||||
yspec_free(yspec);
|
||||
if ((yspec = clicon_config_yang(h)) != NULL)
|
||||
yspec_free(yspec);
|
||||
if ((nsctx = clicon_nsctx_global_get(h)) != NULL)
|
||||
cvec_free(nsctx);
|
||||
if ((x = clicon_conf_xml(h)) != NULL)
|
||||
|
|
|
|||
|
|
@ -648,7 +648,6 @@ main(int argc,
|
|||
/* Find and read configfile */
|
||||
if (clicon_options_main(h, yspecfg) < 0)
|
||||
goto done;
|
||||
clicon_config_yang_set(h, yspecfg);
|
||||
stream_path = clicon_option_str(h, "CLICON_STREAM_PATH");
|
||||
/* Now rest of options, some overwrite option file */
|
||||
optind = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue