Hi Muneem, You can start by simply modifying the simple_switch.py file. You can define data structures in which you can store your packet attributes such as (Source MAC, Dest MAC) etc. in the def_init function and use them in your packet_in_handler function. You may want to define a new function for the comparison of packet attributes and you should call it in the packet_in_handler function once a new packet is observed.
Hope this helps. On Fri, Sep 21, 2018 at 11:27 AM Munim Shabir <munim...@hotmail.com> wrote: > Hi All, > > I'mgiven a task of taking two packetINs, hash them and parse them to a > program for comparison. can somebody help me understand where to start. > > Do I need to write an app from scratch all at once or I can manipulate > simple_switch.py for Ryu? > > I am sorry for this silly question but I am just a rookie and struggling > real hard with my Masters thesis. Any help here will be appreciated. > > THANKS > Muneem Shabir > +923215363267 > _______________________________________________ > Ryu-devel mailing list > Ryu-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ryu-devel > -- University of California, Santa Cruz Computer Engineering Department
_______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel