Hi, For an experiment, instead of throttling bandwidth in mininet using 'bw' parameter. My objective is to create virtual interfaces with different speeds. As per my understanding, OVS creates virtual interfaces using veth pair on behalf of our mininet command. Instead of modifying linux kernel, i want OVS to visualize/pretend virtual interfaces of different speeds. To do so i did following steps
1. I have modified 'bridge.c' 2. In 'iface_refresh_netdev_status' function i am passing custom speed to 'ovsrec_interface_set_link_speed' function 3. For testing my modified code i am adding new port to a bridge 'br0' but this does't seem to call 'iface_refresh_netdev_status' function even i tried writing this value in file on disk. I need guidance whether i'm heading in a right direction to fake the port speed? May i know any resource from where i could find more detail for OVS code insight? regards
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss