• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jcronenberg / agama / 15134168953 / 3
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 20 May 2025 09:51AM UTC
Files 167
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 May 2025 05:32AM UTC coverage: 24.491%. First build
15134168953.3

push

github

web-flow
Add bridge support for the HTTP API and CLI (#2258)

## Problem

Although there is a bridge model in the backend, there is no way to
configure it through the CLI or through the HTTP api.

-
https://trello.com/c/LoDehu4m/4559-1-agama-add-support-for-configuring-a-bridge


## Solution

Added bridge support similar to what was added for bonding in
(https://github.com/agama-project/agama/pull/885) and also fix it
because looks like we broke the bonding handling when moved to the HTTP
Api (https://github.com/agama-project/agama/pull/1064).

An example of the json bridge configuration looks like:

```json
{
  "network": {
    "connections": [
      {
        "id": "Bridge0",
        "method4": "manual",
        "interface": "br0",
        "addresses": ["192.168.1.100/24"],
        "gateway4": "192.168.1.1",
        "nameservers": ["192.168.1.1"],
        "bridge": {
          "ports": ["eth0", "eth1"],
          "stp": false
        }
      }
    ]
  }
}
```

## Testing

- *Added a new unit test*
- *Tested manually*

2031 of 8293 relevant lines covered (24.49%)

0.66 hits per line

Source Files on job rust - 15134168953.3
  • Tree
  • List 167
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 15134168953
  • 29bbf0fc on github
  • Prev Job for on master (#15134168966.)
  • Next Job for on master (#15206508733.3)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc