- 25 May, 2011 2 commits
-
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
- 13 May, 2011 1 commit
-
-
Leigh B Stoller authored
showstats page way way faster.
-
- 06 May, 2011 1 commit
-
-
Jonathon Duerig authored
-
- 05 May, 2011 1 commit
-
-
Leigh B Stoller authored
Add "Unused" to type enum in the wires table. Change a few critical wires/interfaces queries to avoid logical=1.
-
- 20 Apr, 2011 1 commit
-
-
Leigh B Stoller authored
CreateSliver(), to handle multiple accounts. This somewhat reflects the Geni AM API for keys, which allows the client to specify multiple users, each with a set of ssh keys. The keys argument to the CM now looks like the following (note that the old format is still accepted and will be for a while). [{'urn' => 'urn:blabla' 'login' => 'dopey', 'keys' => [ list of keys like before ]}, {'login' => "leebee", 'keys' => [ list of keys ... ]}]; Key Points: 1. You can supply a urn or a login or both. Typically, it is going to be the result of getkeys() at the PG SA, and so it will include both. 2. If a login is provided, use that. Otherwise use the id from the urn. 3. No matter what, verify that the token is valid for Emulab an uid (standard 8 char unix login that is good on just about any unix variant), and transform it if not. 4. For now, getkeys() at the SA will continue to return the old format (unless you supply version=2 argument) since we do not want to default to a keylist that most CMs will barf on. 5. I have modified the AM code to transform the Geni AM version of the "users" argument into the above structure. Bottom line here, is that users of the AM interface will not actually need to do anything, although now multiple users are actually supported instead of ignored. Still to be done are the changes to the login services structure in the manifest. We have yet to settle on what these changes will look like, but since people generally supply valid login ids, you probably will not need this, since no transformation will take place.
-
- 11 Apr, 2011 1 commit
-
-
David Johnson authored
-
- 31 Mar, 2011 1 commit
-
-
Leigh B Stoller authored
mostly supports vlans > 1024, but a couple do not so we have to be careful about te tags we pick. Still need to deal with modification of a vlan.
-
- 18 Mar, 2011 1 commit
-
-
Gary Wong authored
-
- 10 Mar, 2011 1 commit
-
-
Mike Hibler authored
At least our schemadiff script assumes that unique keys have names. mysqldump generates them as well.
-
- 09 Mar, 2011 1 commit
-
-
Leigh B Stoller authored
per-device community string to override the community string in the switch_stack_types table.
-
- 14 Feb, 2011 1 commit
-
-
Leigh B Stoller authored
connections to external network points like ION.
-
- 03 Feb, 2011 1 commit
-
-
Leigh B Stoller authored
vlans will later use when instantiated. Needed for protogeni.
-
- 15 Dec, 2010 1 commit
-
-
Gary Wong authored
-
- 07 Dec, 2010 2 commits
-
-
Leigh B Stoller authored
mode.
-
Leigh B Stoller authored
bad thing to do, and has recently stopped working. Use an index ordering slot instead.
-
- 16 Nov, 2010 1 commit
-
-
Kevin Atkinson authored
"tb-set-tarfiles" is like "tb-set-node-tarfiles" except that it distributes the tarfile to all nodes rather than just one and that it uses frisbee to distribute the file. These changes involved 1) refactoring frisbee info from images table into a new table, frisbee_blobs, 2) a new experiment_blobs table, and 3) a new tmcd command so the node knows how to get the files from the server. The changes where designed to be general purpose enough to eventually support: 1) Distributing arbitrary files (not just tarfiles) to nodes 2) Perform arbitrary actions on those files 3) Use arbitrary methods to get the files As such the tmcd line is as follows: URL=* ACTION=* where URL is currently: frisbee.mcast://<ADDR>/<FILE> for example frisbee.mcast://234.16.184.192:18092/users/kevina/home-dir.tar.gz and when we get around to using a master Frisbee server it could be frisbee://* or it could be a file://, http://, etc. and ACTION is currently: unpack:<LOCATION> for example unpackt:/users with future syntax to be determined.
-
- 09 Nov, 2010 1 commit
-
-
Mike Hibler authored
-
- 25 Oct, 2010 1 commit
-
-
Leigh B Stoller authored
use EmulabFeatures; if (EmulabFeatures->FeatureEnabled("NewMapper", $user, $group, $experiment)) { # Do something } else { # Do something else. } where $user, $group, and $experiment is the current Emulab user, group, and experiment the script is operating as. Any of them can be undef. Note that features can easily be globally enabled or disabled (bypassing user/group check). See below. There are two scripts to deal with features. The easy one is the script to grant (or revoke) feature usage to a particular user or group or experiment: boss> wap grantfeature -u stoller NewMapper boss> wap grantfeature -p geni NewMapper boss> wap grantfeature -e geni,myexp NewMapper Add -r to revoke the feature. The other script is for managing features. To create a new feature: boss> wap emulabfeature create NewFeature 'A pithy description' which adds the feature to the emulab_features DB table. Use "delete" to remove a feature from the DB. You can globally enable and disable features for all users/groups (the user/group checks are bypassed). Global disable overrides global enable. There are actually two different flags. Lots of rope, I mean flexibility. boss> wap emulabfeature enable NewFeature 1 boss> wap emulabfeature enable NewFeature 0 boss> wap emulabfeature disable NewFeature 1 boss> wap emulabfeature disable NewFeature 0 To display a list of all features and associated settings: boss> wap emulabfeature list To show the details (including the users and groups) of a specific feature: boss> wap emulabfeature show NewFeature Oh, if a test is made in the code for a feature, and that feature is not in the emulab_features table (as might be the case on other Emulab's), the feature is "disabled".
-
- 29 Sep, 2010 1 commit
-
-
Leigh B Stoller authored
Add failureaction to virt_lan_lans so that we can allow lans to fail during setup and still continue to swapin.
-
- 19 Jul, 2010 1 commit
-
-
Leigh B Stoller authored
or more then one experiment, of course.
-
- 16 Jul, 2010 1 commit
-
-
Leigh B Stoller authored
-
- 16 Jun, 2010 2 commits
-
-
Ryan Jackson authored
-
Leigh B Stoller authored
pairs. Used only by the pool daemon, to control concurrency between the pool daemon and mapper.
-
- 03 Jun, 2010 1 commit
-
-
Leigh B Stoller authored
new code. Note that this commit implements only the frontend part. set n1 [$ns node] set n2 [$ns node] set n3 [$ns node] set seg1 [$ns duplex-link $n1 $n2 * 0ms DropTail] set seg2 [$ns duplex-link $n2 $n3 * 0ms DropTail] tb-set-link-layer $seg1 1 tb-set-link-layer $seg2 1 set mypath [$ns make-path "seg1 seg2"] set link0 [$ns duplex-link $n1 $n3 * 0ms DropTail] $link0 implemented_by $mypath
-
- 28 May, 2010 1 commit
-
-
Leigh B Stoller authored
-
- 21 May, 2010 1 commit
-
-
Weibin Sun authored
sql/database-create.sql and database-fill.sql: add OF columns into virt_lans, add their descriptions into table_regex.
-
- 26 Apr, 2010 1 commit
-
-
Leigh B Stoller authored
of desire to 64 chars.
-
- 16 Apr, 2010 1 commit
-
-
Kevin Atkinson authored
devel tree).
-
- 15 Apr, 2010 2 commits
-
-
Leigh B Stoller authored
an event and to actually fire those events during experiment swapout.
-
Ryan Jackson authored
-
- 13 Apr, 2010 1 commit
-
-
Leigh B Stoller authored
(class is switch or role is testswitch). Also add a node_type attribute for all existing switch types: forwarding_protocols=ethernet
-
- 12 Apr, 2010 1 commit
-
-
Ryan Jackson authored
-
- 08 Apr, 2010 3 commits
-
-
Leigh B Stoller authored
at different layers. Defaults to 2 in the DB.
-
Leigh B Stoller authored
cut down on the number of IDs we throw into the rspec advertisement.
-
Leigh B Stoller authored
snmpit on experiment swapin. Good debugging tool.
-
- 29 Mar, 2010 2 commits
-
-
Mike Hibler authored
-
Mike Hibler authored
Add all the NS parsing and DB foo.
-
- 22 Mar, 2010 1 commit
-
-
Leigh B Stoller authored
deleted, they still remain in the user table with a status of "archived", but since all the queries in the system now use uid_idx instead of uid, it is safe to reuse a uid since they are no longer ambiguous. The reason for not deleting users from the users table is so that the stats records can refer to the original record (who was that person named "mike"). This is very handy and worth the additional effort it has taken. There is no way to ressurect a user, but it would not be hard to add.
-
- 08 Feb, 2010 1 commit
-
-
Robert Ricci authored
happy.
-