-
Notifications
You must be signed in to change notification settings - Fork 9
Inst090
To install, simply download the [latest release] (https://github.com/brunyuriy/adasim/blob/master/releases/adasim-1.0.0-509.jar?raw=true).
Adasim expects to run on a JRE that has a Schema capable XML parser configured for its JAXP interface. Sun/Oracle JDKs from JDK 6 onwards come with Apache Xerces and thus fulfill this requirement.
The release JARs package all other required libraries, so no CLASSPATH setup is needed.
You also need a configuration file describing the simulation you want to run. Either create this file manually (the format is defined here), or use the random configuration Generator.
To run Adasim either call it directly from the commandline via
java -jar adasim-xxx.jar -I config.xml
(Replace xxx with the release number you downloaded and config.xml with the name of the configuration file you want to process.)
To run the configuration generator, call
java -cp adasim-xxx.jar traffic.generator.Generator <options>
The full commandline options for the generator are documented here.
To run multiple randomly generated simulations at once, you can use the scripts provided in the directory resources/scripts in the source download.
Their usage is documented here.