Implementing NetJSON Backend To Config & Config

24 views
Skip to first unread message

Osama Luhishi

unread,
Mar 9, 2020, 8:18:47 AM3/9/20
to open...@googlegroups.com
Hey Folks, 

I've been building a backend using NetJSON for a small module that I am trying to implement for OpenWisp. I can't seem to find any documentation on how to plug this new backend into a local version of my OpenWisp Controller & Config. 

Would anyone be able to point me in the right direction?

Also, I'm looking extensively at the OpenWisp config for routers, and want to try understand it a bit more and the underlying technology used. Is there any piece of resource other than the ReadMe file that I can use to understand it better?

All the best & thank you!

Osama

Federico Capoano

unread,
Mar 9, 2020, 10:25:01 AM3/9/20
to OpenWISP
Welcome Osama,

On Mon, Mar 9, 2020 at 7:18 AM Osama Luhishi <oelu...@gmail.com> wrote:
Hey Folks, 

I've been building a backend using NetJSON for a small module that I am trying to implement for OpenWisp. I can't seem to find any documentation on how to plug this new backend into a local version of my OpenWisp Controller & Config. 

Would anyone be able to point me in the right direction?


Place this setting in your project settings.py: https://github.com/openwisp/django-netjsonconfig#netjsonconfig-backends
If you use ansible-openwisp2 there's a specific config var to add new django settings.

Also, I'm looking extensively at the OpenWisp config for routers, and want to try understand it a bit more and the underlying technology used. Is there any piece of resource other than the ReadMe file that I can use to understand it better?
 
Regarding openwisp-config, the best thing you can do is to look at the code.

The documentation we have is all available at http://openwisp.io/docs/ and in the README of each module.
We need more and better docs, but this is what we can offer right now with the current resources we have.
If you have other questions don't hesitate to ask.

Federico
Reply all
Reply to author
Forward
0 new messages