- 30 Jun, 2003 2 commits
-
-
Leigh B. Stoller authored
do the actual parse. The parser now spits out XML instead of DB queries, and the wrapper on boss converts that to DB insertions after verification. There are some makefile changes as well to install the new parser on ops via NFS, since otherwise the parser could intolerably out of date on ops!
-
Leigh B. Stoller authored
experiments created in groups and experiments created in the main project. Too easy for the queries to get out of sync, and the advantage is minor anyway.
-
- 27 Jun, 2003 1 commit
-
-
Leigh B. Stoller authored
-
- 26 Jun, 2003 7 commits
-
-
Robert Ricci authored
turns out that getting iterators to the STL hash_* data structures is really slow, so for some that won't be very big, use the non-hash version. Buys something like a 30% speedup for large topologies.
-
Leigh B. Stoller authored
The conversion from XML to an experiment representation updates the DB, although the experiment has to exist, and only certain fields can be updated. For the rest of the virtual toplogy, the old toplogy is deleted, and the new one installed. Use with caution. This is intended to be hooked to the parser, and later to the vis tool.
-
Leigh B. Stoller authored
fixed the trivial_link problem for Lans. Add an option to ptopgen that says to include the various virtnode related things, so as not to slow down assign in the general case that virtnodes are not being used.
-
Mac Newbold authored
-
Mac Newbold authored
-
Mac Newbold authored
-
Robert Ricci authored
LAN nodes are no longer treated specially. Instead, I've introduced the idea of 'static' types (old-style types retroactively become 'dynamic' types). While a pnode can only satisfy one dynamic type at a time, it can always satisfy its static types (assuming it has enough capacity left.) Static types are flagged by prepending them with a '*' in the ptop file. So, for example, you may give switches the '*lan:10000' type so that they can satisfy virtual LAN nodes. Of course, other pnodes can have this type too, so that we can get 'trivial LANs'. Actually, removing special treatment for LANs cleans up a lot of code. However, it may have some negative impacts on solutions, since we're not as smart about where to place LAN nodes as we used to be (they get annealed along with everything else, and not migrated.) I haven't seen any evidence of this yet, however. This leaves us with a single type of special pnode, a switch. Also added a new bit of syntax in ptop files - when '*' is given as a the maxiumum load for a type, the node is allowed to take on an infinite (well, actually, just a really big number of) vnodes of that type. ptopgen was modified to always report switches as being capable of hosting LANs, and assign_wrapper now understands direct links to LANs, which is what we get when the LAN is hosted directly on a switch. Fixed a bug in scoring direct links, in which the penatly was being added once when a direct link was mapped, but subtracted only once when it was freed. Added a '-T' option for doing simple self-testing. When adding a node to the solution, assign records the score, adds the node, removes it again, and checks to make sure that the resulting score is the same as the original score. The usefulness of this feature in debugging scoring problems cannot be understated...
-
- 25 Jun, 2003 9 commits
-
-
Robert Ricci authored
can run the parser on it.
-
Robert Ricci authored
has the 'view' statement necessary for the jail virtual IPs.
-
Robert Ricci authored
-
Leigh B. Stoller authored
120 + (30 * number_of_vnodes).
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
Shashi Guruprasad authored
-
Shashi Guruprasad authored
Now, an agent connect statement can come before application attach-agent which complies with NS. In addition, the order of "$ns attach-agent <node> <agent>" and "$ns connect <agent1> <agent2>" can by anything now. Reversing the order in NS causes problems for this though. However, in emulab's case, we don't need that order. Most of these checks are now moved to updatedb reducing some clutter in traffic.tcl One thing that NS supports and it would be difficult for us is the order of application attach-agent and "$ns at" statements. In NS, its ok to flip the order. In emulab, its still not. Thats coz "$ns at" statements need to know what vnode is the event going to. Of course, this can be fixed by making "$ns at" storing the eventstring as is and only parsing during the updatedb/$ns run phase. Seems like its not worth changing now.
-
Leigh B. Stoller authored
-
- 24 Jun, 2003 4 commits
-
-
Mac Newbold authored
-
Russell Daniel Christensen authored
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
- 23 Jun, 2003 9 commits
-
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
plain text of just the NS file. The "NS File:" subheader in the showexp page is now a hyperlink to it.
-
Mike Hibler authored
1. From the "Thank you DOS for all your stupid limits" department we have an enhancement to the -I option to ignore a slice. The slice number can be followed by a BSD partition letter (e.g., "-I1g") to ignore a BSD partition within a slice. Ditto for the -R options which forces raw compression. 2. From the "Gee, I shoulda taken that grinding noise more seriously" department we have the -X option to force imagezip to try e(X)tremely hard (yeah, yeah, its the only letter I could come up with) to read the data off the disk, even faking (zero) data if a read fails after 10 tries.
-
Leigh B. Stoller authored
get Insufficient Nodes errors
-
Robert Ricci authored
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
easier to chain back through the swapmod incarnations of an experiment, without going through query hell, and is very useful in summary stats page for calculating the usage across swapmods. Note that the lastrsrc field of the experiments table can now go.
-
- 20 Jun, 2003 5 commits
-
-
Robert Ricci authored
some independant functionality off into new files, and reduce its use of globals, which can be very confusing to follow. I didn't get as far as I had hoped, but it's a good start.
-
Leigh B. Stoller authored
jailed nodes with their own IP ...
-
Leigh B. Stoller authored
various defs files to reflect mini/main difference.
-
Leigh B. Stoller authored
-
Mac Newbold authored
-
- 19 Jun, 2003 3 commits
-
-
Robert Ricci authored
only be called after we're done with _all_ handles. So, add a simple count of how many handles we've given out, and only call cleanup on the last one to get unregistered.
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
* usewatunnels - Allow users to turn off widearea tunnels. * multiplex_factor - Allow user to specify vnode multiplex factor. * trivial_ok - Allow user to specify collocation okay for link. More work on the veth interface support and trivial link stuff. Appears to be operational and passes the test suite.
-