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

agama-project / agama / 16371653534 / 1 – rust
81%
master: 81%

Build:
DEFAULT BRANCH: master
Ran 18 Jul 2025 01:32PM UTC
Files 179
Run time 5s
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: 21.676% (-0.02%) from 21.699%
rust – 16371653534.1

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)

1961 of 9047 relevant lines covered (21.68%)

0.42 hits per line

Source Files on job rust - 16371653534.1
  • Tree
  • List 179
  • Changed 5
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 16371653534
  • 9d76c678 on github
  • Prev Job for on master (#16353117029.1)
  • Next Job for on master (#16404705292.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