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 2 times, most recently from 39b3bbf to 8edd4a8 Compare January 25, 2026 01:40
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 <ben.copeland@linaro.org>
@bhcopeland
Copy link
Member Author

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

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 <ben.copeland@linaro.org>
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 <ben.copeland@linaro.org>
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 <ben.copeland@linaro.org>
Add unit tests for device-dict mode runtime bindings, host network mode, and multiple
mount destinations.

Signed-off-by: Ben Copeland <ben.copeland@linaro.org>
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