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
|
|
@ -77,8 +77,8 @@ CLICON_CLISPEC_DIR libdir/APPNAME/clispec
|
|||
# are saved chronologically
|
||||
CLICON_ARCHIVE_DIR localstatedir/APPNAME/archive
|
||||
|
||||
# XXX Name of startup configuration file (in XML)
|
||||
CLICON_STARTUP_CONFIG localstatedir/APPNAME/startup-config
|
||||
# Enabled uses "startup" configuration on boot
|
||||
CLICON_USE_STARTUP_CONFIG 0
|
||||
|
||||
# Address family for communicating with clixon_backend (UNIX|IPv4|IPv6)
|
||||
CLICON_SOCK_FAMILY UNIX
|
||||
|
|
@ -118,7 +118,7 @@ CLICON_BACKEND_PIDFILE localstatedir/APPNAME/APPNAME.pidfile
|
|||
# How to generate and show CLI syntax: VARS|ALL
|
||||
# CLICON_CLI_GENMODEL_TYPE VARS
|
||||
|
||||
# Directory where "running" and "candidate" are placed
|
||||
# Directory where "running", "candidate" and "startup" are placed
|
||||
CLICON_XMLDB_DIR localstatedir/APPNAME
|
||||
|
||||
# Set if xmldb runs in a separate process (clixon_xmldb).
|
||||
|
|
@ -149,3 +149,4 @@ CLICON_CLIGEN_EXPAND_SINGLE_ARG 0
|
|||
# And change predefined callbacks, eg cli_commit -> cli_commitv in all cli files
|
||||
CLICON_CLIGEN_CALLBACK_SINGLE_ARG 1
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue