-
Notifications
You must be signed in to change notification settings - Fork 140
PacketGeneratorRegressionTests
Adam edited this page Jan 18, 2013
·
4 revisions
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.
Locationprojects/packet_generator/regress/test_send_pkts
- 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.
Locationprojects/packet_generator/regress/test_capture
- 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.
Locationprojects/packet_generator/regress/test_iterations
- 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
Locationprojects/packet_generator/regress/test_rate_limiter
- Output
SUCCESS!garbageGuide#wiki-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
projects/packet_generator/regress/test_send_pkts
- 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
projects/packet_generator/regress/test_capture
- 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
projects/packet_generator/regress/test_iterations
- 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
projects/packet_generator/regress/test_rate_limiter
- Output
SUCCESS!