openwisp-config icon indicating copy to clipboard operation
openwisp-config copied to clipboard

[WIP][enchancement] Upload device configuration

Open atb00ker opened this issue 5 years ago • 5 comments
trafficstars

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.

atb00ker avatar Apr 12 '20 14:04 atb00ker

The other part of this PR was here: https://github.com/openwisp/netjsonconfig/pull/152

atb00ker avatar Dec 23 '20 14:12 atb00ker

@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 avatar Mar 18 '21 15:03 feckert

@feckert Hi,

You can understand the workings of the two PRs here: https://github.com/openwisp/netjsonconfig/issues/100

  1. https://github.com/openwisp/netjsonconfig/pull/152
  2. 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.

atb00ker avatar Mar 20 '21 10:03 atb00ker

why hasnt this been committed yet ? any chance we can test it ?

outbackdingo avatar May 02 '21 07:05 outbackdingo

Hi,

@outbackdingo , please read the response here:

  1. https://github.com/openwisp/openwisp-config/pull/107#issuecomment-803287676
  2. 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:

atb00ker avatar May 02 '21 14:05 atb00ker