-
Notifications
You must be signed in to change notification settings - Fork 140
PacketGeneratorRegressionTests
Adam edited this page Jan 18, 2013
·
4 revisions
The regression tests verify the functionality of the packet generator. In order to run the tests, you need to have the machine connected for the regression tests as stated in the Run Regression Tests section of the Guide.
After connecting the cables. Run the following command to run the regression tests.
nf21_regress_test.pl --project packet_generator
- Name :
- Description :
# Initialize netfpga hardware # Load and send two pcap files from nf2c0 and nf2c1 # Check counters to verify number of packets sent.
- Location
- Output
SUCCESS!
- Name :
- Description :
# Initialize netfpga hardware # Start packet generator in capture mode # Send two pcap files from eth1 and eth2 using tcpreplay # Compare the captured pcap files to the originals and find errors.
- Location
- Output
SUCCESS!
- Name :
- Description :
# Initialize netfpga hardware # Load and send two pcap files from nf2c0 and nf2c1 with 10 iterations for nf2c0 and 100 iterations for nf2c1 # Check counters to verify number of packets sent.
- Location
- Output
SUCCESS!
- Name :
- Description :
# Initialize netfpga hardware # Load and send two pcap files from nf2c0 and nf2c1 (specify 1 Mbps sending rate) # Capture the sent packets to a pcap file # Determine the sending rate from the pcap file generated
- Location
- Output
SUCCESS!