Skip to content
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

[WIP][enchancement] Upload device configuration #107

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

atb00ker
Copy link
Member

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 atb00ker added this to In progress in [GSoC20] Merge modules May 5, 2020
@atb00ker atb00ker moved this from In progress to To do in [GSoC20] Merge modules May 9, 2020
@atb00ker atb00ker moved this from To do to In progress in [GSoC20] Merge modules May 9, 2020
@atb00ker atb00ker moved this from In progress to To do in [GSoC20] Merge modules May 9, 2020
@nemesifier nemesifier added this to In progress in Roadmap via automation May 21, 2020
@atb00ker atb00ker moved this from To do to Open Pull-Requests in [GSoC20] Merge modules Jun 6, 2020
@nemesifier nemesifier moved this from Open Pull-Requests to To do in [GSoC20] Merge modules Jul 4, 2020
@atb00ker
Copy link
Member Author

The other part of this PR was here: openwisp/netjsonconfig#152

@feckert
Copy link
Contributor

feckert commented Mar 18, 2021

@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.

@atb00ker
Copy link
Member Author

@feckert
Hi,

You can understand the workings of the two PRs here: openwisp/netjsonconfig#100

  1. [WIP][backward-conversion] Recognize templates #100 netjsonconfig#152
  2. [WIP][enchancement] Upload device configuration #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.

@outbackdingo
Copy link

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

@atb00ker
Copy link
Member Author

atb00ker commented May 2, 2021

Hi,

@outbackdingo , please read the response here:

  1. [WIP][enchancement] Upload device configuration #107 (comment)
  2. [backward-conversion] Recognize templates netjsonconfig#100 (comment)

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! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In progress
Roadmap
  
In progress
[GSoC20] Merge modules
  
Ready for review
Development

Successfully merging this pull request may close these issues.

None yet

4 participants