1. 10 Apr, 2003 4 commits
    • Chad Barb's avatar
      · 179b3635
      Chad Barb authored
      Changed sitevariables table to use 'varchar(255)' for
      name column instead of 'text'.
      Made name column primary key.
      179b3635
    • Chad Barb's avatar
      Added 'external_node_id' field to widearea_nodeinfo. · dc9ca2e4
      Chad Barb authored
      This is pretty much a comment field for now;
      NULL is a safe value, but if a node is a RON node
      "ron:" followed by the name of the node in the ron
      hosts table (in the external-to-emulab ron db) is
      the preferred value. (This may facilitate automatic
      db synchronization later.)
      dc9ca2e4
    • Chad Barb's avatar
      · 9e63ec4b
      Chad Barb authored
      Changed widearea_nodeinfo address columns to tinytext,
      to make them consistent with users table.
      9e63ec4b
    • Chad Barb's avatar
      · 892fef45
      Chad Barb authored
      Added 'sitevariables' table.
      
      This is the table prompted by Mac's email yesterday, which
      can contain site-specific configuration options.
      
      'default' _must_ be set for each row, and will be used if
      'value' is NULL.
      
      'description' _should_ be set for each row.
      
      The table doesn't have a primary key, but is indexed to
      32 characters on the "name" column, so it should be plenty efficient.
      
      libdb functions and web interface forthcoming...
      892fef45
  2. 04 Apr, 2003 3 commits
  3. 03 Apr, 2003 1 commit
    • Chad Barb's avatar
      · fbf11432
      Chad Barb authored
      New 'blog-like news system.
      Should make it easier to keep up with news updates!
      Since:
        1. Doesn't require editing news.html in the CVS tree and
           recopying it/reinstalling just to add a news item.
        2. Doesn't involve editing menu.php3,
           since the modified date and "new" icon is automatic now.
        3. Looks nicer.
      
      Also, it is based off the db, so other sites can have other news,
      which they can maintain independently.
      
      There are of course, neat features that have been suggested that
      could go with this, such as message updates and automatic
      mailing list mailings of news, but those don't exist yet...
      fbf11432
  4. 26 Mar, 2003 1 commit
    • Leigh Stoller's avatar
      Add "gid" slot to the images table for changing permission scheme from · 4c56daf6
      Leigh Stoller authored
      only pid, to pid/gid like most other things in the testbed. Also add a
      "global" slot to denote images that are globally available to all
      projects (system images). The older "shared" attribute is now used to
      denote images that are shared within a project (available to all
      subgroups in the project). The migration path for existing DBs is
      given in the migrate file. Be sure to run those commands on an
      existing testbed or things will break!
      
      www/newimageid, www/newimageid_ez: A bunch of changes for
      shared/global attributes. Added a group menu to the form so users can
      create images in subgroups. Beefed up the Java code that constructs
      the path name to use the gid, shared, and global attributes of the
      form to give the user the best possible path that we can. Improved the
      pathname checking code so that we do not allow just any old path in
      case the user elects to disregard the path we carefully constructed
      for them. Also check the proj/group membership, and setup defaults for
      users that have permission in just one pid/gid to create images.
      
      libdb.in: Changed permission check in TBImageIDAccessCheck() to
      reflect shared/global attribute changes.
      
      os_load: Get rid of test that checked path of the image. The path
      checking is done in the web interface anyway, so why duplicate in 4
      places. Other minor changes reflecting shared->global name change.
      Also note that images can come from the group directory now.
      
      create_image: Get rid of test that checked path of the image. The path
      checking is done in the web interface anyway, so why duplicate in 4
      places. Also note that images can come from the group directory now.
      
      www/dbdefs: Changed permission check in TBImageIDAccessCheck() to
      reflect shared/global attribute changes.
      
      www/showimageid_list, www/showstuff: Minor global/shared attribute
      changes.
      
      www/menu: Change osids/imageids pointer to point to the image list,
      not the osid list. This is more reasonable for mere users who have
      access to the EZ form, and thus never really need to concern
      themselves with osids.
      
      www/editimageid: Add proper pathname checking. There were no checks at
      all before!
      4c56daf6
  5. 25 Mar, 2003 1 commit
  6. 24 Mar, 2003 1 commit
    • Leigh Stoller's avatar
      Add a nobwshaping slot to virt_lans. Set in the front end, and used · 7aa0446f
      Leigh Stoller authored
      by assign_wrapper to help control emulated links. When set for an
      emulated link, assign uses the BW spec for mapping the links (onto
      phys links) but does not insert a linkdelay to traffic shape it
      (unless the link is shaped in some other manner, like a delay or plr,
      in which case a linkdelay is inserted, but with no bw cap). This might
      be temporary syntax, expecially if we cannot make emulated links work
      right!
      7aa0446f
  7. 22 Mar, 2003 1 commit
    • Leigh Stoller's avatar
      Add three new control mechanisms to the front end to control the use · 62b4edc9
      Leigh Stoller authored
      of emulated and linkdelays on a per-link/lan basis (although you
      cannot make a lan emulated at this time).
      
      	tb-set-link-uselinkdelay $link0 1
      	tb-set-lan-uselinkdelay $lan0 1
      	tb-set-link-emulated $link0 1
      
      Added slots to the virt_lans table, used in assign_wrapper to control
      these features on a per link/lan basis. Note, the global options are
      still available to prefer/force linkdelays for an entire experiment.
      When setting uselinkdelays on a per link/basis, if the link would not
      otherwise be shaped, you are requesting that a linkdelay be inserted
      anyway (in otherwords, its the equiv of tb-set-forcelinkdelays on an
      individual basis).
      62b4edc9
  8. 18 Mar, 2003 3 commits
  9. 17 Mar, 2003 1 commit
    • Leigh Stoller's avatar
      Add "nextosid" slot to os_info table, for chaining from a generic OSID · 6eacae5e
      Leigh Stoller authored
      to a specific one, for the purposes of mapping things like FBSD-STD to
      FBSD47-STD (the current OSID to use). This is technically more correct
      than what os_setup used to do, which was map FBSD-STD to whatever
      FreeBSD OSID was currently on the disk. Now it maps to a specific one,
      and if that is not loaded, it sets up a reload.
      6eacae5e
  10. 10 Mar, 2003 4 commits
  11. 06 Mar, 2003 1 commit
  12. 28 Feb, 2003 2 commits
  13. 27 Feb, 2003 1 commit
  14. 25 Feb, 2003 1 commit
  15. 19 Feb, 2003 1 commit
  16. 14 Feb, 2003 2 commits
  17. 13 Feb, 2003 1 commit
  18. 11 Feb, 2003 2 commits
    • Mac Newbold's avatar
      Fix IPalias to match db. · 61559311
      Mac Newbold authored
      61559311
    • Leigh Stoller's avatar
      Checkpoint my DB changes so I can do some testing on boss. · 77e45dff
      Leigh Stoller authored
      * Add vnode0,vnode1 slots to the delays table. This will allow us to
        match ipfw pipes to nodes after swapin, hopefully allowing us to
        control the delays for lans in addition to duplex links.
      
      * Add IPaliases to interfaces table. Used in assign_wrapper when
        constructing "emulated" links, which will share a link via the use
        of aliases on the interface. This is a comma separated list of IP
        addresses (no, I refuse to make this a separate table!).
      
      * Add virtnode_capacity slot to node_types, defaults to zero. This is
        used in ptopgen for determining how many virtnodes fit on a real
        node. I have not thought this through completely, but it allows me
        to make progress on other fronts.
      
      * Add linkdelays delays, which sorta resembles the delays table, only
        this table stores oneway delays links, to be set up on the endpoints
        of a link or lan. Also, instead of being based on ipfw bridge rules,
        it is based on IP address/mask rules. At some point this table may
        merge witk the delays table, but will take time to work out the
        details and I do not want to mess up existing experiments by
        changing the delays table! Anyway, a duplex link gets one of these
        for each endpoint (a xmit ipfw rule). To mimic our lan setup, lan
        links get two, an xmit *and* a recv rule. My hope is that link
        delays will look just like normal delays (a packet leaving a node
        for a lan will get the outgoing delay, and a packet arriving gets
        the incoming delay).
      77e45dff
  19. 07 Feb, 2003 2 commits
  20. 31 Jan, 2003 5 commits
  21. 30 Jan, 2003 2 commits