- 10 Dec, 2003 12 commits
-
-
Robert Ricci authored
-
Leigh B. Stoller authored
-
Shashi Guruprasad authored
I didn't know was to be done until Leigh pointed me to it.
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
Fix up revision ordering that got messed up by two revisions by Shashi but with no corrsponding entries in database-mirgrate (204 and 198).
-
Robert Ricci authored
though.
-
Leigh B. Stoller authored
since otherwise the warning goes into the XML output and confuses the converter.
-
Leigh B. Stoller authored
invovling testbed ops. Split into two parts: * password.php3 gives the user a form to specify their email address and their phone number. We look for a match in the DB, with the phone number stripped of all non-numeric characters and the email addresses lowercased. If we find a matching user in the database, generate a unique key and store that into the DB along with a timestamp that allows the key to be used for a short time period (currently 30 minutes). The key is split into two parts, with half stored in the users browser (secure mode), and the other half sent to the user in an email message that contains a URL that allows the user to reset their password. * chpasswd.php3 does the rest of the operation. It takes half the key from the URL, and sucks the other half from the user's browser, combining the two halves and matching it against the key that is stored in the DB. If the key matches and the timeout has no...
-
Leigh B. Stoller authored
arguments).
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
- 09 Dec, 2003 6 commits
-
-
Kirk Webb authored
A couple of things: 1) Added PLAB_SLICEPREFIX so that we can separately instantiate plab slices from mini, or elsewhere. On the mainbed, its set to "emulab". On mini, its set to "emulab_mini". The "emulab" part has to exist first so that the new plab node manager doesn't nuke our dslice slivers. 2) Fixed up Plab.getFree() so that it doesn't try to add the same IP twice to the DB if a new one is found, and listed more than once.
-
Shashi Guruprasad authored
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
select the default user interface for a project. The choice is current 'emulab or 'plab', defaults to 'emulab'. New users that join emulab get the default user interface from the first project they join. Also generalize the plab_user bit as new "user_interface" slot of the users table, which is an enum of interface tokens, currently either 'emulab' or 'plab', defaults to 'emulab'. The plab_user bit will be removed later.
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
- 08 Dec, 2003 10 commits
-
-
Robert Ricci authored
effect a single node, but are different from 'class' fds in that they are stateful - ie. the socre you get depends on all other vnodes currently mapped to the pnodes. These are identified by prefixing them with a '?'. ('*' for global, mnemoic 'matches all'; '?' for local, mnemonic 'matches one') The currently implemented local fd is the additive one, or '?+'. We add the desire weight for all vnodes on the pnode together, and if this number is greater than the pnode's weight for the feature, a violation is flagged. The idea here is that we can give a pnode a feature like: ?+memory:256 and vnodes desires like ?+memory:16 or ?+memory:64 to pack vnodes onto pnodes in a manner that appropriately reflects their resource usage.
-
Robert Ricci authored
terminating experiments that are not already swapped out.
-
Robert Ricci authored
tbswap, since there are parts of the state machine that are outside these scripts.
-
Leigh B. Stoller authored
with. Currently 'emulab' or 'plab', defaults to emulab. This will replace the current plab_user bit that Rob added, but I will remove that later.
-
Robert Ricci authored
on boss, this cuts the size of the testsuite's 'clean' db from > 100MB to a paltry 12MB.
-
Leigh B. Stoller authored
should start with. Currently 'emulab' or 'plab', defaults to emulab.
-
Leigh B. Stoller authored
to the node_types_auxtypes and node_auxtypes tables. The goal is to not have a gaggle of fake types in the node_types table, but rather to store the virtual types that a node (type) can take on, in the two aux tables (node_auxtypes holds the count). This removes part of the special handling of virtual types from ptopgen, and cuts down the number of bogus entries in the node_types table. I also did some cleanup. Got rid of a bunch of separate hash tables and combined into a single hash of "records" indexed by type. This script could use quite a bit more such cleanup.
-
Leigh B. Stoller authored
node's primary virtual type.
-
Leigh B. Stoller authored
node's primary virtual type.
-
Robert Ricci authored
what it means a little more.
-
- 07 Dec, 2003 3 commits
-
-
Leigh B. Stoller authored
the message instead of tbops.
-
Shashi Guruprasad authored
-
Shashi Guruprasad authored
in the dev tree. I'm tired of problems on the mini that wastes my time. Changes include 2 new tmcd commands: tmcc routelist returns the routes for all the vnodes hosted on a pnode. tmcc role returns the role of a reserved node, like 'virthost' or 'simhost. tmcc ifconfig now reports an RTABID field which is calculated in assign wrapper. All the new changes in assign wrapper will be checked in after I finish testing. All the DB changes are in: simnode_capacity in node_types, rtabid in interfaces and veth_interfaces. New NSE event_objtype and NSEEVENT event_eventtype. Changed the erole field in the reserved table to have 'simhost' instead of 'simnode'. Changed the correspoding libdb subroutines.
-
- 05 Dec, 2003 8 commits
-
-
Robert Ricci authored
-
Leigh B. Stoller authored
-
Robert Ricci authored
use pcplab nodes.
-
Robert Ricci authored
containing the set of node types a user is allowed to use. Add a NODETYPE_ALLOWED() function to check against this hash.
-
Robert Ricci authored
to get a list of what types a project is allowed to use.
-
Leigh B. Stoller authored
interface to the backend. mkproj now looks at the pcremote_ok set and makes the proper calls to grantnodetype. This reduces the amount of hardwired goo in the web interface. Still, there is a bit of hardwired stuff in mkproj. At present we do not form a relationship between a phys node type and the types we assign to the virtual nodes. Thats is, nothing says that a pcplabphys implies the right to use pcplabinet, etc. With only 3 remote phys types, I just hardwired it into mkproj calling grantnodetype with type pcplab (the class for the virtnodes) for pcplabphys. Same for pcron and pcwa, (both get pcvwa). Ultimately we need a better type system. In general the type system is pretty screwy.
-
Leigh B. Stoller authored
physical plab nodes.
-
Leigh B. Stoller authored
-
- 04 Dec, 2003 1 commit
-
-
Jonathon Duerig authored
-