Jump to content

Policy-based Resilience Simulator with OMNeT++/Patching INET and ReaSE

From Wikibooks, open books for an open world

Download

[edit | edit source]

Download the codebase for the policy-based resilience simulator from here. Extract the zip file, and I'll recommend you to copy the folders "resilience" from "deliverable" folder to omnetpp folder.


Patching ReaSE

[edit | edit source]

Using OMNeT++'s IDE, import the resilience simulator extensions and patches. First, right click the directory ReaSE/src and go to: Import > General > File System In From Directory, choose the folder /resilience/patch/ReaSE/src which is contained in the resilience simulator package. Check the box next to src folder and then click Finish to add the Resilience Simulator extension and patch files to the ReaSE installation. The new components should appear in the ReaSE directory structure accordingly.

Patching INET

[edit | edit source]

Right click the directory inet/src and go to: Import > General > File System. In From Directory, choose the folder /resilience/patch/inet/src which is contained in the resilience simulator package. Check the box next to src folder and then click Finish to add the Resilience Simulator extension and patch files to the INET installation. The new components should appear in the INET directory structure accordingly.

This is the bit they missed in the original guide:

Recompile INET and ReaSE

[edit | edit source]

Go to Project > Clean > Clean All Projects and click OK. It should automatically start to build all projects after cleaning.

We are just one step away from setting up Policy-based Resilience Network Simulator with OMNeT++.

Building Distack · Setting up Ponder