Thanks for your reply Ben. i want to get this fake speed in my SDN controller. I am running Floodlight controller in OF 1.3 mode. regards
On Thu, May 26, 2016 at 12:07 PM, Ben Pfaff <b...@ovn.org> wrote: > On Wed, May 25, 2016 at 12:12:13PM +0500, Abdul Basit wrote: > > 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? > > Where do you want the fake speed to appear? >
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss