Skip to content

modularize app-OWM to not rely on Freifunk and OLSR#59

Draft
SvenRoederer wants to merge 4 commits into
masterfrom
owm-modularize
Draft

modularize app-OWM to not rely on Freifunk and OLSR#59
SvenRoederer wants to merge 4 commits into
masterfrom
owm-modularize

Conversation

@SvenRoederer
Copy link
Copy Markdown
Contributor

This change introduces an extension / plugin functionality, to allow running non-Freifunk systems and systems that do not use OLSR.
The owm-library in split into code, that collects the basic data of a node and all other data has been moved into separate extensions. This results in the following extensions:

  • interfaces: everything related to wired and wireless interfaces
  • olsr: all data extreacted from olsrd (links, neighbours, config)
  • freifunk: public data of the Freifunk community (uci show freifunk.public)

For the moment the extensions "freifunk" and "olsr" are non-functional / untested

Sven Roederer and others added 4 commits August 14, 2022 18:23
…ding of extensions

Signed-off-by: Sven Roederer <S.Roederer@b2social.de>
OWM: add interface-extension based in stripped down code from original owm-script

Signed-off-by: Sven Roederer <S.Roederer@b2social.de>
…brary

Have the get() method just returning an "Interfaces" object, that can easily
be add to the final data. As this code is an extension, it has not "root" onbject.

Signed-off-by: Sven Roederer <S.Roederer@b2social.de>
…unk-integration

load these settings from an "owm" uci-file

Signed-off-by: Sven Roederer <S.Roederer@b2social.de>
@SvenRoederer
Copy link
Copy Markdown
Contributor Author

With this extension, there is no strict dependency of the basic "luci-app-owm-cmd" package to "olsrd-mod-jsoninfo" and "luci-lib-ip" anymore.
Best seems to be, to make separate packages for the extensions to allow easy selection, but this seems a bit overkill. Any suggestions for an alternative?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant