Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add manifest for WiFi AP mode test (Bugfix) #1680

Merged
merged 2 commits into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
unit: manifest entry
id: has_wifi_ap_host
_name: Does WiFi AP paring HOST machine available for testing WiFi AP mode?
value-type: bool
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,11 @@ plugin: shell
environ: WIFI_AP_HOST_DEVICE_IP WIFI_AP_HOST_DEVICE_USER WIFI_AP_HOST_DEVICE_PWD WIFI_AP_HOST_DEVICE_INTERFACE
imports:
from com.canonical.certification import net_if_management
from com.canonical.plainbox import manifest
requires:
net_if_management.device == '{interface}' and net_if_management.master_mode_managed_by == 'NetworkManager'
net_if_management.device == '{interface}'
net_if_management.master_mode_managed_by == 'NetworkManager'
manifest.has_wifi_ap_host == 'True'
estimated_duration: 120.0
flags: preserve-locale also-after-suspend
command:
Expand All @@ -64,8 +67,11 @@ plugin: shell
environ: WIFI_AP_HOST_DEVICE_IP WIFI_AP_HOST_DEVICE_USER WIFI_AP_HOST_DEVICE_PWD WIFI_AP_HOST_DEVICE_INTERFACE
imports:
from com.canonical.certification import net_if_management
from com.canonical.plainbox import manifest
requires:
net_if_management.device == '{interface}' and net_if_management.master_mode_managed_by == 'NetworkManager'
net_if_management.device == '{interface}'
net_if_management.master_mode_managed_by == 'NetworkManager'
manifest.has_wifi_ap_host == 'True'
estimated_duration: 120.0
flags: preserve-locale also-after-suspend
command:
Expand Down
Loading