-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UNIX copy
command to load/save/check .cfg files
#373
Comments
@wkz + @mattiaswal RFC on an idea I that's been floating around for a while. The most important feature in my mind right now is the validation, so that users can verify the new configuration would actually work. |
I like it! Some initial thoughts:
|
Interesting, maybe as a general rule of thumb, use the same names as we use today in the CLI admin-exec context, in this case For the validation, my idea was to connect to sysrepo, import the file to candidate, and run the validation/check we do today from the CLI. That way we don't need to first extract all modules and enabled features using A validation could then look like:
|
Yes, that is way better than my suggestion! 👍 |
cfg
to load/save and validate .cfg filescopy
command to load/save/check .cfg files
Make sure to clean up any relative-path checks as well, see #717 (comment) |
Suggestion to add a command line tool, similar to sysrepocfg, but one that knows more about Infix.
/cfg
for storing files.cfg
files, when importing old backupsThe text was updated successfully, but these errors were encountered: