openwisp-config
openwisp-config copied to clipboard
[WIP][enchancement] Upload device configuration
This is a WIP for uploading active configurations to controller. I did basic testing on it, working to make a pull on controller to receive the uploaded configurations.
The other part of this PR was here: https://github.com/openwisp/netjsonconfig/pull/152
@atb00ker This is exactly the kind of feature I am looking for in OpenWISP. Can you explain this a little bit more, how it works?
My use case is that I have a router out in the field that is already configured. Now I want it to send the configuration from to the OpenWISP and after that I want to change the configuration from OpenWISP and not directly on the router anymore. But for that I need to import the configuration from the router into the OpenWISP.
Is this possible with your approach?
Currently there is such a merge operation going on. The whole configuration in the router is not known to the OpenWISP. The means OpenWISP merges its configuration into the router downstream.
@feckert Hi,
You can understand the workings of the two PRs here: https://github.com/openwisp/netjsonconfig/issues/100
- https://github.com/openwisp/netjsonconfig/pull/152
- https://github.com/openwisp/openwisp-config/pull/107
These are related PRs.
However, unfortunately, no one is actively working on it so perhaps, you'll need to rebase this & work on testing and fixing the errors.
why hasnt this been committed yet ? any chance we can test it ?
Hi,
@outbackdingo , please read the response here:
- https://github.com/openwisp/openwisp-config/pull/107#issuecomment-803287676
- https://github.com/openwisp/netjsonconfig/issues/100#issuecomment-816800965
If you have knowledge about openwisp-config and python, then yes please help to complete this, otherwise, It will take a little while for us to get back to this! :smile: