Hello Fed,
Please i don't understand why we will be performing a search of templates
for each organization in the template library. I don't know much about how
the organizations are really used in a real OpenWisp server but i think
different admins might have organizations with the same but different
internal definitions like email, url and description, etc. so seeing a
template in the library with name `org1` doesn't necessarily mean all it's
definitions are same as the `org1` in my OpenWisp instance.
Please can you explain why we need this?
Thanks

On Wed, Apr 17, 2019 at 2:08 AM Federico Capoano <[email protected]>
wrote:

> On Mon, Apr 15, 2019 at 2:34 PM Noumbissi Valere <
> [email protected]> wrote:
>
>> 😁 Thanks Fed,
>> So if say i have understood the problem, then we are saying, system
>> should be able to find the variable in template.config and replace it's
>> value with the default value supplied by the designer or the user of the
>> import template.
>>
>
> The user who imports the template will have to set the variables which
> will likely change from network to network.
>
>
>> say for example, one writes
>> {"dns_servers": "4.4.4.4"} in the variable field, then the system should
>> find *dns_servers* settings in template.config and replace it's value with
>> "4.4.4.4" and this should be done at the level of the template and not
>> device configuration.
>> If am wrong, please correct me.
>>
>
> Not only the system finds the variable, but it should be able to provide a
> key/value widget (like the one we use for editing the configuration) that
> allows users to change the values of the variable.
>
> --
> 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.
>

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