- 02 May, 2002 5 commits
-
-
Kirk Webb authored
-
Mac Newbold authored
-
Leigh B. Stoller authored
-
Mac Newbold authored
-
Robert Ricci authored
-
- 01 May, 2002 4 commits
-
-
Leigh B. Stoller authored
-
Mac Newbold authored
Add idle expts view to experiment list page. Filters based on days idle (default is 2), and adds a column with a button that takes you directly to the confirmation page for sending a swap/terminate request. Very cool, and handy dandy for the Idle Daemon to use. Still doesn't do sorting by last login, because that would require either a monster 15-line SQL query or saving everything into an array, sorting, and then printing, instead of our current 'print in the order you get it from the db' method. Maybe later. Changed TBExpUidLastLogins to return a daysidle value as well.
-
Leigh B. Stoller authored
interface should be configured to. Another possibility (and one we may switch to) is to add the IP to the interfaces table so it gets returned in the normal ifconfig, but thats going to require a number of cascading changes that I do not want to deal with yet.
-
Leigh B. Stoller authored
tunnels need to be created on each node; will be returned as a new tmcd command. Add nodeipportnum table, which is a hacky way to allocate non overlapping port numbers on physical nodes (when multiple virtual nodes are mapped to them). Used in assign_wrapper as a post pass over the trafgens table and the tunnels table. Add target_vname to virt_trafgens table as an aid in post passing.
-
- 30 Apr, 2002 4 commits
-
-
Robert Ricci authored
reported.
-
Robert Ricci authored
the vlans table to determine how much of the trunk bandwidth is currently 'reserved', and subtracts that from the trunk bandwidth reported in the output. This feature is disabled by default. However, you can enable it by putting the line TRACK_INTERSWITCH_BANDWIDTH=1 in your defs file.
-
Leigh B. Stoller authored
the hostnames. Eventually purge the backwards compat code when the virt_trafgens tables has been cleared of older entries (no ip addrs). The perl code on the client side should have no problem with getting IP addrs instead of hostnames (so he says).
-
Leigh B. Stoller authored
to let users set the link, but for now this will cause the table to be populated correctly for tmcd.
-
- 29 Apr, 2002 4 commits
-
-
Leigh B. Stoller authored
allow us to (eventually) use trafgens on nodes with more than one link, but more importantly, solves an immediate problem for ron nodes; a lack of hostname translation.
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
on fatal errors, and error codes >= 1 for assign errors. The batch system depends on these error codes to determine if a batch needs to be punted from the system.
-
Leigh B. Stoller authored
active at a time. This avoids the situation where a person enters many batches, and they get scheduled all at once, sucking up every node in the testbed.
-
- 26 Apr, 2002 2 commits
-
-
Leigh B. Stoller authored
trying to start a new one (as in replay).
-
Leigh B. Stoller authored
-
- 25 Apr, 2002 6 commits
-
-
Mike Hibler authored
MODIFY command.
-
Leigh B. Stoller authored
-
Robert Ricci authored
this was the only script still using the old log location.
-
Robert Ricci authored
removed mention of them from the boss setup documentation. Note that this means we no longer tell people to /var/log/testbed to /usr/testbed/log, since the former is deprecated.
-
Robert Ricci authored
-
Leigh B. Stoller authored
variables to be renamed from within a subroutine: proc create_testnet {} { set s1 [$ns node] } Chris' redefined set did not allow this. This is further complicated by the fact that its difficult to tell whats a global variable. You can declare a variable global, but until its set for the first time, the TCL info function will not tell you its a global. We do not want to rename locals of course, since that would make no sense to do. Anyway, Brian contributed the code to fix the new set function, and I looked at it and did my best to understand it (I kinda do), but no way I can be sure! I ran it through the test suite and spot checked the DB state. Seems to work okay.
-
- 24 Apr, 2002 6 commits
-
-
Mike Hibler authored
-
Leigh B. Stoller authored
-
Mike Hibler authored
Also fixed bug where changing packet size would change an explicitly specified packet rate because we only tracked the packet interval. E.g.: set packetSize_=100 set rate_=100 would result in a packet rate of 100Kbps, but then doing: set packetSize_=1000 would result in a packet rate of 1000Kbps even though the rate was not explicitly changed. Now we actually keep track of whether the rate was explicitly set and, if so, change the interval to maintain the rate.
-
Leigh B. Stoller authored
(on the physical node the tmcd request is coming from) look for a VNODE= tag in the request (similar in operation to VERSION=). If there is a vnode tag, then check for that mapping (in the nodes table). The vnode must map to the physical node making the request (in iptonodeid()). If so, replace the nodeid with the vnodeid for the remainder of the session. Currently no permission checking, so a vnode could ask for another vnode's account data (on the same physical node of course). At some point we need to either generate per vnode certs (perhaps on the fly) or just cons of a secret key and pass it over. Not going to worry about it for now, since the only people who will be allowed to allocate virtual nodes are trusted anyway.
-
Leigh B. Stoller authored
event.
-
Leigh B. Stoller authored
source, which is something of a problem. The ugly solution right now is to send reset events to both the source and sink (sink first I would think) if you need both sides to get it. $ns at 1 "$null0 reset" $ns at 1 "$cbr0 reset" Another option might be to internally create the second event for reset ...
-
- 23 Apr, 2002 3 commits
-
-
Leigh B. Stoller authored
interupt the current next up event cause Ian's code just grabbed it off the queue and went into select. I converted this code to use a condition variable and a timed wait. If a new event comes in, signal the waiter who can recheck to see of the head of the queue has changed. Seems to work, but not well tested. This bug reported by Rob!
-
-
Leigh B. Stoller authored
-
- 22 Apr, 2002 6 commits
-
-
Kirk Webb authored
iface_counters. (found with 'mysql -d tbdb' as suggested by Rob.)
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
virtualization won't cure someday.
-
Leigh B. Stoller authored
and virt_lans to determine which links/lans need to be dropped out of the list given to assign (.top file). Basically, if a simple link has virtual node in it, get rid of the link (both sides). If a lan has a virtual node in it, then get rid of just that member of the lan (the other regular members need to be allocated as usual). There is a minor problem of a lan with just one physical member left after dropping the virtual members; not sure what to do about that so I punted on it for now. Note that I *do* send the virt_nodes into assign for allocation as unconnected nodes. Its up to the user to create the routes properly, although maybe we have to do that automatically?
-
Leigh B. Stoller authored
nodes.
-
Leigh B. Stoller authored
-