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

Commits on Oct 13, 2023

  1. Add ModemManager dependencies to eve-alpine

    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>
    milan-zededa authored and eriknordmark committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    ed3efa9 View commit details
    Browse the repository at this point in the history
  2. zedrouter: fix hosts file with multiple IPs assigned to the same host…

    …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>
    milan-zededa authored and eriknordmark committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    d1795c9 View commit details
    Browse the repository at this point in the history
  3. build(deps): bump golang.org/x/net from 0.7.0 to 0.17.0 in /pkg/pillar

    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>
    dependabot[bot] authored and eriknordmark committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    5c128b8 View commit details
    Browse the repository at this point in the history
  4. build(deps): bump golang.org/x/net in /tools/dockerfile-add-scanner

    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>
    dependabot[bot] authored and eriknordmark committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    55e1107 View commit details
    Browse the repository at this point in the history
  5. build(deps): bump golang.org/x/net from 0.7.0 to 0.17.0 in /pkg/edgeview

    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>
    dependabot[bot] authored and eriknordmark committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    1b8dc9a View commit details
    Browse the repository at this point in the history
  6. build(deps): bump github.com/cyphar/filepath-securejoin

    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>
    dependabot[bot] authored and eriknordmark committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    47c6e42 View commit details
    Browse the repository at this point in the history
  7. doc : add notes about boot options effect on PCR-1

    Signed-off-by: Shahriyar Jalayeri <shahriyar@zededa.com>
    shjala authored and eriknordmark committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    2192b04 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2023

  1. workflows/unit.yml: add tpm test timeout

    Signed-off-by: Shahriyar Jalayeri <shahriyar@zededa.com>
    shjala authored and eriknordmark committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    8fb76fa View commit details
    Browse the repository at this point in the history
  2. dom0-ztools: add remote access switch to eve command

    Signed-off-by: Shahriyar Jalayeri <shahriyar@zededa.com>
    shjala authored and eriknordmark committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    03bb43e View commit details
    Browse the repository at this point in the history
  3. debug: don't start sshd if remote access is disabled

    Signed-off-by: Shahriyar Jalayeri <shahriyar@zededa.com>
    shjala authored and eriknordmark committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    9be025f View commit details
    Browse the repository at this point in the history
  4. pillar : add utils/access.go to get remote access switch state

    Signed-off-by: Shahriyar Jalayeri <shahriyar@zededa.com>
    shjala authored and eriknordmark committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    2f5db18 View commit details
    Browse the repository at this point in the history
  5. zedagent : don't consume edgeview config if remote access disabled

    Signed-off-by: Shahriyar Jalayeri <shahriyar@zededa.com>
    shjala authored and eriknordmark committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    ddbfb62 View commit details
    Browse the repository at this point in the history
  6. pillar : report remote access state to controller

    Signed-off-by: Shahriyar Jalayeri <shahriyar@zededa.com>
    shjala authored and eriknordmark committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    cf76afd View commit details
    Browse the repository at this point in the history
  7. doc : add remote access switch documentation

    Signed-off-by: Shahriyar Jalayeri <shahriyar@zededa.com>
    shjala authored and eriknordmark committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    187630b View commit details
    Browse the repository at this point in the history
  8. ssh.sh: sleep to infinity and beyond

    sleep to infinity (INT_MAX) instead of just a day.
    
    Signed-off-by: Shahriyar Jalayeri <shahriyar@zededa.com>
    shjala authored and eriknordmark committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    571490b View commit details
    Browse the repository at this point in the history
  9. Fix Yetus issues in pillar/dpcreconciler/genericitems

    Somehow Yetus decided to complain about these issues in another
    and completely unrelated PR.
    
    Signed-off-by: Milan Lenco <milan@zededa.com>
    milan-zededa authored and eriknordmark committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    616d6ea View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. Update pillar to accommodate wwan microservice written in Go

    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>
    milan-zededa committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    01e7966 View commit details
    Browse the repository at this point in the history
  2. Implement agent in Go controlling ModemManager

    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>
    milan-zededa committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    bcc42bb View commit details
    Browse the repository at this point in the history
  3. Vendor mmagent dependencies

    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>
    milan-zededa committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    fffc568 View commit details
    Browse the repository at this point in the history
  4. Documentation for the ModemManager-based wwan microservice

    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>
    milan-zededa committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    55c07a2 View commit details
    Browse the repository at this point in the history