2019-03-22 13:49:07 +01:00
|
|
|
nodes = {
|
2019-03-25 21:17:34 +01:00
|
|
|
ethernet_node = {
|
2019-03-22 13:49:07 +01:00
|
|
|
type = "socket", # See above.
|
|
|
|
|
|
|
|
### The following settings are specific to the socket node-type!! ###
|
|
|
|
|
|
|
|
layer = "eth",
|
|
|
|
in = {
|
2020-09-10 17:35:35 +02:00
|
|
|
address = "12:34:56:78:90:AB%em1:12002"
|
2019-03-22 13:49:07 +01:00
|
|
|
},
|
|
|
|
out = {
|
2020-09-10 17:35:35 +02:00
|
|
|
address = "12:34:56:78:90:AB%em1:12002"
|
2019-03-22 13:49:07 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
unix_domain_node = {
|
|
|
|
type = "socket",
|
|
|
|
layer = "unix", # Datagram UNIX domain sockets require two endpoints
|
|
|
|
|
|
|
|
in = {
|
|
|
|
address = "/var/run/villas-node/node.sock"
|
|
|
|
},
|
|
|
|
out = {
|
|
|
|
address = "/var/run/villas-node/client.sock"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|