On Tue, 2 Dec 2014 21:08:14 -0800 Sakib Shaikh <[email protected]> wrote:
> I am using RYU to do SDN for routing traffic to links with better bandwidth > in a multipath topology. > > I have a mininet topology such that there are 4 switches and 4 hosts (h1, > h2, h3, h4, s1, s2, s3, s4). > > The links are setup such that we have > link(s1, s2), link(s2, s3), link(s3, s4), link(s4, s1), link(h1, s1), > link(h2, s2), link(h3, s3), link(h4, s4) > > suppose that the link(s1, s2) has a bandwidth of 10 mbps where as link(s4, > s1) has a capacity of 20 mbps. I want to setup the controller such that > routes traffic that goes from h1 to h4 using the faster path more > frequently. > > I am very new to openflow and RYU so I am having trouble determining the > right event to use that will let me modify the flow in the controller so > that I can route traffic based on bandwidth. I notice that once flows are > established, the controller does not do the computation in the > _packet_in_handler function of ofp_event.EventOFPPacketIn, is there a way > to access the controller before it routes traffic based on the flow table > entries? > > Also, is it possible to get the bandwidth of the links in the RYU > controller? I guess that you are taking about bandwidth usage, right? http://osrg.github.io/ryu-book/en/html/traffic_monitor.html You could monitor trafic usage and modify flows. ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
