Assignment Mechanisms
Preferences provide a uniform system for passing options and parameters to Modeler. This system consists of several mechanisms for preference assignment from the "environment" of a program. Consistency among the different mechanisms is kept as close as possible, given that the mechanisms must abide by traditions common to the host operating system. The goal is for any option or parameter of a program to be assignable using any of six mechanisms. In descending order of precedence, you can assign preference values via:
- Environment Files (
.ef) file (in one of the mod_dirs directories) - Command Line Flags
- Shell Variables
- The default Preferences File (
opnet-<rel>.prefs) - A product environment file (
<product>.ef). Product environment files are located in<reldir>\sys\configs\global_prefs - The Windows registry
Command line flags and shell variables are universally used mechanisms for utility programs; environment files and preferences files are Riverbed-specific, but similar to the preference files used in other systems (e.g., the X Window System). A description of each mechanism follows.