On 17 May 2018 at 08:38, Hemanth K V <kv.hemanth.mys@gmail.com> wrote:
Hello Neil,

Thanks Neil for the response.
From Lava scheduler app for Add test job under Test Jobs how can we specify the yaml file that we want to execute on specific device.

You are misunderstanding how to use tags.

See the example test job link provided by Stevan:

https://validation.linaro.org/static/docs/v2/developing-tests.html#device-tags-example

You name the tag(s) in the test job submission and then the scheduler chooses the device(s) which provide those tags.

Tags are created in the Django Admin Interface.

Tags are scheduled according to the requested tags in the test job submission - the YAML file itself specifies the name of the tag(s) required.
 

Thanks,
Hemanth.

On Wed, May 16, 2018 at 7:15 PM, Neil Williams <neil.williams@linaro.org> wrote:
On 16 May 2018 at 14:31, Hemanth K V <kv.hemanth.mys@gmail.com> wrote:
Hello Stevan,

Thanks for quick response.Is there any reference of creating and assigning device tag to specific device.
The issue I am facing is whatever device tags are created are getting default assigned to all devices.

Tags are a Django object, you need to create and assign them in the Django Admin Interface.


It's a standard multi-select list box, use Ctrl & click then save.
 
Thanks,
Hemanth.
 
___________________________________________________________________________________________
Hi Hemanth, You can achieve this by adding device tags to the devices and then specifying which tags you'd like to use in the test job definition. Please take a look at https://validation.linaro.org/static/docs/v2/developing-tests.html#device-tags-example HTH, On 05/16/2018 12:26 PM, Hemanth K V wrote: > Hello Lava-Users, > > When we have multiple devices of same device-type in LAVA Instance and > want to submit job on a particular device how can this be achieved in > LAVA.Tried to follow > https://validation.linaro.org/static/docs/v2/first-job.html but didn't > find how device can be specified. > > Thanks, > Hemanth. > > > _______________________________________________ > Lava-users mailing list > Lava-users at lists.linaro.org > https://lists.linaro.org/mailman/listinfo/lava-users

_______________________________________________
Lava-users mailing list
Lava-users@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lava-users




--




--