-
Notifications
You must be signed in to change notification settings - Fork 3
Add device-dict mode runtime support #38
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
Merged
+173
−34
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
Member
bhcopeland
commented
Dec 23, 2025
roxell
reviewed
Dec 23, 2025
0c6143b to
1509751
Compare
roxell
reviewed
Dec 23, 2025
8edd4a8 to
f749d64
Compare
Member
Author
|
All done we need to do tuxpkg release for tests to pass |
roxell
reviewed
Jan 26, 2026
f749d64 to
459550e
Compare
roxell
reviewed
Jan 27, 2026
acf2602 to
0673540
Compare
Add --device-dict argument to specify an external device dictionary file for device-dict mode. Use argcomplete for shell completion. Signed-off-by: Ben Copeland <[email protected]>
When --device-dict is used: use host network, skip HTTP service, bind device control binaries, bind dispatcher download dir for NFS/TFTP. Pass device_dict to tuxlava. Require DISPATCHER_IP parameter and validate it as a valid IP address. Signed-off-by: Ben Copeland <[email protected]>
Modify runtime bind() to allow same source dir to be mounted at multiple destinations. Required for device-dict mode where dispatcher_download_dir maps to both /srv/tftp and /var/lib/lava/dispatcher/tmp Signed-off-by: Ben Copeland <[email protected]>
Add dispatcher_ip variable to dispatcher.yaml.jinja2. This ip is used by DUT's to reach TFTP/NFS on the host. Signed-off-by: Ben Copeland <[email protected]>
Add unit tests for device-dict mode runtime bindings, host network mode, and multiple mount destinations. Signed-off-by: Ben Copeland <[email protected]>
0673540 to
a315839
Compare
roxell
approved these changes
Jan 28, 2026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.