vacp2p / wakurtosis

4 stars 3 forks source link

Gennet + Starlark: specifying inter-subnetwork QoS requirements #128

Open 0xFugue opened 1 year ago

0xFugue commented 1 year ago

This PR adds inter-subnetwork QoS generation functionality to Gennet and to Starlark. This can be exercised via config.json: the user can specify one or more QoS distributions (Uniform, Normal) Unthat range over the edges of the subnetwork. The users now can also completely block the traffic (Block) or have allow free flow of traffic (None).

config.json specifies a meta-QoS distribution that Gennet interprets and creates the final (loss rate (in %), delay distribution, delay (in ms) triplet for every edge.

Fixes couple of minor issues and improves performance of Gennet.

Also, deletes the signal fifo at the end of sim, and few other tweaks.

Closes #127 and #81