1. 21 Jul, 2003 2 commits
  2. 17 Jul, 2003 1 commit
  3. 14 Jul, 2003 1 commit
  4. 10 Jul, 2003 1 commit
  5. 09 Jul, 2003 2 commits
  6. 08 Jul, 2003 1 commit
  7. 07 Jul, 2003 1 commit
  8. 03 Jul, 2003 1 commit
  9. 23 Jun, 2003 1 commit
  10. 18 Jun, 2003 2 commits
  11. 10 Jun, 2003 1 commit
  12. 06 Jun, 2003 2 commits
  13. 05 Jun, 2003 1 commit
    • Leigh B. Stoller's avatar
      Add widearea_updates table. A very simple mechanism to let Dave auto · 39083d0e
      Leigh B. Stoller authored
      update V3 nodes to V4 CDs, and the new image. By inserting an entry
      into this table, the node will update its image the next time it
      reboots and checks in for instructions. The actual instructions are
      hardwired in the web still, but this allows Dave to schedule updates
      as needed. Eventually, the instructions will be part of the DB state
      as well, but this works.
  14. 03 Jun, 2003 2 commits
  15. 30 May, 2003 1 commit
  16. 28 May, 2003 1 commit
  17. 27 May, 2003 2 commits
    • Leigh B. Stoller's avatar
      Add two crude controls to allow the user to change how virtual nodes · 76c37c50
      Leigh B. Stoller authored
      are packed 1) Add trivial_ok flag to virt_lans table. Global to the
      lan or link, allow nodes in the lan or link to be colocated on the
      same phys node. Perhaps make it per-node at some point. 2) Add
      multiplex_factor to the experiments table to allow user to override
      the multiplex_factor that is contained in the node_types table. Make
      per type at some point.
    • Mac Newbold's avatar
      Add the new fields related to our new swapping features: · de553419
      Mac Newbold authored
         noswap_reason tinytext			- The reason they're unswappable
         idleswap tinyint(4) NOT NULL default '0'	- The idleswap bit (for auto. idleswap)
         idleswap_timeout int(4) NOT NULL default '0'	- The timeout for idleswap (in minutes)
         noidleswap_reason tinytext			- The reason they're non-idleswap
         autoswap tinyint(4) NOT NULL default '0'	- The autoswap bit
         autoswap_timeout int(4) NOT NULL default '0'	- The timeout for autoswap (in minutes)
      The new form for expt create should fill these in, and swapin will update the idleswap
      timeout if idleswap is set. Idlemail will read these and do the deed as needed.
      They'll also get shown on the new expt display page.
      As soon as we move to the new form, we can nuke priority.
  18. 20 May, 2003 2 commits
  19. 19 May, 2003 1 commit
  20. 15 May, 2003 4 commits
    • Leigh B. Stoller's avatar
    • Leigh B. Stoller's avatar
      Add vnode to veth_interfaces. This serves to distinguish veths for · 01432ea6
      Leigh B. Stoller authored
      jailed nodes from veths for plain emulated links between phys nodes,
      which we might generally allow at some point for supporting emulated
      links (rather than using IP aliases). My plan is to use this im tmcd
      to determine what ifconfig returns; no point in returning jailed veth
      configuration when the node boots, but should wait until the jail is
      setup (this is further complicated by rtabids, but thats another
    • Leigh B. Stoller's avatar
      A few more minor changes. Change exitcode to signed since in mysql, -1 · e6644faa
      Leigh B. Stoller authored
      is not a string of bits, but really 0 when the type is unsigned.
      Sheesh. Add link from testbed_stats to experiment_resources to get
      better info in showstats.
    • Leigh B. Stoller's avatar
      Split the experiment stats table into two parts. The first is the · a382994d
      Leigh B. Stoller authored
      per-experiment instantiation with aggregate data like the number of
      swapins, the dates and the like. The other part is the per
      swapin/modify stats. These are number of pnodes, links, lans,
      etc. Long term, I think we want more precise swapin stats, and with
      experiment modify in the mix, we need to have multiple stat records
      per experiment, but do not need to duplicate all the stuff in the
      other table just mentioned.
      To reduce the amount the table size, we cross reference the tables by
      index only instead of with pid,eid and the like. We use exptidx to
      link experiments, experiment_stats, and the new experiment_resources
      table. experiment_resources and stats are linked by another index in
      the resources table, which indicates which is the current resource
      row. On a modify, a new resource record is created, and the stats
      record updated to point to the new (latest) resource record.
      Web Changes: Improve showstats and showexpstats. Make them user
      accessible so that mere users can see stats for themselves and for
      their projects. No ability for mere users (PIs) to look at another
      person's stats. Generally, these two pages need more work, but now
      they are more useful. I added Show Stats to the user info and project
      info pages to display per-usr/proj stats. Add more info in the
      showstats display, but the showexpstats display is still not pretty
      printed; just the raw tables.
      Rename a few fields, add some indexes, and otherwise make some minor
      changes that are sure to annoy everyone.
  21. 14 May, 2003 1 commit
  22. 12 May, 2003 1 commit
  23. 09 May, 2003 1 commit
  24. 05 May, 2003 1 commit
    • Leigh B. Stoller's avatar
      Add veth_interfaces table for configuring new veth virtual interfaces. · 451dfa08
      Leigh B. Stoller authored
      Unlike the interfaces table, veth interfaces come and go with
      experiment swapin and swapout, with assignment to be done in
      assign_wrapper. However, each veth maps to a real interface on a node,
      as defined in the interfaces table, and the cross link is the "iface"
      slot. There is a "mac" address since veth devices need a MAC, but I'm
      not sure how that will be assigned yet. I am letting the DB do the
      allocation of veth ids by making it an auto_increment field, and a
      dual key of (node_id, veth_id). So, the DB will assign increasing
      values per node_id, not globally to the table. Very slick.
  25. 01 May, 2003 2 commits
    • Leigh B. Stoller's avatar
    • Leigh B. Stoller's avatar
      Add the long desired halt/swap event directives. You can now put this · 5116cd33
      Leigh B. Stoller authored
      in your NS file:
      	$ns at 2000.0 "$ns halt"
      	$ns at 2000.0 "$ns swapout"
      The first causes the experiment to terminate, the later causes it to
      swap out. I know some wiseass is going to ask for a swapin event!
      You can also send these events from tevc:
      	tevc -e testbed/stopme now ns halt
      	tevc -e testbed/stopme now ns swapout
      Does it need to be said that this is insecure? That we could get swap
      wars going on as people try to get nodes for their experiments by
      swapping out someone else? Well, if that happens we will apply the big
      hammer and squash their nuts.
      Details: I added an SIMULATOR "agent", and HALT/SWAPOUT event types in
      the usual places. In the event scheduler, SIMULATOR events are treated
      specially (not actually sent anywhere), but handled internally. Very
      convenient, cause the scheduler runs as the person who swapped the
      experiment in, and so I just run either swapexp or endexp, right from
      the scheduler. At some point we need to give the permission issue some
  26. 30 Apr, 2003 2 commits
  27. 29 Apr, 2003 1 commit
  28. 28 Apr, 2003 1 commit