File tree 2 files changed +12
-2
lines changed
contrib/checkbox-ce-oem/checkbox-provider-ce-oem/units/wifi
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change
1
+ unit: manifest entry
2
+ id: has_wifi_ap_host
3
+ _name: Does WiFi AP paring HOST machine available for testing WiFi AP mode?
4
+ value-type: bool
Original file line number Diff line number Diff line change @@ -42,8 +42,11 @@ plugin: shell
42
42
environ: WIFI_AP_HOST_DEVICE_IP WIFI_AP_HOST_DEVICE_USER WIFI_AP_HOST_DEVICE_PWD WIFI_AP_HOST_DEVICE_INTERFACE
43
43
imports:
44
44
from com.canonical.certification import net_if_management
45
+ from com.canonical.plainbox import manifest
45
46
requires:
46
- net_if_management.device == '{interface}' and net_if_management.master_mode_managed_by == 'NetworkManager'
47
+ net_if_management.device == '{interface}'
48
+ net_if_management.master_mode_managed_by == 'NetworkManager'
49
+ manifest.has_wifi_ap_host == 'True'
47
50
estimated_duration: 120.0
48
51
flags: preserve-locale also-after-suspend
49
52
command:
@@ -64,8 +67,11 @@ plugin: shell
64
67
environ: WIFI_AP_HOST_DEVICE_IP WIFI_AP_HOST_DEVICE_USER WIFI_AP_HOST_DEVICE_PWD WIFI_AP_HOST_DEVICE_INTERFACE
65
68
imports:
66
69
from com.canonical.certification import net_if_management
70
+ from com.canonical.plainbox import manifest
67
71
requires:
68
- net_if_management.device == '{interface}' and net_if_management.master_mode_managed_by == 'NetworkManager'
72
+ net_if_management.device == '{interface}'
73
+ net_if_management.master_mode_managed_by == 'NetworkManager'
74
+ manifest.has_wifi_ap_host == 'True'
69
75
estimated_duration: 120.0
70
76
flags: preserve-locale also-after-suspend
71
77
command:
You can’t perform that action at this time.
0 commit comments