* RESTCONF configuration is unified and moved from clixon-config.yang to clixon-restconf.yang
* Except `CLICON_RESTCONF_DIR` which remains in clixon-config.yang due to bootstrapping
* -d <dir> option removed
* This applies to both evhtp and fcgi RESTCONF
* Both can also read config from backend, and be started from backend
* You may need to move config as follows (from clixon-config.yang to clixon-restconf.yang)
* CLICON_RESTCONF_PRETTY -> restconf/pretty
* CLICON_RESTCONF_PATH -> restconf/fcgi-path
This commit is contained in:
parent
72dd31395e
commit
c64878fd4a
58 changed files with 293 additions and 199 deletions
|
|
@ -1964,6 +1964,7 @@ if_feature(yang_stmt *yspec,
|
|||
*
|
||||
* @param[in] h Clicon handle
|
||||
* @param[in] ys Feature yang statement to populate.
|
||||
* Bootstrapping: A feature is enabled if found in clixon-config
|
||||
*/
|
||||
static int
|
||||
ys_populate_feature(clicon_handle h,
|
||||
|
|
@ -1980,7 +1981,9 @@ ys_populate_feature(clicon_handle h,
|
|||
char *m;
|
||||
char *f;
|
||||
|
||||
/* get clicon config file in xml form */
|
||||
/* get clicon config file in xml form.
|
||||
* Bootstrapping: A feature is enabled if found in clixon-config
|
||||
*/
|
||||
if ((x = clicon_conf_xml(h)) == NULL)
|
||||
goto ok;
|
||||
if ((ymod = ys_module(ys)) == NULL){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue