* New docker build (preliminary) for a development container

* Load clixon-clispec on start
This commit is contained in:
Olof hagsand 2021-12-07 20:01:14 +01:00
parent 854958b5e8
commit 8c5a5a0fb3
11 changed files with 303 additions and 9 deletions

View file

@ -268,7 +268,12 @@ autocli_start(clicon_handle h,
/* If autocli disabled quit */
if ((autocli_model = clicon_cli_genmodel(h)) == 0)
goto ok;
yspec = clicon_dbspec_yang(h);
/* Load clispec for autocli */
if (yang_spec_parse_module(h, "clixon-clispec", NULL, yspec)< 0)
goto done;
/* Get the autocli type, ie HOW the cli is generated (could be much more here) */
/* Create show_treename cbuf */
if ((show_treename = cbuf_new()) == NULL){