Kb129
Emulab FAQ: Testbed Operations: What are sitevars?
Site variables ("sitevars") are stored in the sitevariables database table. Each one has a name, a description (NOT OPTIONAL!), a default value, and a current value. If the current value is NULL, the default value is used.
There is a mechanism in the install process to ensure all needed site variables exist before installing.
Management pages:
- editsitevars.php3 page, accessable to admins via the "Edit Site Variables" menu option.
- setsitevar script, an interface for listing, viewing in detail, and setting site variables.
- Web interface now uses web/nologins and web/message instead of one-off database tables.
NOTE that setting a variable to the default value and setting a variable to a value which is string-identical are NOT the same thing.