Skip to main content
Version: 0.80.0

UniformPacketDelayDistribution

The UniformPacketDelayDistribution creates a packet delay distribution with constant delay in ms. This can be used in conjuction with ConnectionConfig to introduce latency between two subnetworks. See set_connection instruction to learn more about its usage.


delay = UniformPacketDelayDistribution(
# Non-Negative Integer
# Amount of constant delay added to outgoing packets from the subnetwork
# MANDATORY
ms = 1000,
)