Policy-based Resilience Simulator with OMNeT++/ReaSE and XML-RPC

Now that you have INET framework up and running, you are ready to build ReaSE and install XML-RPC

Download ReaSE (ID #29) and Example Topologies (ID #21) for ReaSE.

Building ReaSE
Unpack the .tar.gz file to omnetpp folder in Home.

In OMNeT++ IDE, go to. Choose the ReaSE parent directory (situated in /home//omnetpp-4.1/ ) as root directory and click finish.

Now, right click on ReaSE folder shown in Project Explorer, Click. Uncheck "INET" and check "inet". Press  or   to build ReaSE.

ReaSE should compile without any errors now. If they show some errors regarding, just go to ReaSE directory, delete the   in the parent directory and   directory. Now go back to the IDE, right click ReaSE in Project Explorer, click Refresh. Press  or   to build ReaSE.

Testing ReaSE build
Unpack the Examples Topologies and copy the "Topologies" folder to ReaSE folder. Now, go to. Create a new configuration under OMNeT++ Simulation, set working directory as the simulation you want to run-  or   or   situated in "Topologies" directory under ReaSE. Now, set Executable as. Ini file should automatically be selected as  located in the simulation directory. Now change Config name to  and click run. The simulation should run now if ReaSE compiled without any error.

Installing XML-RPC
Install XML-RPC library, (package is named  or so, and is different in different distros, you can try searching for it in your cache).

Configuring ReaSE

 * Once XML-RPC is installed, in OMNeT++'s IDE, select ReaSE/src folder in Project Explorer and go to:

Right after and BEFORE include the following libraries:

It will look something like

Testing XML-RPC install
Try running one of the ReaSE simulations again-if it launches successfully, that means your XML-RPC install is correct- ReaSE automatically invokes XML-RPC on startup, and the simulation won't run if there is some error with XML-RPC install. Otherwise, check the console output to see if the error is caused by XML-RPC - if so, mostly the error is cause because you installed a wrong xml-rpc package - try Googling for xml-rpc with your distro name (like "linux mint xml-rpc") for exact package name.