summaryrefslogtreecommitdiffstats
path: root/lava-slave/lavapdu.conf
diff options
context:
space:
mode:
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"
+ }
+ }
+}