-
Notifications
You must be signed in to change notification settings - Fork 4
feat: Schedule host-base actions within the VMR schedules #227
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mitchnegus
reviewed
Jan 13, 2026
Member
|
I'm good with this at this point. It looks to me like it will still require one last review by @gregjacobus |
gregjacobus
approved these changes
Jan 27, 2026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
feat: Schedule host-base actions within the VMR schedules
Description
Some experiments require additional external input while being conducted. In particular, it would be useful to execute minimega-based actions (adding a new network tap or taking a screenshot or replaying captured VNC) in the context of an existing FIREWHEEL experiment. Currently, this is a manual process where a user has to run these actions separately from the experiment and they cannot be automated as part of the experiment schedule. This new feature addresses this shortcoming.
We introduce the concept of host-based VM resources, where users can, in the context of a single VM's schedule, execute actions on the physical host on which the VM is running. With this change, users can fully take advantage of Minimega's capabilities in the context of a FIREWHEEL experiment. For example, if a user would like to hotplug a USB device, that can now be scheduled via the new schedule entry
on_hostattribute. This attribute enables the VM Resource Handler to executesubprocesswith either minimega specific CLI arguments or with an alternative executable.This new feature is powerful and could effect experiment repeatability between FIREWHEEL deployments if users do not account for host OS differences. Additionally, there could be security implications for running host-based VMRs from un-trusted experiments. We attempt to mitigate these issues by forcing users to do one of the following:
While these mitigations to not resolve all user obligations, FIREWHEEL developers will also be thoughtful with how this interface is exposed within the
base_objectsmodel component (the corresponding PR is: sandialabs/firewheel_repo_base#6)Type of Change
Please select the type of change your pull request introduces:
Checklist