Splice lava-docker's boards.yaml into master/slave yaml. Allow multiple labs in master conf.

Fixed

Description

Splite lava-docker's boards.yaml into master/slave yaml. Allow multiple labs in master conf.

Environment

None

Activity

Show:

Kevin Hilman 
October 29, 2018 at 5:43 PM

will also update documentation for "slave" field of each board.

Jan-Simon Moeller 
October 29, 2018 at 4:47 PM

a) will add zmq_auth folders

Jan-Simon Moeller 
October 29, 2018 at 4:23 PM

Let's go by example:

master.yaml

a) .... how do we add the slave zmq public keys there if we setup the master only.

b) .... how do we deal with multiple slave labs and thus multiple zmq public keys

 

slave.yaml

c) how to handle master pubkey in slave.yaml

d) how to assign boards per slave (if multiple slaves are defined in slaves section)

Jan-Simon Moeller 
October 29, 2018 at 4:14 PM

How are the zmq keys and so on split then between the files ?

Kevin Hilman 
October 29, 2018 at 4:05 PM
(edited)

The `lavalab-gen[sh|py]` tool now takes an optional argument which can be the YAML file.   

So, you can create a `master.yaml` and run `./lavalab-gen.py master.yaml` and a separate `slaves.yaml` and run `lavalabgen.py slaves.yaml`.

 

Details

Assignee

Reporter

Labels

Contract ID

Components

Priority

Created October 29, 2018 at 10:53 AM
Updated December 7, 2018 at 8:56 PM
Resolved November 5, 2018 at 2:55 PM