Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • T TurrisHW
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TurrisTurris
  • TurrisHW
  • Merge requests
  • !18

turrishw: Allow fetching only certain types of interfaces

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Martin Matějek requested to merge feature/allow-fitering-by-interface-type into master May 16, 2023
  • Overview 1
  • Commits 1
  • Pipelines 1
  • Changes 3

For example:

get_ifaces(filter_types=["eth"]) -> will return only ethernet interfaces

get_ifaces(filter_types=["wifi", "wwan"]) -> will return Wi-Fi and QMI interfaces only

get_ifaces(filter_types=[]) or just get_ifaces() will return all interfaces.

Edited May 17, 2023 by Martin Matějek
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/allow-fitering-by-interface-type