Ticket #266 (new)

Opened 9 years ago

Last modified 3 years ago

Možnost dobiti konfiguracijo tudi, če ne nastaviš tipa opreme točke

Reported by: mitar Owned by: kostko
Priority: major Milestone: Next milestone
Component: nodewatcher/modules Version:
Keywords: Cc:
Related nodes: Realization state:
Blocking: Effort: normal
Blocked by: Security sensitive: no

Description

Možnost dobiti konfiguracijo tudi, če ne nastaviš tipa strojne opreme točke. Tako lahko služi za osnovo pri konfiguraciji lastnih sistemov.

Change History

comment:1 Changed 9 years ago by kostko

  • Milestone changed from 2.0b to 3.0b

To pa nikakor ni mogoče, ker konfiguracijo generira image generator, ki zahteva template. Prav tako je veliko nastavitev odvisnih od nekega templejta, tako da bi itak moral nastaviti nek "dummy" template. Vsekakor ne bo narejeno v 2.0b.

comment:2 Changed 8 years ago by mitar

#592 je bil označen kot duplikat tega ticketa.

comment:3 Changed 6 years ago by kostko

  • Component changed from image generator to nodewatcher/modules

This could be done in 3.0b by specifying a dummy router descriptor and then one could generate configuration for a specific platform (like openwrt that is UCI based).

What exactly should this reference router descriptor be like? What features should it have?

comment:4 Changed 6 years ago by mitar

I would assume a typical router with all the needed features we are using: like support for multiple SSIDs, multiple different LAN ports, a WAN port.

I am not sure if I would like to see this as a special router type selection.

I would rather see that router type selection is a free form where you have some predefined and supported. But that you can enter also "My old PC with a WiFi card" and then you get only option to generate configuration.

Or, maybe easier. To have entries like "PC". And some additional free form field where you can add some additional information in such case.

In the longer term it would be useful to be able to generate or OpenWrt configuration or Ubuntu configuration. So I am not sure how we decided that, but we said that selecting the router type is independent from selection of toolchain type? So you can say I have PC, but I want an OpenWrt image for it, or Ubuntu image for it (for example, of what we could support one day - like CD burning/USB stick).

So you select router type (and for some router types additional free form field shows), you select toolchain (if multiple are possible), and then you select do you want a firmware or configuration generated.

So then this ticket is with new version of nodewatcher just to have such router types available and some configuration-only (for now) templates defined for them.

comment:5 Changed 3 years ago by mitar

What should we do about this with new system we have now?

comment:6 Changed 3 years ago by kostko

Resulting configuration depends on the underlying device. The device descriptor can support multiple platforms, but currently there is only OpenWrt platform and at the moment, I don't think that adding an "Ubuntu" platform makes sense and it would be a lot of work.

So you select router type (and for some router types additional free form field shows), you select toolchain (if multiple are possible), and then you select do you want a firmware or configuration generated.

This is already the case, but it is the other way around. You select the target platform (currently only OpenWrt) and then you get a list of supported devices for this platform.

Sure, we could complicate things with custom PC configurations etc. but this is a lot of work and I don't think we should support this in 3.0b.

comment:7 Changed 3 years ago by mitar

  • Milestone changed from 3.0b to Next milestone
Note: See TracTickets for help on using tickets.