- 21 Jan, 2009 1 commit
-
-
Leigh B. Stoller authored
to numbered update scripts. To install updates: boss> cd /your/srcdir/sql/updates boss> perl /your/objdir/db/dbupdate tbdb For developers, please look in the sql/updates/4/1 file for an example of how to do updates. For each revision in database-create.sql, create a corresponding script and add it to the repository. The scripts will be applied in numeric order (see db/dbupdate.in), starting with the version recorded in the version_info table. This table is updated by dbupdate as it runs each script.
-
- 07 Jan, 2009 1 commit
-
-
Leigh B. Stoller authored
the DB, and eventually elabinelab firewalls. # Allow arbitrary the names for the ids. Forgot who wanted this. alter table elabinelab_vlans change `inner_id` `inner_id` varchar(32) NOT NULL default ''; alter table elabinelab_vlans change `outer_id` `outer_id` varchar(32) NOT NULL default ''; # Tag elabinelab created vlans with the stack module. alter table elabinelab_vlans add `stack` enum('Control','Experimental') NOT NULL default 'Experimental'; # Tag vlans softstate table with the stack module. alter table vlans add `stack` enum('Control','Experimental') NOT NULL default 'Experimental'; # A new table, to store softstate on interfaces. snmpit will # modify this table whenever a port is enabled/trunked(tagged) # on the command line. Eventually speed/duplex should go here. CREATE TABLE `interface_state` ( `node_id` varchar(32) NOT NULL default '', `card` tinyint(3) unsigned NOT NULL default '0', `port` tinyint(3) unsigned NOT NULL default '0', `iface` varchar(32) NOT NULL, `enabled` tinyint(1) default '1', `tagged` tinyint(1) default '0', PRIMARY KEY (`node_id`,`card`,`port`), KEY `nodeiface` (`node_id`,`iface`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; # Initialize the above table. insert into interface_state (node_id,card,port,iface) select node_id,card,port,iface from interfaces; # Cleanup the vlans table which was filling with cruft # cause of a bug in the swapout code. Finally figured # out how to combine delete and join! delete v FROM vlans v LEFT JOIN lans l on l.lanid=v.id WHERE l.lanid IS NULL; # Fix an unrelated bug; slot overflow. alter table nodelog change `log_id` `log_id` int(10) unsigned NOT NULL auto_increment;
-
- 11 Dec, 2008 1 commit
-
-
Kevin Atkinson authored
-
- 08 Dec, 2008 1 commit
-
-
Kevin Atkinson authored
changes in my devel tree.
-
- 04 Dec, 2008 1 commit
-
-
Leigh B. Stoller authored
alter the way things behave (like the web interface) when operating on an experiment that is the container for a slice.
-
- 17 Nov, 2008 1 commit
-
-
Leigh B. Stoller authored
in the protogeni code. We no longer save the unencrypted certs after they are revoked, since protogeni will ignore them. I redid the the DB table as well, adding a revoked stamp, and the DN so that we can generate the CRL list from the DB directly, without having to run them all through openssl. This commit requires all certs to be regenerated, and the ssl xmlrpc server to be restarted.
-
- 20 Oct, 2008 1 commit
-
-
Leigh B. Stoller authored
-
- 17 Oct, 2008 1 commit
-
-
Leigh B. Stoller authored
-
- 28 Aug, 2008 1 commit
-
-
Leigh B. Stoller authored
-
- 19 Aug, 2008 1 commit
-
-
Mike Hibler authored
-
- 28 Jul, 2008 1 commit
-
-
Leigh B. Stoller authored
when mysql used to do that for columns.
-
- 16 Jul, 2008 1 commit
-
-
Leigh B. Stoller authored
-
- 10 Jul, 2008 2 commits
-
-
Leigh B. Stoller authored
figured out.
-
Leigh B. Stoller authored
physical or virtual, as indicated by the isvirtnode flag.
-
- 08 Jul, 2008 1 commit
-
-
Leigh B. Stoller authored
that fails!
-
- 05 Jul, 2008 1 commit
-
-
Leigh B. Stoller authored
-
- 11 Jun, 2008 2 commits
-
-
Kevin Atkinson authored
Set the charset for all emulab pages to utf-8 which is needed to display foreign names correctly. Also added three rows to table_regex: tinytext_utf8, text_utf8, fulltext_utf8 Enhanced form_defs.php: - Add Support for Textarea - Add Support for a vertical list, for example see Category in submitpub.php - Add support for dumping the form values in plain text, used in the email I send to testbed-ops. - Change Error Reporting text for subfields such as in a list so they also include the text from the outer field, for example in newosid "ping" will become "OS Features, ping". I needed this since some of my subfields didn't have labels and it seamed like the right thing to do. - Set #return_value to 1 in FormRenderCheckBox if it not already specified - In FormRenderSelect, if the #value is not in the list add it to the end. - Add support for "display" type, to just display some text in the table - Possibly some other little things I forgot about. New site variable PUBSUPPORT. Implement FS#201: Provide users a way to add a paper that used Emulab see (https://users.emulab.net/flyspray/?do=details&id=201), summary of changes: - Controlled via the new site variable PUBSUPPORT. - The emulab_papers spread sheet is now frozen all new changes should be made using the new system. - New pages submitpub.php for users to submit a new publication with different views for admins and non-admins. - New page expubs.php to replace doc/expubs.html, lists publications in database. Also allows admins to edit publications. - Project members can edit papers associated with the project as long as they have local_root or higher privileges. Papers for a project are listed under a new tab in the showproject page. I keep track of the last person to edit the paper submission in addition to who initially submitted it. - Users can modify papers they submitted which is needed if the project was N/A. Papers users submitted now appear in a new tab in the showuser page. - Script to import spreadsheet to the database is in utah/bibliography/emulab_pubs-import.pl. - Changes web pages that point to doc/expubs.html to instead point to expubs.php
-
Leigh B. Stoller authored
-
- 03 Jun, 2008 1 commit
-
-
Leigh B. Stoller authored
accounts on slivers.
-
- 30 May, 2008 1 commit
-
-
Leigh B. Stoller authored
Users package to create them. Nonlocal users will be returned to nodes that are part of a federated experiment, and keeping them separate from local users seems like the safest thing to do. Also a few other minor changes.
-
- 20 May, 2008 1 commit
-
-
Leigh B. Stoller authored
-
- 19 May, 2008 1 commit
-
-
Leigh B. Stoller authored
Note that I did not change the plab code; needs to be done.
-
- 13 May, 2008 2 commits
-
-
Kevin Atkinson authored
the User Name (or id) in various tables. This also involved adding the field to the newproject, joinproject, and moduserinfo forms. Note: also modified 4.149 database-migrate.txt entry to add a note to add the necessary "slot" to table_regex.
-
Leigh B. Stoller authored
revocation, multiple encrypted certs, passwords for keys, etc.
-
- 12 May, 2008 1 commit
-
-
Kevin Atkinson authored
-
- 17 Apr, 2008 3 commits
-
-
David Johnson authored
to the corresponding object at that PLC.
-
David Johnson authored
off plc,slice,nodegroup,node_id tuples, as appropriate). Also add support for sucking down plab nodegroups.
-
David Johnson authored
widearea_nodeinfo in support of widearea nodes that need their networks to be configured statically. Also the plab sync support for this, and a sync bugfix.
-
- 24 Mar, 2008 1 commit
-
-
Leigh B. Stoller authored
-
- 21 Feb, 2008 1 commit
-
-
Leigh B. Stoller authored
easier. Also add a daily_stats table that will record, you guessed it, the daily stats, which will be a mucg faster wayt to see what is going on and even generate some graphs.
-
- 11 Feb, 2008 2 commits
-
-
David Johnson authored
-
Leigh B. Stoller authored
tables. Remove the tunnels table since that stuff is now in the lan_member_attributes table. Add node_id to the lan_members table. While its nice having that as an attribute, it makes joins more difficult and slower.
-
- 09 Feb, 2008 1 commit
-
-
Leigh B. Stoller authored
(Rob,Mike,Jay) have overflowed an unsigned int.
-
- 14 Jan, 2008 1 commit
-
-
Leigh B. Stoller authored
lan_member_attributes, and ifaces. Making the world safe for protogenis.
-
- 10 Jan, 2008 2 commits
-
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
hoops to find the virt_lan and vlan that a vinterface is associated with, lets just store a backpointer. It also makes my next round of changes for lans easier to transition to.
-
- 20 Dec, 2007 1 commit
-
-
David Johnson authored
tb-fix-interface $node $link "iface"
-
- 26 Nov, 2007 2 commits
-
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
instead of paths. There is a script called from database-migrate that converts paths to logfile (db) objects.
-
- 06 Nov, 2007 1 commit
-
-
Leigh B. Stoller authored
sandbox, and that I did. It falls back to the older archive when the template is older then CVS repos. But along the way I got annoyed with the fact that template instantiation does not provide a logfile to the web interface. The reason is that the current logfile stuff is very experiment centric; there has to be an experiment and an attached logfile. An instance does not have an experiment until really late in the game so the code was just not bothering. Anyway, I've started to generalize the logfile stuff with a new table and the approach that a logfile is named by a random key, and if you know the key you can look at the logfile in the web (since without an experiment it is hard to do permission checks unless we make logfiles uid/gid owned, and I did not want to do that.
-