Recommendations for Success

Here are a few suggestions for improving your shared code development process.

Start Early

Start shared code development when your code base is small and you will do better as the code grows.

  • Success is more likely if multi-platform compiling and running is introduced early in the process.
  • The initial design for protocol-specific behavior is likely to be incomplete; early testing will reveal flaws.

Use Version Control

Use version control if multiple people are working on the shared code.

  • All code files are easy to save in version control and changes are easy to merge.
  • Store node models as XML files to make merging easier.

Automate your Testing

Automated testing can be done with Modeler and the Shared Code Development module. For example, you can do the following:

  1. Get the latest code from version control.
  2. Compile and run a set of simulations from the command line.
  3. Convert the .ov files to CSV files with the op_cvov program.
  4. Run analysis on the statistics and log files.

Riverbed has some add-on modules that make automated testing easier:

  • Automation module can automate GUI tasks.
  • ODK module allows greater control to re-write the GUI and run a set of complicated tasks.