dcgym / iroko

A platform to test reinforcement learning policies in the datacenter setting.
Apache License 2.0
67 stars 22 forks source link

Add a listener to the traffic generator that allows the remote adjustment of traffic sending rate. #12

Closed fruffy closed 5 years ago

fruffy commented 5 years ago

The goal here is to let the traffic manager (controller) be able to adjust the traffic (bandwidth) limits based on the action (a vector with each entry as the limit to each host).

One way to do this is that: Write an independent "traffic mediator" to listen to "action packets" from traffic manager, and send a packet containing the specific traffic limit to each host (goben interface). And this is in real-time. It can be done by using netcat