NetEmu

Get Started

To pull down and run the netemu code (currently just trivial comms example:

> hg clone ssh://smith//data/hg/alite/netemu alite-netemu
> cd alite-netemu
> mvn compile
> mvn exec:java -Dexec.mainClass="cz.agents.alite.netemu.demo.DemoCreator" 

In order for this to work, you need to copy the settings.xml file attached to this page into ~/.m2/. This enables read-only access to the CTU maven artifact repository. The write-permitted file is somewhere else on the wiki but requires an authorized account.

The tactical package is here:

> hg clone ssh://smith//data/hg/alite/tactical
> cd tactical
> mvn compile
> mvn package
> java -cp target/tactical-1.0-SNAPSHOT-jar-with-dependencies.jar exampleapp.creator.ExampleDefaultCreator

There is a branch netemu in there with some modifications.

Notes

Some very rough ideas on a second iteration of the comms package are in issue #1531.

Also worth reading is the attached paper.

settings.xml Magnifier - Maven settings file for CTU. (938 Bytes) Kopena Joseph, 07/10/2012 03:07 PM

komenda-ksco2012.pdf (6.49 MB) Kopena Joseph, 07/10/2012 03:38 PM