Hello Kumar,

(for lava-users readers) as explained at connect, you must update the device-type template to add a variable that will have a default in the device-type template. Default that can be overriden in the device dictionary.

For you use case, something like this will work:

resets_after_flash: {{ reset_after_flash|default(false) }}


Rgds

Le mar. 2 avr. 2019 à 22:56, Kumar Gala <kumar.gala@linaro.org> a écrit :
Guys,

Is it possible for one board/device instance to override a methods param?

Specifically if I want to set ‘resets_after_flash’ to ’true’ for one disco-l475-iot1 board instance.

Here’s the device type definition:

https://git.lavasoftware.org/lava/lava/blob/master/lava_scheduler_app/tests/device-types/disco-l475-iot1.jinja2

thanks

- k


--
Rémi Duraffort
LAVA Team, Linaro