summaryrefslogtreecommitdiffstats
path: root/boards.yaml.example
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2018-04-12 11:59:07 +0200
committerCorentin LABBE <clabbe@baylibre.com>2018-06-05 15:36:31 +0200
commit31555bcb6555d080e7072fba2fc8ccda0fd59eaa (patch)
treee70c096e7714be50f2d7b9f4419f07dbe4452ec7 /boards.yaml.example
parent287e03c09e34ec77d696fcd7ad55912cc127a859 (diff)
Implement Multipleslave
This patch implement multiple slave support. Instead of having a maximum of one master and one slave in one docker image, it is now possible to have multiple slave accross several docker host. For helping this change, a new boards.yaml format is introduced (See README.md for details) Note that tokens.yaml is also squashed in boards.yaml
Diffstat (limited to 'boards.yaml.example')
-rw-r--r--boards.yaml.example113
1 files changed, 47 insertions, 66 deletions
diff --git a/boards.yaml.example b/boards.yaml.example
index 5737a48..ee4469f 100644
--- a/boards.yaml.example
+++ b/boards.yaml.example
@@ -1,66 +1,47 @@
-lab-slave-0:
- dispatcher_ip: 192.168.66.1
- boardlist:
- qemu-01:
- type: qemu
- bcm2837-rpi-3-b-01:
- type: bcm2837-rpi-3-b
- pdu_generic:
- hard_reset_command: /usr/local/bin/acme-cli -s 192.168.66.2 reset 1
- power_off_command: /usr/local/bin/acme-cli -s 192.168.66.2 switch_off 1
- power_on_command: /usr/local/bin/acme-cli -s 192.168.66.2 switch_on 1
- uart:
- idvendor: 0x0403
- idproduct: 0x6001
- serial: FT9QQZTA
- am335x-boneblack-01:
- type: beaglebone-black
- pdu_generic:
- hard_reset_command: /usr/local/bin/acme-cli -s 192.168.66.2 reset 2
- power_off_command: /usr/local/bin/acme-cli -s 192.168.66.2 switch_off 2
- power_on_command: /usr/local/bin/acme-cli -s 192.168.66.2 switch_on 2
- uart:
- idvendor: 0x0403
- idproduct: 0x6001
- serial: FT9QR1A9
- meson-gxl-s905x-libretech-cc-01:
- type: meson-gxl-s905x-libretech-cc
- pdu_generic:
- hard_reset_command: /usr/local/bin/acme-cli -s 192.168.66.2 reset 3
- power_off_command: /usr/local/bin/acme-cli -s 192.168.66.2 switch_off 3
- power_on_command: /usr/local/bin/acme-cli -s 192.168.66.2 switch_on 3
- uart:
- idvendor: 0x067b
- idproduct: 0x2303
- devpath: 1.1.4
- uboot_macaddr: "00:FA:E0:DE:AD:78"
- dragonboard-410c-01:
- type: dragonboard-410c
- pdu_generic:
- hard_reset_command: /usr/local/bin/acme-cli -s 192.168.66.2 reset 4
- power_off_command: /usr/local/bin/acme-cli -s 192.168.66.2 switch_off 4
- power_on_command: /usr/local/bin/acme-cli -s 192.168.66.2 switch_on 4
- uart:
- idvendor: 0x403
- idproduct: 0x6001
- serial: FT9R7VDB
- r8a7796-m3ulcb-01:
- type: r8a7796-m3ulcb
- pdu_generic:
- hard_reset_command: /usr/local/bin/acme-cli -s 192.168.66.2 reset 5
- power_off_command: /usr/local/bin/acme-cli -s 192.168.66.2 switch_off 5
- power_on_command: /usr/local/bin/acme-cli -s 192.168.66.2 switch_on 5
- uart:
- idvendor: 0x0403
- idproduct: 0x6001
- serial: AK04WW0Q
- imx6q-sabrelite-01:
- type: imx6q-sabrelite
- pdu_generic:
- hard_reset_command: /usr/local/bin/acme-cli -s 192.168.66.2 reset 6
- power_off_command: /usr/local/bin/acme-cli -s 192.168.66.2 switch_off 6
- power_on_command: /usr/local/bin/acme-cli -s 192.168.66.2 switch_on 6
- uart:
- idvendor: 0x0403
- idproduct: 0x6015
- serial: DAZ0KEUH
+masters:
+ - name: master1
+ host: local
+ users:
+ - name: admin
+ token: longrandomtokenadmin
+ password: admin
+ superuser: yes
+ staff: yes
+slaves:
+ - name: lab-slave-0
+ host: local
+ remote_master: master1
+ remote_user: admin
+ dispatcher_ip: 192.168.66.1
+
+boards:
+ - name: qemu-02
+ type: qemu
+ slave: lab-slave-0
+ kvm: True
+ - name: meson-gxl-s905x-libretech-cc-01
+ type: meson-gxl-s905x-libretech-cc
+ slave: lab-slave-0
+ pdu_generic:
+ hard_reset_command: /usr/local/bin/acme-cli -s 192.168.66.2 reset 2
+ power_off_command: /usr/local/bin/acme-cli -s 192.168.66.2 switch_off 2
+ power_on_command: /usr/local/bin/acme-cli -s 192.168.66.2 switch_on 2
+ uart:
+ idvendor: 0x0403
+ idproduct: 0x6001
+ serial: FT9QR2TZ
+ - name: meson-gxbb-nanopi-k2-01
+ type: meson-gxbb-nanopi-k2
+ slave: lab-slave-0
+ custom_option:
+ - 'set bootloader_prompt = "nanopi-k2#"'
+ - "set interrupt_prompt = 'nanopi'"
+ uboot_ipaddr: 192.168.66.201
+ pdu_generic:
+ hard_reset_command: /usr/local/bin/acme-cli -s 192.168.66.2 reset 3
+ power_off_command: /usr/local/bin/acme-cli -s 192.168.66.2 switch_off 3
+ power_on_command: /usr/local/bin/acme-cli -s 192.168.66.2 switch_on 3
+ uart:
+ idvendor: 0x0403
+ idproduct: 0x6001
+ serial: FT9ZOR0I