-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set link bandwidth in multiswitch.p4app #78
Comments
I think you should modify the docker/scripts/apptopo.py and rebuild the docker image to enable the configuration about bandwidth. You can see the code in the file: |
Hi Chen, Thanks a lot. I tried the customtopo.p4app, and I can set the bw from there |
I am not very familiar with mininet. But from the document, http://mininet.org/overview/, it seems that the bandwidth is limited by the CPU power. I know that ns3 can provide more power for the network simulation, and you can ask the problem from the mail-list of mininet developers. |
Hello, I am pretty new in p4app and mininet environment. I was wondering if there any way to define the bandwidth of each link, alongside the delay in p4app.json file? I tried the following:
"links": [["h1", "s1"], ["s1", "s2", 20, 10], ["s2", "h2"]],
instead of
"links": [["h1", "s1"], ["s1", "s2", 20], ["s2", "h2"]],
in the p4app.json file of the multiswitch.p4app. But looks like it's not working.
Thanks in advance.
The text was updated successfully, but these errors were encountered: