You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2nd phase: intensive testing on real devices, bugfixes, improve tests and docs
3rd phase: by this stage I'd like to test the backend direclty via openwisp2 interface but I'll need to do some extra work to make this possible - we can work together on this if you like, it also depends on how the situation evolves
As of today I have the first version, I will fill more converters to see if it is solid then it is all about writing tests and simplifying what I have done
You can try it from ee19a4b, and it should work with some default values filled in for the user.
I would like to improve the schema and the converters a little bit before doing the review? Is it ok? ETA is 2/06
I've added the status of the issue to this meta list
There are some topics such as edoput#5 where I need a netjson extension, edoput#8 where I still have to understand what configures the values, edoput#15 where I have to use a different renderer.
Next is working with ubntcfg to understand if it can be used to validate my config and cfgmtd to persist some files to the underliying storage.
You can add extra NetJSON attributes to the interfaces (or any other configuration you need). In the near future I want to find what is the lowest common denominator with different configuration backends and add those to the NetJSON spec.
I don't understand exactly what you mean for:
EdoPut/netjsonconfig#8 where I still have to understand what configures the values
and:
EdoPut/netjsonconfig#15 where I have to use a different renderer
Right now I'm working with a lot of defaults and some help from @cappe87
In edoput#15 there is the only value that needs a different renderer.
Instead of format netmode.{{key}}={{value}} it uses the netmode=bridge/router so it is netmode={{value}}, that's it.
succintly, we can do this tomorrow
I would like to squash more (136 commit are too many) and code quality
could use some improvements
* the radio section is still a mistery, maybe it will work only on a
powerbeam and we will have to come back at it later
* the user section should require an unknown salt so it can't be done by me
everything else should work
2017-07-12 16:54 GMT+02:00 Federico Capoano <[email protected]>:
@edoput great! No need to rush you can start creating the pull request so we can easily review it slowly together. I can suggest you some style improvements, test it, ecc. I would like to do it soonish but not in a rush.
I included the radio configuration as a blob and this is the first time I can use a generated configuration without having to modify anything by hand.
This is the output of the save procedure, as you can see there is only one important change, the bridge interface changed ip.
Unfortunately the ping watchdog was enabled in my configuration and I think it's gone crazy and restored the default configuration.
Other than disabling it I could investigate further with the support information I got to download. As it is a block it could be a core dump or just encrypted, it's hard to say.
Much of the work is now done and there are the 20% little things that can be configured but also have working defaults. I've tried updating the list of issues to see what needs to be done but as always the only true measure of completion and compatibility is uploading something to the antenna to see if it works.
Great work Edoardo. I suggest to get some rest and then work on making travis-ci and coveralls happy as well as refine your code if you feel some areas can be improved.
Activity
[-]Add backend for AirOS8[/-][+][GSoC17] Add backend for AirOS8[/+]nemesifier commentedon May 31, 2017
@edoput can you build a first version of your backend by the first evaluation?
We should split the work between the 3 months (we can create more issues), we could do something like:
Let me know your thoughts.
edoput commentedon Jun 1, 2017
As of today I have the first version, I will fill more converters to see if it is solid then it is all about writing tests and simplifying what I have done
You can try it from ee19a4b, and it should work with some default values filled in for the user.
I would like to improve the schema and the converters a little bit before doing the review? Is it ok? ETA is 2/06
nemesifier commentedon Jun 1, 2017
@edoput sure, go ahead
edoput commentedon Jun 19, 2017
I've added the status of the issue to this meta list
There are some topics such as edoput#5 where I need a netjson extension, edoput#8 where I still have to understand what configures the values, edoput#15 where I have to use a different renderer.
Next is working with
ubntcfgto understand if it can be used to validate my config andcfgmtdto persist some files to the underliying storage.Wish me luck!
nemesifier commentedon Jun 19, 2017
@edoput good luck!
You can add extra NetJSON attributes to the interfaces (or any other configuration you need). In the near future I want to find what is the lowest common denominator with different configuration backends and add those to the NetJSON spec.
I don't understand exactly what you mean for:
EdoPut/netjsonconfig#8 where I still have to understand what configures the valuesand:
EdoPut/netjsonconfig#15 where I have to use a different rendererCould you expand a bit?
edoput commentedon Jun 19, 2017
In edoput#8 there are a lot of values that I still don't know what the meaning is and how to configure them from netjson
Here is the list
Right now I'm working with a lot of defaults and some help from @cappe87
In edoput#15 there is the only value that needs a different renderer.
Instead of format
netmode.{{key}}={{value}}it uses thenetmode=bridge/routerso it isnetmode={{value}}, that's it.edoput commentedon Jun 29, 2017
This is a diff from the "default" configuration.
Right now the "default" configuration can be obtained by setting the advanced network management in the web interface.
In red the antenna configuration
In green the output from netjsonconfig using this netjson that closely represent the default configuration
From this diff we can see that the netconf section is approaching completion while the radio section is far from completed.
There are two new section in airos v8.3,
iptablesandebtables, which I have to work on.wirelessis near perfect andwpasupplicantbegs for some work but I don't have the slightest idea of what it does and how to use itnemesifier commentedon Jun 30, 2017
@edoput wpasupplicant is to configure encryption (see encryption object in netjson), I suggest you to focus on this next.
Regarding iptables and ebtables, very cool to know AirOS supports those, we can work on those later, as a lower priority.
nemesifier commentedon Jul 12, 2017
@edoput do you think we can start organizing a first merge somewhen soon?
edoput commentedon Jul 12, 2017
nemesifier commentedon Jul 13, 2017
@edoput great! No need to rush you can start creating the pull request so we can easily review it slowly together. I can suggest you some style improvements, test it, ecc. I would like to do it soonish but not in a rush.
edoput commentedon Jul 31, 2017
I included the
radioconfiguration as a blob and this is the first time I can use a generated configuration without having to modify anything by hand.This is the output of the
saveprocedure, as you can see there is only one important change, the bridge interface changed ip.Unfortunately the ping watchdog was enabled in my configuration and I think it's gone crazy and restored the default configuration.
Other than disabling it I could investigate further with the support information I got to download. As it is a block it could be a core dump or just encrypted, it's hard to say.
edoput commentedon Jul 31, 2017
The very same configuration, but with
pwdogdisabled succeded in configuring the antenna.But at login I was presented with the very same popup, as I firstly dismissed it it may be about the previous
pwdogincident.I'm attaching the log of the second attempt
edoput commentedon Aug 11, 2017
Much of the work is now done and there are the 20% little things that can be configured but also have working defaults. I've tried updating the list of issues to see what needs to be done but as always the only true measure of completion and compatibility is uploading something to the antenna to see if it works.
nemesifier commentedon Aug 11, 2017
Great work Edoardo. I suggest to get some rest and then work on making travis-ci and coveralls happy as well as refine your code if you feel some areas can be improved.