mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
updated loopback example configuration
This commit is contained in:
parent
d0ad1e47ef
commit
0a48309ab1
1 changed files with 10 additions and 10 deletions
|
@ -7,22 +7,22 @@
|
|||
#
|
||||
# 0. Overview:
|
||||
#
|
||||
# ./random --PIPE--> ./send --UDP--> ./server --UDP--> ./receive
|
||||
# ./signal --PIPE--> ./pipe --UDP--> ./node --UDP--> ./pipe
|
||||
#
|
||||
# 1. Start server:
|
||||
#
|
||||
# $ ./server etc/loopback.conf
|
||||
# $ ./node etc/loopback.conf
|
||||
#
|
||||
# 2. Send random data to server:
|
||||
#
|
||||
# $ ./random 4 10 | ./send etc/loopback.conf node1 -r
|
||||
# $ ./signal random -r 10 -v 4 | ./pipe etc/loopback.conf node1
|
||||
#
|
||||
# 3. Receive data from server:
|
||||
#
|
||||
# $ ./receive etc/loopback.conf node2 -r
|
||||
# $ ./pipe etc/loopback.conf node2
|
||||
#
|
||||
# Author: Steffen Vogel <stvogel@eonerc.rwth-aachen.de>
|
||||
# Copyright: 2015, Institute for Automation of Complex Power Systems, EONERC
|
||||
# Copyright: 2016, Institute for Automation of Complex Power Systems, EONERC
|
||||
##
|
||||
|
||||
stats = 1;
|
||||
|
@ -35,11 +35,11 @@ nodes = {
|
|||
local = "*:12000", # Local ip:port, use '*' for random port
|
||||
remote = "127.0.0.1:12001",
|
||||
combine = 5,
|
||||
header = "villas", # app_hdr can be gtskt or default. If not provided, default header will be used
|
||||
vectorize = 1, # number of samples to fetch per iteration from the socket
|
||||
header = "villas", # 'gtnet-skt' or 'villas'. If not provided, 'villas' header will be used
|
||||
vectorize = 1, # Number of samples to fetch per iteration from the socket
|
||||
netem = {
|
||||
enabled = false,
|
||||
delay = 1000000,
|
||||
delay = 1000000, # In micro seconds!
|
||||
jitter = 300000,
|
||||
distribution = "normal"
|
||||
}
|
||||
|
@ -49,8 +49,8 @@ nodes = {
|
|||
layer = "udp",
|
||||
local = "*:12001", # Local ip:port, use '*' for random port
|
||||
remote = "127.0.0.1:12002",
|
||||
vectorize = 30,
|
||||
header = "villas"
|
||||
header = "villas", # 'gtnet-skt' or 'villas'. If not provided, 'villas' header will be used
|
||||
vectorize = 1 # Number of samples to fetch per iteration from the socket
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue