Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

SvenRoederer
Copy link
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
OWM: add interface-extension based in stripped down code from original owm-script

Signed-off-by: Sven Roederer <[email protected]>
…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 <[email protected]>
…unk-integration

load these settings from an "owm" uci-file

Signed-off-by: Sven Roederer <[email protected]>
@SvenRoederer
Copy link
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