Skip to content

Modem manager#14

Open
milan-zededa wants to merge 20 commits intomasterfrom
modem-manager
Open

Modem manager#14
milan-zededa wants to merge 20 commits intomasterfrom
modem-manager

Conversation

@milan-zededa
Copy link
Copy Markdown
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 <[email protected]>
…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 <[email protected]>
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] <[email protected]>
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] <[email protected]>
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] <[email protected]>
@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] <[email protected]>
@milan-zededa milan-zededa force-pushed the modem-manager branch 4 times, most recently from c875b77 to cf511c7 Compare October 14, 2023 11:06
@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
sleep to infinity (INT_MAX) instead of just a day.

Signed-off-by: Shahriyar Jalayeri <[email protected]>
Somehow Yetus decided to complain about these issues in another
and completely unrelated PR.

Signed-off-by: Milan Lenco <[email protected]>
@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 <[email protected]>
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 <[email protected]>
Nothing interesting here, just vendoring all mmagent dependencies
so that we can build wwan container without network connectivity.

Signed-off-by: Milan Lenco <[email protected]>
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 <[email protected]>
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