summaryrefslogtreecommitdiffstats
path: root/lava-slave/lavapdu.conf
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2017-10-25 14:07:15 +0200
committerCorentin LABBE <clabbe@baylibre.com>2017-10-25 14:11:58 +0200
commit26cc005179760bd25b8bdd724a936847c81d24eb (patch)
tree0e3aac8edbfd28384469190795fab4e9d07cb9ec /lava-slave/lavapdu.conf
parent905a723528e499e9eae193b4d72388076d561f6c (diff)
Add support for lavapdu
Diffstat (limited to 'lava-slave/lavapdu.conf')
-rw-r--r--lava-slave/lavapdu.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/lava-slave/lavapdu.conf b/lava-slave/lavapdu.conf
new file mode 100644
index 0000000..720c22b
--- /dev/null
+++ b/lava-slave/lavapdu.conf
@@ -0,0 +1,19 @@
+{
+ "daemon": {
+ "hostname": "0.0.0.0",
+ "port": 16421,
+ "dbhost": "127.0.0.1",
+ "dbuser": "pdudaemon",
+ "dbpass": "pdudaemon",
+ "dbname": "lavapdu",
+ "retries": 5,
+ "logging_level": "INFO"
+ },
+ "pdus": {
+ "acme-0": {
+ "driver": "localcmdline",
+ "cmd_on": "/usr/local/bin/acme-cli -s 192.168.66.2 switch_on %d",
+ "cmd_off": "/usr/local/bin/acme-cli -s 192.168.66.2 switch_off %d"
+ }
+ }
+}