On Thu, 2 Apr 2020 at 10:53, Nikolina nici_nigel n.drobnjaknd@gmail.com wrote:
Hello, I just started working with hardware, firmware and lava. You have a big documentation, but for me it's sometimes difficult to find something. I wanted to submit a job on just one device like my "bbb-03" and not on every beaglebone-black. Is there a device-tag to choose a device like "device_type: "?
In general all devices of the same 'type' are considered equal. This means that currently LAVA doesn't allow you to select a device based only on it's name. You can add a tag to the device and use it for job submission. Adding tags to job definition is described here: https://master.lavasoftware.org/static/docs/v2/developing-tests.html#device-...
In order to add tags to the devices you can use django admin interface, xml-rpc or rest APIs.
My next question is if there is also a worker tag for a job submit? For example I just want to run all "beaglebone-black" on my "worker2".
This is not supported. Only way of achieving this is to add worker specific tag to each device. But then you would also need to submit as many jobs as there are devices connected to the worker.
Is there also a list of all job submissions tags with examples? I just found the one for the "actions" part.
I'm not sure what you're asking for here. Do you mean list of available tags? This would be: https://<your instance address>/api/v0.2/tags/
milosz
I'm sorry for disturbing and maybe the stupid question. But thank you for your answer in advance.
I wish you a nice day _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users