diff options
| author | Jonathan Cave <jonathan.cave@canonical.com> | 2019-02-07 10:58:54 +0000 |
|---|---|---|
| committer | Jonathan Cave <jonathan.cave@canonical.com> | 2019-02-07 10:58:54 +0000 |
| commit | 18d7bfa9d0151c323d18db54abd53717ce2dcd67 (patch) | |
| tree | d72d557bc55fe8f76c7f0575382a0e1ce4ec2704 /units/wireless | |
| parent | 3f3d3803b15960ad38e22895cebbd203f68f23f0 (diff) | |
wireless: new NM connection save/restore jobs
Diffstat (limited to 'units/wireless')
| -rw-r--r-- | units/wireless/jobs.pxu | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/units/wireless/jobs.pxu b/units/wireless/jobs.pxu index 52b2b01..9c25c71 100644 --- a/units/wireless/jobs.pxu +++ b/units/wireless/jobs.pxu @@ -442,3 +442,31 @@ command: estimated_duration: 330.0 _description: Tests the performance of a system's wireless connection through the iperf tool, using UDP packets. + + +unit: template +template-resource: device +template-filter: device.category == 'WIRELESS' and device.interface != 'UNKNOWN' +id: wireless/nm_connection_save_{category} +category_id: com.canonical.plainbox::wireless +_summary: Save any NetworkManager 802.11 configurations prior to testing +plugin: shell +user: root +command: + wifi_nmcli_backup.py save +estimated_duration: 2.0 +flags: preserve-locale also-after-suspend also-after-suspend-manual + +unit: template +template-resource: device +template-filter: device.category == 'WIRELESS' and device.interface != 'UNKNOWN' +id: wireless/nm_connection_restore_{category} +category_id: com.canonical.plainbox::wireless +_summary: Restore any NetworkManager 802.11 configurations after testing +plugin: shell +user: root +command: + wifi_nmcli_backup.py restore +estimated_duration: 2.0 +depends: wireless/nm_connection_save_{category} +flags: preserve-locale also-after-suspend also-after-suspend-manual \ No newline at end of file |
