mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
updated loopback example config
This commit is contained in:
parent
9a7e95691d
commit
55b8b9a8ab
1 changed files with 9 additions and 2 deletions
|
@ -34,6 +34,13 @@ nodes = {
|
|||
layer = "udp",
|
||||
local = "*:12000", # Local ip:port, use '*' for random port
|
||||
remote = "127.0.0.1:12001",
|
||||
combine = 5,
|
||||
netem = {
|
||||
enabled = false,
|
||||
delay = 1000000,
|
||||
jitter = 300000,
|
||||
distribution = "normal"
|
||||
}
|
||||
},
|
||||
node2 = {
|
||||
type = "socket",
|
||||
|
@ -47,7 +54,7 @@ nodes = {
|
|||
paths = (
|
||||
{
|
||||
in = "node1", # Name of the node we listen to (see above)
|
||||
out = "node2" # And we loop back to the origin
|
||||
hook = "decimate"
|
||||
out = "node2", # And we loop back to the origin
|
||||
hook = ["decimate", "print"]
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue