I have been trying to simulate a network in mininet with different edges/links having different bandwidths. I am using a following command to add a link with a specific bw in mininet. In the following snippet I am setting the bandwidth of the edge (s1-s2) as 3mbps.
self.addLink(s1, s2, bw=3, delay='5ms', use_htb=True)
I am connecting the mininet topology to a remote OpenDaylight controller by doing following.
net = Mininet( topo=topo,
host=CPULimitedHost, link=TCLink,
autoStaticArp=True, controller=partial( RemoteController, ip='127.0.0.1', port=6633 ) )
However, I am seeing 10Gbps bandwidth being set in open daylight controller APIs (and plugins). I tried to research a lot, but didn't find anything useful.
Similar post: https://mailman.stanford.edu/pipermail/mininet-discuss/2014-June/004629.html
Any help would be appreciated. Thanks