clicon / clixon

YANG-based toolchain including NETCONF and RESTCONF interfaces and an interactive CLI
http://www.clicon.org/
Other
215 stars 72 forks source link

Can startup mode to be extended to support running-startup mode? #234

Closed nowaits closed 3 years ago

nowaits commented 3 years ago

hi olof, In my project, when device initing, we create the startup_db file as init stage. After inited, we can only change running db, and startup_db used for reseting device. After device inited by admin, we never change startup db and when need to reset device, we just delete or overwrite running db. Currently there are no startup_mode for my need. Can extend startup_mode to support it?

olofhagsand commented 3 years ago

Proposal is to add a new startup-mode Something like: "running-startup": first try running, if empty use startup instead.

olofhagsand commented 3 years ago

Please verify functionality