Netconf startup configuration support. Set CLICON_USE_STARTUP_CONFIG to 1 to
enable. Eg, if backend_main is started with -CIr startup will be copied to running. Added .. as valid step in xpath
This commit is contained in:
parent
30a479de68
commit
4461cc9598
20 changed files with 116 additions and 159 deletions
|
|
@ -204,6 +204,9 @@ netconf_get_target(clicon_handle h,
|
|||
else
|
||||
if (xpath_first(x, "running") != NULL)
|
||||
target = "running";
|
||||
else
|
||||
if (xpath_first(x, "startup") != NULL)
|
||||
target = "startup";
|
||||
}
|
||||
return target;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue