Add -s dump-xml mode

This commit is contained in:
Philip Prindeville 2023-08-18 17:50:33 -06:00 committed by Olof Hagsand
parent 79fac840ba
commit d1b8dcdf1f
3 changed files with 12 additions and 5 deletions

View file

@ -67,7 +67,8 @@ enum startup_mode_t{
SM_INIT, /* Initialize running state */
SM_RUNNING, /* Commit running db configuration into running state */
SM_STARTUP, /* Commit startup configuration into running state */
SM_RUNNING_STARTUP /* First try running db, if it is empty try startup db */
SM_RUNNING_STARTUP, /* First try running db, if it is empty try startup db */
SM_DUMP_XML /* Dump XML configuration to stdout and exit */
};
/*! See clixon-config.yang type priv_mode (privileges mode) */