- 23 Dec, 2003 3 commits
-
-
Kirk Webb authored
-
Mike Hibler authored
than contacting the dslice agent which no longer exists.
-
Leigh B. Stoller authored
Change ptopgen to look at the eventstate of a node; a node is not considered free unless it is ISUP or PXEWAIT. Add TBAvailablePCs() to libdb, removing the corresponding code from assign_wrapper. This routine does the equiv of ptopgen, returning the number of PCs that are available for use (looking at eventstate). Change TBFreePCs in the web interface accordingly. The above changes correspond to an upcoming change in stated.
-
- 16 Dec, 2003 4 commits
-
-
Mike Hibler authored
If plabmetrics fails and it has been less than two intervals (interval==5 min) since the stats file was modified, then send a message If plabmetrics succeeds and it has been more than two intervals since the last mod, send a "back in business" message.
-
Kirk Webb authored
requested, these are now only sent if the current number of minutes is between 0 and 5.
-
Shashi Guruprasad authored
ns2ir and nseparse to chmod the directories with the right permissions.
-
Leigh B. Stoller authored
-
- 15 Dec, 2003 2 commits
-
-
Shashi Guruprasad authored
now mapped to more than one PC if required. The simnode_capacity column in the node_types table determines how many sim nodes can be packed on one PC. The packing factor can also be controlled via tb-set-colocate-factor to be smaller than simnode_capacity. - No frontend code changes. To summarize: $ns make-simulated { ... } is still the easy way to put a whole bunch of Tcl code to be in simulation. One unrelated fix in the frontend code is to fix the xmlencode() function which prior to this would knock off newlines from columns in the XML output. This affected nseconfigs since it is one of the few columns with embedded newlines. Also changed the event type and event object type in traffic.tcl from TRAFGEN/MODIFY to NSE/NSEEVENT. - More Tcl code in a new directory tbsetup/nseparse -> Runs on ops similar to the main parser. This is invoked from assign_wrapper in the end if there are simnodes -> Partitions the Tcl code into multiple Tcl specifications and updates the nseconfigs table via xmlconvert -> Comes with a lot of caveats. Arbitrary Tcl code such as user specified objects or procedures will not be re-generated. For example, if a user wanted a procedure to be included in Tcl code for all partitions, there is no way for code in nseparse to do that. Besides that, it needs to be tested more thoroughly. - xmlconvert has a new option -s. When invoked with this option, the experiments table is not allowed to be modified. Also, virtual tables are just updated (as opposed to deleting all rows in the first invocation before inserting new rows) - nse.patch has all the IP address related changes committed in iversion 1.11 + 2 other changes. 1) MTU discovery support in the ICMP agent 2) "$ns rlink" mechanism for sim node to real node links - nseinput.tcl includes several client side changes to add IP routes in NSE and the kernel routing table for packets crossing pnodes. Also made the parsing of tmcc command output more robust to new changes. Other client side changes in libsetup.pm and other scripts to run nse, are also in this commit - Besides the expected changes in assign_wrapper for simulated nodes, the interfaces and veth_interfaces tables are updated with routing table identifiers (rtabid). The tmcd changes are already committed. This field is used only by sim hosts on the client side. Of course, they can be used by jails as well if desired.
-
Kirk Webb authored
lease for a slice before we've _successfully_ set one up.
-
- 13 Dec, 2003 1 commit
-
-
Leigh B. Stoller authored
swapexp took to mean the experiment was swapped. I hate 8 bits of status!
-
- 12 Dec, 2003 5 commits
-
-
Kirk Webb authored
us correlate better with log entries on plab nodes.
-
Robert Ricci authored
value under some circumstances, which would result in not actually timing out children that were taking too long.
-
Mike Hibler authored
If set to zero, we never consider data stale, we use it anyway. Nodes which don't report any data are still considered unusable. Also, consider nodes that don't report disk usage as 100% free so that we will consider them.
-
Jonathon Duerig authored
-
Jonathon Duerig authored
-
- 11 Dec, 2003 1 commit
-
-
Leigh B. Stoller authored
-
- 10 Dec, 2003 6 commits
-
-
Shashi Guruprasad authored
allows real PCs to run any OS instead of being constrained to FreeBSD. A detailed discussion on this topic can be found in the testbed-dev mailing list under the thread "links between vnodes and real PCs"
-
Robert Ricci authored
-
Robert Ricci authored
-
Leigh B. Stoller authored
-
Robert Ricci authored
though.
-
Leigh B. Stoller authored
since otherwise the warning goes into the XML output and confuses the converter.
-
- 09 Dec, 2003 1 commit
-
-
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.
-
- 08 Dec, 2003 2 commits
-
-
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.
-
- 07 Dec, 2003 2 commits
-
-
Leigh B. Stoller authored
the message instead of tbops.
-
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 3 commits
-
-
Robert Ricci authored
-
Leigh B. Stoller authored
-
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.
-
- 04 Dec, 2003 2 commits
-
-
Jonathon Duerig authored
-
Leigh B. Stoller authored
someone with an actual quota.
-
- 03 Dec, 2003 5 commits
-
-
Jonathon Duerig authored
-
Jonathon Duerig authored
-
Robert Ricci authored
more liberal about which links don't need delays. Before, we were putting delays on anything that wasn't 100Mbps. The other change is that for delay nodes, we set virtual link bandwidths by rounding up to the next fastest speed of interface, instead of hardwiring 100Mbps. Similarly, we set the speed of physical delay interfaces to the card's 'native' speed instead of hardwiring 100Mbps. These changes work for our nodes and links, but are still not totally general. Really, what needs to happen is that assign needs to be the one to insert delay nodes, because it's the only place where we really know which interfaces of what speeds are available on which nodes. But, that is a very big project, since both assign wrapper and assign need to be changed.
-
Robert Ricci authored
of the same speed. This is obviously not right, but I think it's better than the old hack, which was that we assume switch ports are 100Mbps. Some stuff Chris is working on should remove the need for this hack because we will start keeping track of the speeds of switch ports.
-
Robert Ricci authored
-
- 02 Dec, 2003 3 commits
-
-
Kirk Webb authored
since I had Jonathon check them in prior to testing them.
-
Jonathon Duerig authored
-
Jonathon Duerig authored
-