-
Notifications
You must be signed in to change notification settings - Fork 72
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
[RFC] Add a way to say that certain data is stored in system state only and not in the clixon database #534
base: master
Are you sure you want to change the base?
[RFC] Add a way to say that certain data is stored in system state only and not in the clixon database #534
Commits on Sep 27, 2024
-
Add a way to report rpc-errors from a plugin
Add plugin_rpc_err(), which works something like clixon_err, but it saves error information from a plugin for reporting rpc-errors that need to be returned. Signed-off-by: Corey Minyard <corey@minyard.net>
Configuration menu - View commit details
-
Copy full SHA for 49b6e43 - Browse repository at this point
Copy the full SHA 49b6e43View commit details -
Add basic infrastructure for xmldb stateonly data
Signed-off-by: Corey Minyard <corey@minyard.net>
Configuration menu - View commit details
-
Copy full SHA for e97a27e - Browse repository at this point
Copy the full SHA e97a27eView commit details -
Add an option to not store temporary databases on disk
Don't store "candidate" or any other database except "running" on disk, only keep it in memory, if CLIXON_TMPDB_VOLATILE is true. This, along with the stateonly handling, can be used to avoid storing sensitive data in the clixon databases. Signed-off-by: Corey Minyard <corey@minyard.net>
Configuration menu - View commit details
-
Copy full SHA for 08e055a - Browse repository at this point
Copy the full SHA 08e055aView commit details -
Start implementation of stateonly
Signed-off-by: Corey Minyard <corey@minyard.net>
Configuration menu - View commit details
-
Copy full SHA for b412ea4 - Browse repository at this point
Copy the full SHA b412ea4View commit details -
Signed-off-by: Corey Minyard <corey@minyard.net>
Configuration menu - View commit details
-
Copy full SHA for 81776ac - Browse repository at this point
Copy the full SHA 81776acView commit details -
Rework the stateonly add to take an XMl path
Using a string for a path didn't work, when adding path elements to the tree using it you need to add a namespace in certain places. So take an XML path instead and use the namespaces from that. Signed-off-by: Corey Minyard <corey@minyard.net>
Configuration menu - View commit details
-
Copy full SHA for a5c9c6c - Browse repository at this point
Copy the full SHA a5c9c6cView commit details -
Remove stateonly data from the startup database
It can get there from the user or from defaults, but we don't want it. Also add some documentation on some functions. Signed-off-by: Corey Minyard <corey@minyard.net>
Configuration menu - View commit details
-
Copy full SHA for 7fa46b3 - Browse repository at this point
Copy the full SHA 7fa46b3View commit details -
Add some comments on stateonly, fix db issues with those calls
If passing in an XML tree to the stateonly functions, completely ignore the database, don't do anything to it. Signed-off-by: Corey Minyard <corey@minyard.net>
Configuration menu - View commit details
-
Copy full SHA for e3dcba2 - Browse repository at this point
Copy the full SHA e3dcba2View commit details -
The database must be sorted afer reading in the data from xmldb or other operations won't work correctly. Add the stateonly data to the running database during a commit operation so the compare will work correclty. Signed-off-by: Corey Minyard <corey@minyard.net>
Configuration menu - View commit details
-
Copy full SHA for c92581d - Browse repository at this point
Copy the full SHA c92581dView commit details -
stateonly: Don't remove the stateonly on a commit failure
The data is expected to still be in the candidate database unless it is discarded, so don't delete it. Signed-off-by: Corey Minyard <corey@minyard.net>
Configuration menu - View commit details
-
Copy full SHA for a3daabe - Browse repository at this point
Copy the full SHA a3daabeView commit details
Commits on Sep 28, 2024
-
backend: Make sure candidate database gets cleaned properly on restconf
The candidate commit function need to always clean the candidate database at the end. Signed-off-by: Corey Minyard <corey@minyard.net>
Configuration menu - View commit details
-
Copy full SHA for c0e8e11 - Browse repository at this point
Copy the full SHA c0e8e11View commit details