Automation

In order to help LAVA integration, the LAA provides TFTP and NFS server to the DUT. Both services are serving files from /var/lib/lava/dispatcher/tmp on the LAA.

Data sharing

The NFS and TFTP shares are readable and writtable by the DUT, so you can transfer files from the DUT into the LAA directory using NFS and TFTP.

Accessing files

NFS

The directory can be mounted from the DUT (as root):

root@dut:/# mkdir /media/data
root@dut:/# mount -t nfs 198.18.0.1:/var/lib/lava/dispatcher/tmp /media/data

And un-mounted with:

root@dut:/# umount /media/data

TFTP

You can get and put files from and to the LAA with TFTP:

user@dut:/$ tftp 198.18.0.1
tftp> get vmlinux
tftp> put results.log

Managing files

laam allows to manage files in /var/lib/lava/dispatcher/tmp to make them available to the DUT.

You can push a file with:

laam files push ~/vmlinux vmlinux