iroko
iroko copied to clipboard
Plugging in different traffic metrics and different switch
Is it possible to replace mininet default switch (ovs switch) with some custom switch? For example can we, collect the metrics from the switch and feed to the AI based learner? Is there any kind of interface in this project?
Definitely possible since Mininet allows for that and this project builds on it. For example, people have developed P4 switches that run with Mininet.
We could also collect metrics from the switch if needed. In practice, using Linux traffic control statistics was sufficient. Also from my experience OVS has been the most resource-efficient and performant switch, even though it might be a bit bulky for this project.
To collect new metrics one would write a new monitor here that polls statistics from switches. You can then add it to the state manager. In the state manager you can customize your state and reward.