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

Modem manager #14

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open

Modem manager #14

wants to merge 20 commits into from

Conversation

milan-zededa
Copy link
Owner

No description provided.

@milan-zededa milan-zededa force-pushed the modem-manager branch 4 times, most recently from 20118d2 to 6f109a9 Compare October 13, 2023 07:58
milan-zededa and others added 5 commits October 13, 2023 02:57
These are dependencies missing in EVE alpine but needed to build ModemManager,
which is going to be used for the management of cellular connectivity in EVE:
https://wiki.lfedge.org/display/EVE/ModemManager+Evaluation

Signed-off-by: Milan Lenco <milan@zededa.com>
…name

Zedrouter creates one hosts file /run/zedrouter/hosts.<bridge>/<hostname>
for every hostname (e.g. app name). However, when app has multiple VIFs
in the same NI or there are static hostname->IPs entries configured
for a NI with multiple IPs assigned to the same hostname, it is
important that all hostname IPs are put into the same single hosts file.
However, in the current implementation, zedrouter tries to split IPs
and put each into a separate hosts file. With hostname that has multiple
IPs, n-1 IPs will have their hosts file overwritten by the hosts file
created for the last IP. Apart from the fact that only one IP will happen
to be in effect for DNS, this additionally confuses zedrouter when it tries
to delete VIFs and cannot find some of those hosts files (which can propagate
further and break app purge operation).

Signed-off-by: Milan Lenco <milan@zededa.com>
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.7.0 to 0.17.0.
- [Commits](golang/net@v0.7.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.10.0 to 0.17.0.
- [Commits](golang/net@v0.10.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.7.0 to 0.17.0.
- [Commits](golang/net@v0.7.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@milan-zededa milan-zededa force-pushed the modem-manager branch 4 times, most recently from 56290e9 to 921b643 Compare October 13, 2023 16:30
dependabot bot and others added 2 commits October 13, 2023 14:17
Bumps [github.com/cyphar/filepath-securejoin](https://github.com/cyphar/filepath-securejoin) from 0.2.3 to 0.2.4.
- [Release notes](https://github.com/cyphar/filepath-securejoin/releases)
- [Commits](cyphar/filepath-securejoin@v0.2.3...v0.2.4)

---
updated-dependencies:
- dependency-name: github.com/cyphar/filepath-securejoin
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Shahriyar Jalayeri <shahriyar@zededa.com>
@milan-zededa milan-zededa force-pushed the modem-manager branch 4 times, most recently from c875b77 to cf511c7 Compare October 14, 2023 11:06
Signed-off-by: Shahriyar Jalayeri <shahriyar@zededa.com>
@milan-zededa milan-zededa force-pushed the modem-manager branch 2 times, most recently from 466020f to a36b72f Compare October 16, 2023 14:23
shjala and others added 8 commits October 16, 2023 07:43
Signed-off-by: Shahriyar Jalayeri <shahriyar@zededa.com>
Signed-off-by: Shahriyar Jalayeri <shahriyar@zededa.com>
Signed-off-by: Shahriyar Jalayeri <shahriyar@zededa.com>
Signed-off-by: Shahriyar Jalayeri <shahriyar@zededa.com>
Signed-off-by: Shahriyar Jalayeri <shahriyar@zededa.com>
Signed-off-by: Shahriyar Jalayeri <shahriyar@zededa.com>
sleep to infinity (INT_MAX) instead of just a day.

Signed-off-by: Shahriyar Jalayeri <shahriyar@zededa.com>
Somehow Yetus decided to complain about these issues in another
and completely unrelated PR.

Signed-off-by: Milan Lenco <milan@zededa.com>
@milan-zededa milan-zededa force-pushed the modem-manager branch 3 times, most recently from 07aa32d to b324f3d Compare October 17, 2023 14:53
As we transition from the shell script managing cellular modems using
QMI/MBIM CLI tools to a proper EVE microservice, written in Go and using
pubsub for input/output, there are some changes that have to be done
across pillar to accomodate this new microservice.

Signed-off-by: Milan Lenco <milan@zededa.com>
This large commit completely reworks the wwan microservice.
Instead of the (rather limited) shell script controlling modems using
QMI/MBIM CLI tools, EVE will now use ModemManager for the management of
cellular connectivity just like many standard Linux distributions.
However, instead of using NetworkManager, which does not fit into EVE
architecture and requirements, we implement our own thin microservice
"mmagent", operating in between pillar and ModemManager.

More info is here: https://wiki.lfedge.org/display/EVE/ModemManager+Evaluation
and in the comprehensive documentation which comes with the next commit.

Signed-off-by: Milan Lenco <milan@zededa.com>
Nothing interesting here, just vendoring all mmagent dependencies
so that we can build wwan container without network connectivity.

Signed-off-by: Milan Lenco <milan@zededa.com>
Completely rewritten documentation for the topic of cellular
connectivity on EVE, reflecting the major rework of the wwan microservice
and the transition from the shell script to using ModemManager.

Signed-off-by: Milan Lenco <milan@zededa.com>
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.

2 participants