README 1.1 KB

1234567891011121314151617181920
  1. This folder contains the NS3 vs INET 802.11 validation tests.
  2. -------------------------------------------------------------
  3. The tested scenarios should run in both simulators through the same trajectories
  4. generating exactly the same packets at exactly the same time. Both simulator
  5. must be instrumented to generate the required log files for the comparison.
  6. NS3 must be patched while INET should be built with the NS3_VALIDATION macro defined.
  7. Steps to run the tests:
  8. - Make sure you are running OMNeT++ 5.0 or later (will NOT work properly with 4.6).
  9. - Download ns3.24.1 and extract it into a directory of your choice.
  10. - Create a symlink named 'ns3' in this folder pointing to your NS3 installation folder
  11. - Copy ns3-inet-validation-XXXXX.patch to the ns3 directory and patch the sources with
  12. $ patch -p1 <ns3-inet-validation-XXXXX.patch
  13. - Rebuild INET with the -DNS3_VALIDATION macro added to the CFLAGS variable.
  14. To do this, uncomment the appropriate line in 'src/makefrags'.
  15. - Compile NS3 using the official mechanism (./build.py --enable-examples)
  16. - Execute 'runtest *.test' to run all tests