From 8800f76e552a170f76dbb63209f8bf7dbfc0573d Mon Sep 17 00:00:00 2001 From: Benjamin Hesmans Date: Thu, 5 Mar 2015 16:32:33 +0100 Subject: [PATCH] Small readme to get started Signed-off-by: Benjamin Hesmans --- README.rst | 50 +++++++++++++++++++++++++++++++++++++++ src/conf/topo/simple_para | 9 +++++++ 2 files changed, 59 insertions(+) create mode 100644 README.rst create mode 100644 src/conf/topo/simple_para diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..8914036 --- /dev/null +++ b/README.rst @@ -0,0 +1,50 @@ +What ? +------ + +Simple tool, based on `mininet `_, to boot a simple network +with n paths and run experiments between two hosts. + + +Usage +----- + +.. code-block:: console + + ./mpPerf -t topo -x xp + +The format for the topo file and xp file is simple but could be different based +on the type of topo or experiments. Details should follow. + +basic Example +------------- + +.. code-block:: console + + ./mpPerf -t conf/topo/simple_para + +The content of simple_para is: + +.. code-block:: console + + desc:Simple configuration with two para link + topoType:MultiIf + leftSubnet:10.0. + rightSubnet:10.1. + #path_x:delay,queueSize(may be calc),bw + path_0:10,10,5 + path_1:40,40,5 + path_2:30,30,2 + path_3:20,20,1 + +``topoType`` just specifies that we want to have multiple interfaces, one for +each path. + +Each path is defined by 3 values, delay (one way, int, in ms), queue_size (int, +in packets), and bandwidth (float, in mbit/s). + +Once the configuration is up, you have access to the CLI. You can check route +configuration (policy routing etc.) Just by issuing regular commands preceded +by ``Client`` or ``Server`` + +They are other option and experiments, but the documentation is still to be +written. diff --git a/src/conf/topo/simple_para b/src/conf/topo/simple_para new file mode 100644 index 0000000..06cece4 --- /dev/null +++ b/src/conf/topo/simple_para @@ -0,0 +1,9 @@ +desc:Simple configuration with two para link +topoType:MultiIf +leftSubnet:10.0. +rightSubnet:10.1. +#path_x:delay,queueSize(may be calc),bw +path_0:10,10,5 +path_1:40,40,5 +path_2:30,30,2 +path_3:20,20,1