laval: Add devices dictionaries
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 29 Oct 2018 19:46:19 +0000 (15:46 -0400)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 29 Oct 2018 19:46:19 +0000 (15:46 -0400)
lava/devices/kvm01.jinja2 [new file with mode: 0644]
lava/devices/kvm02.jinja2 [new file with mode: 0644]
lava/devices/x86_server01-cloud08.jinja2 [new file with mode: 0644]

diff --git a/lava/devices/kvm01.jinja2 b/lava/devices/kvm01.jinja2
new file mode 100644 (file)
index 0000000..1eac22e
--- /dev/null
@@ -0,0 +1,8 @@
+{% extends 'qemu.jinja2' %}
+{% set mac_addr = 'DE:AD:BE:EF:00:00' %}
+{% set memory = '2096' %}
+{% set netdevice = 'tap' %}
+{% set extra_options = (
+"
+          - -smp 2"
+) %}
diff --git a/lava/devices/kvm02.jinja2 b/lava/devices/kvm02.jinja2
new file mode 100644 (file)
index 0000000..0ae3c21
--- /dev/null
@@ -0,0 +1,9 @@
+{% extends 'qemu.jinja2' %}
+{% set mac_addr = 'DE:AD:BE:FF:00:01' %}
+{% set memory = '2096' %}
+{% set netdevice = 'tap' %}
+{% set extra_options = (
+"
+          - -smp 2"
+) %}
+
diff --git a/lava/devices/x86_server01-cloud08.jinja2 b/lava/devices/x86_server01-cloud08.jinja2
new file mode 100644 (file)
index 0000000..2057a09
--- /dev/null
@@ -0,0 +1,8 @@
+{% extends 'x86.jinja2' %}
+{% set connection_command = 'telnet serial01.internal.efficios.com 7025' %}
+{% set hard_reset_command = '/usr/bin/pduclient --daemon localhost --hostname pdu01.internal.efficios.com --command reboot --port 05' %}
+{% set power_off_command = '/usr/bin/pduclient --daemon localhost --hostname pdu01.internal.efficios.com --command off --port 05' %}
+{% set power_on_command = '/usr/bin/pduclient --daemon localhost --hostname pdu01.internal.efficios.com --command on --port 05'' %}
+{% set soft_reset_command = 'reboot'}
+{% set boot_interface = 'net2'}
+{% set kernel_extra_args = 'cpuidle.off=1'}
This page took 0.024656 seconds and 4 git commands to generate.