1. 13 Feb, 2002 4 commits
  2. 12 Feb, 2002 14 commits
  3. 11 Feb, 2002 8 commits
    • Robert Ricci's avatar
      Two new functions: · 5db6c935
      Robert Ricci authored
      getTrunks: Build a structure representing all of the trunks in the switch
      getTrunkPath: Find the shortest path between two switches, across the
      	trunks found by getTrunks
      Note that the getTrunkPath duplicates some work done in assign. However, we
      don't currently have a good way to pass this information from assign to
      snmpit, and we need to be able to figure this out anyway, in case snmpit
      isn't being called as part of experiment swapin.
      These functions should soon be used to pick which VLANs are allowed
      across which trunks.
    • Leigh B. Stoller's avatar
      Ug, forgot to commit this file! Sorry! · 248fdcc0
      Leigh B. Stoller authored
    • Leigh B. Stoller's avatar
      Add creator/created slots to images and osids for tracking purposes. · f9aa414d
      Leigh B. Stoller authored
      Update pages appropriately. Also cleanup up a few more sub menus.
    • Leigh B. Stoller's avatar
      Minor change. Instead of returning "wheel" for the default group when · f7e30197
      Leigh B. Stoller authored
      a node is not allocated (thus putting the .acl and .run file into the
      wheel group when capture creates them), return the value of the config
      variable TBADMINGROUP (which is flux for us). This makes it easier for
      admin people to look at free nodes.
    • Robert Ricci's avatar
      Some fixes to prevent extra output. Redirect STDERR on fping to · 5750763f
      Robert Ricci authored
      STDOUT, and move around some lines to avoid undefined value
    • Leigh B. Stoller's avatar
      Minor cleanup of docwrapped pages. Remove the embedded stylesheet · 530bdc82
      Leigh B. Stoller authored
      since that screws up opera (and is incorrect anyway). Add wrapper code
      to the docwrappers to include the html header/trailer code when
      doing a printable version, and include the proper style sheet.
    • Leigh B. Stoller's avatar
      Add boottime init script to clear various DB tables at boot time, or · 31bf08b9
      Leigh B. Stoller authored
      whatever other maintenance is required.
    • Leigh B. Stoller's avatar
      Changes to how the backup files are named and saved. The existing · b31fdcdc
      Leigh B. Stoller authored
      naming scheme was not very intuitive and the names sucked. Also, I
      want to increase the frequency with which we run the backups, and I
      want to implement an automated roll so that we only keep about a
      months worth of history around.
      Anyway, the new approach is to open up the index file and see what the
      name of the current update file is. It has a numeric extension. Rename
      the base log to base.XXX, and then snapshot the DB into backup.XXX So,
      the combination of update.XXX and base.XXX is the DB history since the
      last time the script was run. The file backup.XXX corresponds to the
      DB at this point in time.
      To restore (or track the changes of) a DB, simply take backup.XXX and
      apply the changes that are stored in update.XXX+1 (which are the changes
      made since backup.XXX was made). This should give you a DB that is the
      same as backup.XXX+1. You can go back further, and just apply all the
      subsequent update.XXX files.
  4. 08 Feb, 2002 12 commits
    • Leigh B. Stoller's avatar
      Font changes to for Jay! · 9635df85
      Leigh B. Stoller authored
    • Leigh B. Stoller's avatar
      Kill of savevlans since its simply a snapshot of DB state, and not · c8c2b569
      Leigh B. Stoller authored
      very useful by itself anyway.
    • Leigh B. Stoller's avatar
      Big round of image/osid changes. This is the first cut (final cut?) at · a73e627e
      Leigh B. Stoller authored
      supporting autocreating and autoloading images. The imageid form now
      sports a field to specify a nodeid to create the image from; If set,
      the backend create_image script is invoked. Thats the easy part.
      Slightly harder is autoloading images based on the osid specified in
      the NS file. To support this, I have added a new DB table called
      osidtoimageid, which holds the mapping from osid/pctype to imageid.
      When users create images, they must specify what node types that image
      is good for. Obviously, the mappings have to be unique or it would be
      impossible to figure it out! Anyway, once that image mapping is
      in place and the image created, the user can specify that ID in the NS
      file. I've changed os_setup to to look for IDs that are not loaded,
      and to try and find one in the osidtoimageid. If found, it invokes
      os_load. To keep things running in parallel as much as possible,
      os_setup issues all the loads/reboots (could be more than a single set
      of loads is multiple IDs are in the NS file) at once, and waits for
      all the children to exit. I've hacked up os_load a bit to try and be
      more robust in the face of PXE failures, which still happen and are
      rather troublsesome. Need an event system!
      Contained in this revision are unrelated changed to make the OS and
      Image IDs per-project unique instead of globally unique, since thats a
      pain for the users. This turns out to be very messy, since underneath
      we do not want to pass around pid/ID in all the various places its
      used. Rather, I create a globally unique name and extened the OS and
      Image tables to include pid/name/ID. The user selects pid/name, and I
      create the globally unique ID. For the most part this is invisible
      throughout the system, except where we interface with the user, say in
      the web pages; the user should see his chosen name where possible, and
      the should invoke scripts (os_load, create_image, etc) using his/her
      name not the internal ID. Also, in the front end the NS file should
      use the user name not the ID. All in all, this accounted for a number
      of annoying changes and some special cases that are unavoidable.
    • Leigh B. Stoller's avatar
    • Leigh B. Stoller's avatar
      Trivial syntax change. · d177592f
      Leigh B. Stoller authored
    • Leigh B. Stoller's avatar
    • Leigh B. Stoller's avatar
      Another Opera revelation. This is actually incorrect, even though · 3389881e
      Leigh B. Stoller authored
      Netscape and IE both recognize it:
      	<input type=readonly ... >
      The correct way is:
      	<input readonly type=text ...>
    • Leigh B. Stoller's avatar
      Add $TBMAINSITE=0 default. · d720a46b
      Leigh B. Stoller authored
      Fix up SUEXEC and TBERROR error handling so that <XMP> tags are not
      included in the email message!
      Add CHECKURL() function (which will eventually replace VERIFYURL())
      which returns error strings instead of calling USERERROR. This is
      in support of new forms code.
      Add CHECKPASSWORD() function; same code was in three different places.
      This version returns the error string from checkpass.
    • Leigh B. Stoller's avatar
    • Leigh B. Stoller's avatar
      Add $TBMAINSITE variable, defaults to 0 but is 1 in the main defs · be6c1b54
      Leigh B. Stoller authored
      file. Controls whether we spit out the keywords and the emu page,
      since we do not want anyone but else getting the links.
    • Leigh B. Stoller's avatar
      New front page picture. Taken by Dave, edited by Rob, reduced by me! · 69db4fcd
      Leigh B. Stoller authored
      Also moved the picture to make the text look better.
    • Leigh B. Stoller's avatar
      Add web crawler page with nice words. Linked in from the menu, so it · a221a011
      Leigh B. Stoller authored
      gets spit out a lot in all of the pages (http or https).
      Refine fonts and little bits in the banner.
  5. 07 Feb, 2002 2 commits