Hi,Sandhya On 2014年12月02日 08:28, varanasi sandhya wrote: > Hi All > > I am a master's student working on a project involving RYU controller. Would > like to know if both simple_switch_13.py and ofctl_rest.py functionalities > can be used together or not? > > The controller should be accepting flow entries with curl commands while > using ofctl_rest.py and also should be able to install flows automatically as > it does in simple_switch_13.py. > > I tried the rest linkage as given in chapter 3 of ryubook and that works fine > but installs only one kind of flow entry and cannot be used to modify or > delete flows or to get stats. This needs some modification to send all the > curl commands like we do while using ofctl_rest.py. > > Please let me know if there is any existing code with the above mentioned > features.
Unfortunately, there is no such source code as far as I know. If you need any help with the implementation, please contact us. > > Also, I wanted to know how I can test OFPFF_CHECK_OVERLAP condition? > > I set OFPFF_CHECK_OVERLAP flag at RYU ofctl_v1_3.py code in the mod_flow > entry definition and then run the controller, OVS should ideally return error > OFPFMFC_OVERLAP on inserting a duplicate flow with same priority and match. > But instead the new flow just replaces the old flow. > I have analyzed the Flow_mod message Ryu (ofctl_rest) is using to send the WireShark. Then, the problem was not found (Add requests (OFPFC_ADD) with the OFPFF_CHECK_OVERLAP flag flag has been set.). Therefore, it seems to be a Switch problem. Also, in my environment, Not return an error in the case of OpenvSwitch, If another Switch of (CPqD) the following error has been returned. Type: OFPET_FLOW_MOD_FAILED (5) Code: OFPFMFC_OVERLAP (3) # Version of OpenvSwitch I've used, is the latest development version (2.3.90). Are you using the OpenvSwtich? In that case, there may be cause to OpenvSwitch. Better to contact the "openflow-dev" would resolve the problem quickly. Note: CPqD https://github.com/CPqD/ofsoftswitch13 thanks > > Any help would be appreciated. > > > Thanks > Sandhya Varanasi > > > ------------------------------------------------------------------------------ > 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=157005751&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=157005751&iu=/4140/ostg.clktrk _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
