I'm going to reply to both previous emails below (inline).

On Tuesday, February 21, 2017 at 12:14:37 PM UTC+1, mord reneth wrote:
>
>
> OK, Glad to know i was doing something right....
>
> I was just about to ask how to order the templates, when I saw on the 
> configuration page, in small letters at the bottom.....drag and drop the 
> order....Perhaps this could be made a bit bolder....
>
 
Created an issue for this 
too: https://github.com/openwisp/django-netjsonconfig/issues/31

I kept the ints instead of boolean because the documentation i read 
> elsewhere was using int's......i'll change to boolean and try it...
>
 
boolean in NetJSON will be converted to the appropriate UCI value.

As for optimization......how possible is it to have 'inherited' 
> templates.....so, in my example, Template Router Specific would inherit 
> from Template Roaming..... and therefor not (theoretically) need the 
> duplicate radio and ssid settings.....
>
 
Interesting idea. Don't know right now how much work would be needed to 
implement this, but let's keep it in mind.
Probably more people will need this feature.

Also, I havent found anywhere where I can duplicate/copy a template.....is 
> this possible?
>

There's no copy/duplicate button in the admin, but you can easily copy the 
NetJSON content from the advanced mode and paste it into a new template.

On Tuesday, February 21, 2017 at 1:53:07 PM UTC+1, mord reneth wrote:
>
> ok, roaming is setup, and initial testing looks extremely promising.....
>
> However, in setting up the access points, some keys need to be added to 
> the wifi-iface section, and i'm not sure how/if it can be done in 
> openwisp....
>
 
It's easy, once you understand how to do it :-)

In this case you can just add new attributes to the wireless section of the 
NetJSON.

the keys are in the form of:
>
> list r0kh '.......'
> list r1kh '.......
>
> As i can tell, using openwisp we can only insert 'option' keys??
>

See Including custom lists 
<http://netjsonconfig.openwisp.org/en/stable/backends/openwrt.html#including-custom-lists>,
 
there's also a subsection that looks similar to what you need: Wireless 
list setting example 
<http://netjsonconfig.openwisp.org/en/stable/backends/openwrt.html#wireless-list-setting-example>
.

If you still can't do it, post the UCI configuration output you need to set 
and I'll try to help you out.

Federico

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to