EXP: Add scripts for running network experiments

net-eval-setup is a Ruby script that allows the user to specify a
series of network tests by choosing options representing various
types of experiments performed on either an IP or XIA network
stack. The user must explicitly specify which stack(s) to use and
at least one experiment to perform. The number of trials for each
experiment and the time that each experiment runs are also required
parameters.

net-eval-setup creates several temporary files. net-eval-tests is
a temporary file that lists all of the commands required for the
experiments requested. net-eval-status is a temporary file that
lists all required information for a given run of the experiment,
and is updated after each experiment to reflect the information
necessary for the next experiment.

There is an option in net-eval-setup for the experiments to be run
as boot scripts. If enabled, the system will enter a state of
running scripts and restarting the machine for every experiment.

net-eval-run si a Ruby script that uses the information present
in net-eval-status to perform an experiment listed in net-eval-tests.
It sets up the required containers and creates temporary scripts
for them to run. To synchronize the start of the scripts,
net-eval-run creates a temporary file start that reads "1" when
the experiments may begin, and "0" otherwise. The containers
repeatedly check this file to see when they may begin the pw program.

When the experiments have completed, the containers and bridges
are destroyed and the system is rebooted. If the boot script option
was enabled in net-eval-setup, upon rebooting the experiments will
continue running and restarting cyclically.

To better organize the experiments, the temporary files that are
created during the experiments are now placed in a directory
"tmp" which is created the first time that net-eval-setup is run.
EXP: Alter how scripts output error information

At the end of every run of net-eval-run, the kernel ring buffer
is read, written to a file net-eval-log in the tmp directory,
and cleared. This log of the output of dmesg may serve as a
history of the experiments performed and a debugging tool.

This log is sufficient to track what occurs during each
experiment, so many of the print statments that show the
progress of the experiments are removed. For net-eval-run,
stderr is redirected to the kernel ring buffer and then reset
to stdout after it is completed.
EXP: Add reverse-path filtering and IP forwarding options

Since the source address of the packets in the experiments is not
in the routing table of the router, reverse-path filtering has to
be disabled. Therefore, an option is added to net-eval-setup to
enable (some non-zero argument) or disable (argument of zero)
reverse-path filtering.

IP forwarding should be enabled for the experiments as well.
Therefore, an option is added to net-eval-setup to enable (some
non-zero argument) or disable (argument of zero) IP forwarding.
EXP: bind mount ruby and lxc for faster experiments

Before this patch, ruby and lxc were downloaded using apt-get,
which took some time (in addition to the time required for
doing an apt-get update). For a large number of containers (>4),
the time it took to install ruby and lxc on the containers was
too long.

This patch locates the various files needed by lxc and ruby on
the host's filesystem and bind mounts them into each container.
This way, network connection is not necessary to run the
experiments, and the container setup process is much faster.

This patch depends on the hosts's ruby interpreter being version
1.9.1. For other versions, the code to bind mount the ruby files
will need to be manually amended.
EXP: allow packet sizes greater than 1500B

For experiments that test packet sizes of greater than 1500 bytes,
the MTUs of the devices (eth0 for every container, bridge to every
container, and veth for every container) are changed to the packet
size to be tested.

This information is printed to the experiment log.
EXP: Fix some bugs and update to Raring

The scripts now run under Ubuntu 13.04 (Raring Ringtail) containers.
Additionally, there were some changes to the shared library files
that lxc uses, so those have been updated.

There were also some changes made to fix some bugs that occur when
run with Raring.
EXP: move IP options and clean up code
Update experiment scripts for Saucy
Added output of rk and pw
Update experiment parameters

Neither IP nor XIA can handle update rates above 10^5, so no tests
should be performed above that rate.

The update rate experiment is reworked to change with the destination
address as well.

64B packets cannot hold any destination addresses bigger than fb0 in
XIA, so no need to add those tests. Similarly, 128B packets cannot
hold the fb3 XIA destination address.