Class MultiRouterBuilder

  extended by net.i2p.router.MultiRouterBuilder

public class MultiRouterBuilder
extends java.lang.Object

Build a set of config files suitable for use by the multirouter as a simulation, as well as a pair of scripts for running the simulation. Usage:

   MultiRouterBuilder [routerDir routerPortStart]*
Each router is configured with their own $routerDir/router.config file so that all of its data is stored under the $routerDir (profiles, keys, netDb, etc). In addition, each router has the i2cp port set to $routerPortStart+1, the admin port set to $routerPortStart+2, and some commented out clientApp lines (configured with the SAM bridge at $routerPortStart+3 and an EepProxy at $routerPortStart+4).

It then builds a $routerDir/heartbeat.config containing the following lines:

Then it goes on to create the $routerDir/routerEnv.txt: In addition, it creates a baseEnv.txt: Finally, it creates the MultiRouter startup script to launch all of these routers, stored at runNetSim.bat /

Constructor Summary
Method Summary
static void main(java.lang.String[] args)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public MultiRouterBuilder()
Method Detail


public static void main(java.lang.String[] args)