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

openSUSE / agama / 10796399577
72%

Build:
DEFAULT BRANCH: master
Ran 10 Sep 2024 04:17PM UTC
Jobs 3
Files 884
Run time 3min
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

10 Sep 2024 04:08PM UTC coverage: 71.803% (-0.03%) from 71.833%
10796399577

push

github

web-flow
Implement 802.1x (EAP) in network settings (#1597)

## Problem

No option to configure 802.1x (EAP) for network connections.

## Solution

Add ability to configure 802.1x in agama.
Note: For the certificates etc. NM supports 3 different formats. I
decided to only implement the file format as that is IMO the most useful
and should suffice.

## Testing

- *Added a new unit test*
- *Tested manually*
```bash
sudo agama auth login && AGAMA_TOKEN=`sudo agama auth show`
curl -X POST http://localhost/api/network/connections \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer $AGAMA_TOKEN" \
    -d '{ "id": "ethernet-test", "method4": "auto", "method6": "auto", "ignore_auto_dns": false, "status": "down", "ieee-8021x": { "eap": [ "peap" ], "phase2_auth": "mschapv2", "identity": "test_user", "password": "test_pw", "client_cert": "/etc/NetworkManager/system-connections/cert.pem", "private_key": "/etc/NetworkManager/system-connections/key.pem", "private_key_password": "test_pw", "peap_version": "1", "peap_label": true } }'
curl -X POST http://localhost/api/network/system/apply \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer $AGAMA_TOKEN"
nmcli con show ethernet-test
# See 802-1x.* settings set.
```

1987 of 2868 branches covered (69.28%)

Branch coverage included in aggregate %.

116 of 178 new or added lines in 2 files covered. (65.17%)

21807 of 30270 relevant lines covered (72.04%)

36.33 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
62
52.53
-6.2% rust/agama-server/src/network/model.rs
Subprojects
ID Flag name Job ID Ran Files Coverage
3 rust 10796399577.3 10 Sep 2024 04:17PM UTC 99
25.98
GitHub Action Run
3 web 8937163624.3 03 May 2024 09:49AM UTC 343
75.3
GitHub Action Run
3 service 10791169333.3 10 Sep 2024 11:08AM UTC 442
87.2
GitHub Action Run
Source Files on build 10796399577
  • Tree
  • List 884
  • Changed 32
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #10796399577
  • 89006636 on github
  • Prev Build on master (#10795167696)
  • Next Build on master (#10846239344)
  • 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