Skip to content

Conversation

@bhcopeland
Copy link
Member

tuxrun: __main__: Add device-dict mode runtime support

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.

@bhcopeland bhcopeland force-pushed the laa_tuxlava branch 3 times, most recently from 8edd4a8 to f749d64 Compare January 25, 2026 01:41
@bhcopeland
Copy link
Member Author

All done we need to do tuxpkg release for tests to pass

@bhcopeland bhcopeland force-pushed the laa_tuxlava branch 2 times, most recently from acf2602 to 0673540 Compare January 28, 2026 14:35
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]>
@roxell roxell merged commit 3065ea6 into master Jan 28, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants