Hi!
On Mon, Jun 12, 2017 at 08:32:02AM +0000, Li, Xuelian wrote:
Hello,Neil:
Can you tell me Where is the definition of the roles in the following section?
protocols: lava-multinode: roles: ****** client: device_type: qemu context: arch: amd64 count: 1 # In this example, only one role in the group uses tags tags: - tap_device - virtual_io server: device_type: qemu context: arch: amd64 count: 1 timeout: seconds: 60
Assuming I understand your question correctly, this section specifically defines two roles:
* "client", a single qemu device (count:1) running amd64. There are two device tags listed which will need to match available devices ("tap_device" and "virtual_io")
* "server", another single qemu device (count:1) running amd64. There are no tags set for device selection here.
See https://validation.linaro.org/static/docs/v2/writing-multinode.html for more documentation about this area.