Hi, > Can anyone please tell me how ryu normally push flows to the switches
This Ryu app may be helpful. https://github.com/osrg/ryu/blob/master/ryu/app/simple_switch_13.py#L50-L63 Details are described in Ryu-BOOK. http://osrg.github.io/ryu-book/en/html/switching_hub.html#id2 > or which ryu method I can use to push those best paths to the switches? As far as I know, it does not exist such a method. > However I dumped the link, dpid and port information using dumper file. Is > there anyway I can use those information inside my application without > dumping them? Would you like to try to make the app based on dumper.py? Note: event.py: event class switches.py: switch(datapath) discovery app using ofp_event dumper.py: test and example app using switch discovery event https://github.com/osrg/ryu/commit/443891b1c42afa6f102f081db477d37b02b09158 Thanks On 2015年02月17日 00:30, MD.Badruzzaman Shakib wrote: > Hello everyone, > > I am developing an ryu application to calculate the best path during link > failure and push those best path to the switches. By using the dumper file I > managed to dump the events and using networkX I calculated the best path in > my application. But I could not figure out how to push these best paths to > the switches. Can anyone please tell me how ryu normally push flows to the > switches or which ryu method I can use to push those best paths to the > switches? > > However I dumped the link, dpid and port information using dumper file. Is > there anyway I can use those information inside my application without > dumping them? > > Thanking you > Sakib > > > > ------------------------------------------------------------------------------ > 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=190641631&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Ryu-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ryu-devel > ------------------------------------------------------------------------------ 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=190641631&iu=/4140/ostg.clktrk _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
