Hi Tim,
On Monday 30 April 2018 06:17 PM, Tim Jaacks wrote:
Now I read that LXC containers can be used in a singlenode job context as well, using the "namespace" attribute. I tried this and got the LXC container running along with my DUT, without the need of a multinode job. However, the multinode API cannot be used in this case, obviously. Is there another possibility to submit the DUT's IP address to the LXC?
This job https://validation.linaro.org/scheduler/job/1746124 demonstrates how to get the IP address of the DUT from within the LXC test definition using lava-target-ip command. But, in order to get this, the DUT must have a fixed IP address that should be defined in the device configuration as seen here - https://git-us.linaro.org/lava/lava-lab.git/tree/validation.linaro.org/maste...
Hope assigning a fixed IP by binding to the mac address shouldn't be a hard thing to do within a network.
The documentation for device_ip can be found here - https://staging.validation.linaro.org/static/docs/v2/lava-scheduler-device-d...
Thank You.