Hi, > It seems that ryu/tests/switch/tester.py will not override the ports defined > in test cases. > > (e.g. ryu/tests/switch/of13/*) > > Should this be overrided by tester.py or the test cases should be modified?
Sorry, you need to modify the sample test cases. For beginners to make it easier to understand, sample test cases (e.g. ryu/tests/switch/of13 and 14) is set the default port number. Please let me know if you have any questions. Thanks. (2014年10月06日 16:16), prd::S wrote: > Hello, > > On Sat, Sep 13, 2014 at 12:06 AM, FUJITA Tomonori > <[email protected] <mailto:[email protected]>> wrote: > > On Fri, 12 Sep 2014 17:32:28 +0900 > Minoru TAKAHASHI <[email protected] > <mailto:[email protected]>> wrote: > > > You can specify the port number in the options when sw test tool is > started. > > The example is as follows: > > > > ryu-manager --test-switch-target_recv_port 4 (default:1) > > --test-switch-target_send_port_1 5 (default:2) > > --test-switch-target_send_port_2 6 (default:3) > > --test-switch-tester_send_port 7 (default:1) > > --test-switch-tester_recv_port_1 8 (default:2) > > --test-switch-tester_recv_port_2 9 (default:3) > > ryu/tests/switch/tester.py > > > > Signed-off-by: Minoru TAKAHASHI <[email protected] > <mailto:[email protected]>> > > --- > > ryu/flags.py | 18 ++++++++++++++ > > ryu/tests/switch/tester.py | 58 > ++++++++++++++++++++++++++++++++++------------ > > 2 files changed, 61 insertions(+), 15 deletions(-) > > Applied the series, thanks! > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Ryu-devel mailing list > [email protected] <mailto:[email protected]> > https://lists.sourceforge.net/lists/listinfo/ryu-devel > > > Thanks for the patch. > > We've tested this patch. > > It seems that ryu/tests/switch/tester.py will not override the ports defined > in test cases. > > (e.g. ryu/tests/switch/of13/*) > > Should this be overrided by tester.py or the test cases should be modified? > > Thanks! ------------------------------------------------------------------------------ Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
