Hello.
Does there exists some documentation about device type template?
I have started to study LAVA recently. I have read some parts of documentation already but I can't find any documentation about device type template syntax and semantics. So I'm reading present "jinja" files but I don't know what I can change or add.
With best regards Sergey Kovalev.
On Mon, 6 Mar 2017 15:58:07 +0000 Ковалёв Сергей SKovalev@ptsecurity.com wrote:
Hello.
Does there exists some documentation about device type template?
https://staging.validation.linaro.org/static/docs/v2/development-intro.html#...
also
https://staging.validation.linaro.org/static/docs/v2/pipeline-admin.html
https://staging.validation.linaro.org/static/docs/v2/devicetypes.html#device...
https://staging.validation.linaro.org/static/docs/v2/first-devices.html#addi...
I have started to study LAVA recently. I have read some parts of documentation already but I can't find any documentation about device type template syntax and semantics. So I'm reading present "jinja" files but I don't know what I can change or add.
From the last link above:
[Adding new device types] is the most complex part and it can be a lot of work (sometimes several months) to integrate a completely new device into LAVA. V2 offers a different and wider range of support to V1 but some devices will need new support to be written within lava-dispatcher. It is not always possible to automate a new device, depending on how the device connects to LAVA, how the device is powered and whether the software on the device allows the device to be controlled remotely.
So what you can change or add depends on what you are trying to do but you should first add known devices and understand how those work before considering support for your own devices.
Hello, Neil.
Thank You for replay. I have seen all links mentioned by You but I was not smart enough to understand what fields exists and what I could change/add/remove.
So I've started to look inside 'x86.jinja2' and sources of 'lava-dispatcher'. I think it would be possible to add my testing as computer of 'x86' device type. All I need to understand is how to setup iPXE, TFTP, DHCP (maybe something else) to get it working. Do You know about that device type and its usage?