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

agama-project / agama / 16371653534
74%

Build:
DEFAULT BRANCH: master
Ran 18 Jul 2025 01:32PM UTC
Jobs 3
Files 1124
Run time 2min
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

18 Jul 2025 01:23PM UTC coverage: 64.243% (-11.8%) from 76.037%
16371653534

push

github

web-flow
Added VLAN CLI support (#2580)

## Problem

The VLAN model has been added to the backend but it is not supported by
the CLI or the HTTP API.

- https://trello.com/c/U3TS6jy3/5099-vlan-unattended

## Solution

Added the VlanSettings and extend the schema supporting VLAN
configuration.

**Example**
```
      {
        "id": "vlan10",
        "method4": "manual",
        "method6": "disabled",
        "status": "up",
        "persistent": true,
        "addresses": ["192.168.1.28/24"],
        "gateway4": "192.168.1.1",
        "nameservers": ["192.168.1.1"],
        "vlan": {
            "id": 10,
            "parent": "eth0"
          }
      }
```

## Testing

- *Tested manually*
Example 
```

# Show current Agama network configuration removing the other sections from the output
suse@vikingo:~$ agama config show
{
  "network": {
    "connections": [
      {
        "id": "eth0",
        "method4": "auto",
        "method6": "auto",
        "ignoreAutoDns": false,
        "interface": "eth0",
        "status": "up",
        "autoconnect": true,
        "persistent": true
      }
    ]
  }
}
✓ The profile is valid.

# Show the profile to be used
suse@vikingo:~$ cat vlan.json
{
  "network": {
    "connections": [
      {
        "id": "vlan10",
        "method4": "manual",
        "method6": "disabled",
        "status": "up",
        "persistent": true,
        "addresses": ["192.168.1.28/24"],
        "gateway4": "192.168.1.1",
        "nameservers": ["192.168.1.1"],
        "vlan": {
            "id": 10,
            "parent": "eth0"
          }
      }
    ]
  }
}

# Load the profile
suse@vikingo:~$ agama config load < vlan.json
✓ The profile is valid.

# Show the Agama network configuration removing the other sections from the output
suse@vikingo:~$ agama config show
{
  "network": {
    "connections": [
      {
        "id": "eth0",
        "method4": "auto",
        "method6": "auto",
        "ignoreAutoDns": false,
        "interface": "eth0",
  ... (continued)

2131 of 3860 branches covered (55.21%)

Branch coverage included in aggregate %.

1 of 19 new or added lines in 1 file covered. (5.26%)

24659 of 37841 relevant lines covered (65.16%)

48.94 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
18
49.47
-1.31% rust/agama-network/src/model.rs
Subprojects
ID Flag name Job ID Ran Files Coverage
1 rust 16371653534.1 18 Jul 2025 01:32PM UTC 179
21.68
GitHub Action Run
3 service 16345108111.3 17 Jul 2025 12:32PM UTC 389
88.49
GitHub Action Run
3 web 16342134863.3 17 Jul 2025 10:04AM UTC 556
68.14
GitHub Action Run
Source Files on build 16371653534
  • Tree
  • List 1124
  • Changed 5
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #16371653534
  • 9d76c678 on github
  • Prev Build on master (#16353117029)
  • Next Build on master (#16404705292)
  • 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