Service Placement Framework - ns-2 Installation Guide
=====================================================

This document describes how to integrate the Service Placement Framework into
the ns-2 network simulator (http://nsnam.isi.edu/nsnam/index.php/Main_Page).

You'll need a working installation of the ns-2 network simulator, preferably
version 2.32 as otherwise the patches may not apply cleanly. Let's assume that
the source code of ns-2 is locate in $NS2_SRC_DIR.

Proceed with the following steps:

1) Get the current SVN version of AODV-UU following the instructions at their
   webpage at http://core.it.uu.se/core/index.php/AODV-UU and place it into the
   directory $NS2_SRC_DIR/aodv-uu.

2) Place the Service Placement Framework files into the directory
   $NS2_SRC_DIR/service_placement_framework.

3) Apply the patch ns-2.32_include_service_placement_and_aodv-uu.patch located
   in $NS2_SRC_DIR/service_placement_framework/patches/ to the ns-2 code base.

4) Run ./configure and recompile ns-2.

5) Test your instalation with the simulation script $NS2_SRC_DIR/\
   service_placement_framework/simulation/test.tcl.
