2 Uses of PLAN
The PLAN distribution will build a number of different executables. Of
interest are:
-
pland : the PLAN daemon implementing an Active Router
- plan_loader : the PLAN daemon merged with the Active
Loader [1] allowing switchlet-loading capability. This
won't be described in this document.
- inject : sends a PLAN program to the local pland to be interpreted
- plan : a non-network PLAN interpreter in read-eval-print mode
used to test out basic programs
A number of shellscripts are provided to simplify the use of these programs.
Additionally, a number of other executables exist, but they won't be
described here.
2.1 Example programs
The examples presented in this tutorial as well as many others may be found
in the directories interp_tests and rout_tests of the
distribution. The former contains programs which do not make use of the
network primitives (and may thus be run using the non-network interpreter).