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:
Olof hagsand 2017-02-10 11:54:34 +01:00
parent 30a479de68
commit 4461cc9598
20 changed files with 116 additions and 159 deletions

View file

@ -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;