forked from lf-edge/edge-home-orchestration-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.toml
57 lines (50 loc) · 977 Bytes
/
configuration.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[Writable]
LogLevel = 'DEBUG'
[Service]
Host = '172.17.0.1'
Port = 49986
ConnectRetries = 20
Labels = []
OpenMsg = "REST device started"
Timeout = 5000
EnableAsyncReadings = true
AsyncBufferSize = 16
[Registry]
Host = 'localhost'
Port = 8500
Type = "consul"
CheckInterval = "10s"
FailLimit = 3
FailWaitTime = 10
[Clients]
[Clients.Data]
Protocol = "http"
Host = "172.17.0.1"
Port = 48080
Timeout = 5000
[Clients.Metadata]
Protocol = "http"
Host = "172.17.0.1"
Port = 48081
Timeout = 5000
[Clients.Logging]
Protocol = "http"
Host = "localhost"
Port = 48061
[Device]
DataTransform = true
InitCmd = ""
InitCmdArgs = ""
MaxCmdOps = 128
MaxCmdValueLen = 256
RemoveCmd = ""
RemoveCmdArgs = ""
ProfilesDir = "./res"
# Pre-define Devices
[[DeviceList]]
Name = "datastorage"
Profile = "datastorage"
Description = "RESTful Device"
Labels = [ "rest", "json", "numeric", "float", "int" ]
[DeviceList.Protocols]
[DeviceList.Protocols.other]