On Mon, 21 Apr 2014 12:12:26 +0900 (JST) FUJITA Tomonori <[email protected]> wrote:
> On Mon, 21 Apr 2014 15:12:56 +1200 > Karthik Sharma <[email protected]> wrote: > >> I have copied the function send_lldp_packet() from >> *ryu/topology/switches.py.*The only addition that I have done to the >> function is to add a print statement.Now If I were to run the controller >> using >> >> * sudo ryu-manager --observe-links ryu/app/simple_switch.py* >> >> and >> >> make the mininet topology connect to the controller I don't see the print >> *('send_lldp_packet')* coming on the screen. > > Just copying send_lldp_packet() doesn't anything. You also need the > caller, etc. If you want to do l2 switch feature with toplogy feature, > I would recommend you to extend ryu/topology/ instead of simple_switch Or you could run both applications, I guess. ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
