VILLASframework
Modular co-simulation framework
Real-Time Protocol (RTP & RTCP)

Prerequisites

This node-type requires libre (>= 0.6.0).

Implementation

The source code of the node-type is available here: https://git.rwth-aachen.de/acs/public/villas/node/blob/master/lib/nodes/rtp.cpp

Configuration

netem (dictionary)

Enables and configures the network emulation qeueing discipline.

For more information see also: Network Emulation

Example

nodes = {
rtp_node = {
type = "rtp"
format = {
type = "raw"
bits = "32"
endianess = "big"
}
rtcp = false
aimd = {
a = 10,
b = 0.5
Kp = 1.0
Ki = 0.0
Kd = 0
rate_min = 100
rate_init = 2000
rate_source = 10000
log = "aimd-rates-%Y_%m_%d_%s.log"
hook_type = "limit_rate"
}
in = {
address = "0.0.0.0:12000",
signals = {
count = 3
type = "float"
}
}
out = {
address = "127.0.0.1:12000"
netem = { # Network emulation settings
enabled = false,
delay = 100000, # Additional latency in microseconds
loss = 10 # Packet loss in percent
}
}
}
}

Further reading