183 | | * {{{routing}}}: set default routes and route correctly for control net and data net. |
184 | | * {{{mounts}}}: look in the appropriate "data bag" for the test bed type the client is running on and mount the file systems found there. See {{{/local/chef-repo/data_bags/testbed-defs/eine.json}}} for a sample emulab-in-emulab testbed-specific configuration. (These testbed specific data bags take the place of the compile time *.DEF files in the testbed source tree.) |
185 | | |
| 183 | * {{{etchosts}}}: extract peer information and create an experiment specific {{{/etc/hosts}}} for the node. |
| 184 | * {{{routing}}}: set default routes and route correctly for control net and data net. It grabs all addresses and subnet information, builds a graph and uses Dijkstra's algorithm to find shortest-path routing, then sets the appropriate routes. It currently sets a route for each node in the experiment. This is not good. The recipe will have to be improved to handle subnet routing. |
| 185 | * {{{mounts}}}: look in the appropriate "data bag" for the test bed type the client is running on and mount the file systems found there. |
| 186 | * {{{accounts}}}: extract user account information from the database and make the user accounts. Home directories would be on the mounted directories from the {{{mounts}}} recipe. |
| 187 | * {{{ifconfig}}}: extract data network IP address(es) and netmask(s) from the database and set them on the appropriate network interfaces. |
| 188 | * {{{binaries}}}: copy (via wget) platform specific binaries and start them running. This recipe currently start {{{ipodd}}} and {{{slothd}}}. This recipe could be expanded to build the binaries, create /etc/init.d/ scripts, then start the daemons. Etc. |
| 189 | |