Hi, These are some wiki-pages which helped me understand how oftest is supposed to work: http://www.openflow.org/wk/index.php/OFTestTutorial http://www.openflow.org/wk/index.php/OFTestReadme
Regards, Zoltan. > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On > Behalf Of Srini Seetharaman > Sent: Monday, August 01, 2011 4:46 PM > To: Dongwenxia > Cc: [email protected] > Subject: Re: [openflow-discuss] how to test test "basic" > Module of oftest? > > Hi > Could you please let me know what values you have in > remote.py? The dataplane tests requires that at least 2 ports > of the machine running the oftest (i.e., PC4 in your case) > are also connected to the OpenFlow switch. This is how the > oftest is able to control the pkts generated and also to test > whether the right fwding happens. You don't need the > PC1 and PC2. > > Srini. > > > On Tue, Jul 12, 2011 at 12:36 AM, Dongwenxia > <[email protected]> wrote: > > I have some problems when I do the "basic" module test > using "remote" > > platform.I give some discriptions as follows: > > > > Environment: > > Openflow runs on PC3 with IP address 189.81.50.77, > OFTest runs on > > PC4 with IP address 189.81.50.202. > > > > Topo: > > > > ======== > > + Oftest+ PC4 > > ======== > > eth0|189.81.50.202/24 > > | > > | > > eth1|189.81.50.77/24 > > ========= > > PC1----------------+OpenFlow+------------------PC2 > > 140.1.1.1/24 Eth0=========Eth2 140.1.1.2/24 > > PC3 > > > > > > Command on Oftest: > > ./oft --test-spec=basic --platform=remote > --host=189.81.50.202 > > --port=6633 > > > > Command on OpenFlow: > > ./udatapath/ofdatapath punix:/var/run/dp0 -d 001b21036929 -i > > eth0,eth2 > > > > ./secchan/ofprotocol unix:/var/run/dp0 tcp:189.81.50.202:6633 > > > > > > > > When I do the "basic" module test, the result on > PC4(Oftest) is as follows: > > > > Ran 11 tests in 156.467s (failures=2, errors=5),only 4 tests(Echo, > > EchoWithData, FlowMod, FlowStatsGet) are ok. > > > > > > > > Why the "DataPlaneOnly" test is not successful? > > > > Why the "PacketIn" and "PacketOut" testes are not successful? > > > > > > > > Is right my environment? Do I need any operation if I do > the "basic" test? > > > > > > > > The "DataPlaneOnly" mean? > > > > > > > > When I do the "PacketIn" test, need to do "ping 140.1.1.2" on PC1 ? > > > > > > > > Could you give me detailed description how to test "basic" > module and > > some ensample? > > > > > > > > Thank you very much! > > > > _______________________________________________ > > openflow-discuss mailing list > > [email protected] > > https://mailman.stanford.edu/mailman/listinfo/openflow-discuss > > > > > _______________________________________________ > openflow-discuss mailing list > [email protected] > https://mailman.stanford.edu/mailman/listinfo/openflow-discuss > _______________________________________________ openflow-discuss mailing list [email protected] https://mailman.stanford.edu/mailman/listinfo/openflow-discuss
