> @@ -163,8 +180,9 @@ class LacpLib(app_manager.RyuApp): > "SW=%s PORT=%d the timeout time has changed.", > dpid_to_str(dpid), port) > self._set_slave_timeout(dpid, port, idle_timeout) > - self._set_flow_entry_packet_in(src, port, idle_timeout, > - msg) > + func = self._add_flow.get(ofproto.OFP_VERSION) > + assert func > + func(src, port, idle_timeout, msg)
isn't it more natural to make this take datapath rather than msg? YAMAMOTO Takashi ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
