Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion ansible/files/exporter/labgrid-wigyori.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ labgrid-wigyori-linksprite_a10-pcduino:
NetworkService:
address: "192.168.1.1%eth0.205"
username: "root"
PDUDaemonPort:
host: localhost:16421
pdu: clusterhat
index: 1

labgrid-wigyori-pine64_pine64-plus:
location: wigyorilab
Expand All @@ -97,4 +101,7 @@ labgrid-wigyori-pine64_pine64-plus:
NetworkService:
address: "192.168.1.1%eth0.206"
username: "root"

PDUDaemonPort:
host: localhost:16421
pdu: clusterhat
index: 2
15 changes: 15 additions & 0 deletions ansible/files/exporter/pdudaemon-labgrid-wigyori.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"daemon": {
"hostname": "localhost",
"port": 16421,
"logging_level": "DEBUG",
"listener": "http"
},
"pdus": {
"clusterhat": {
"driver": "localcmdline",
"cmd_on": "/usr/sbin/clusterctrl on p%s",
"cmd_off": "/usr/sbin/clusterctrl off p%s"
}
}
}
1 change: 1 addition & 0 deletions ansible/files/exporter/pdudaemon.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ DynamicUser=yes
StateDirectory=pdudaemon
ProtectHome=true
Restart=on-abnormal
SupplementaryGroups=i2c

[Install]
WantedBy=multi-user.target
Loading