1. 22 Dec, 2004 1 commit
  2. 21 Dec, 2004 9 commits
    • Leigh B. Stoller's avatar
      Return default ntp server to local nodes if no node specific entries · ce044778
      Leigh B. Stoller authored
      are listed in the ntpinfo table.
      ce044778
    • Robert Ricci's avatar
      510448b7
    • Robert Ricci's avatar
      Add a "leader" column to the switch_stack_types table so that we no longer need · 81ca0334
      Robert Ricci authored
      to assume that the leader of a stack is the switch after which it was named -
      we can now name stacks things like 'Control' or 'Experiment'.
      81ca0334
    • Timothy Stack's avatar
      · 241132a3
      Timothy Stack authored
      Some cleanup of the robot vision system:
      
      	* Makeconf.in: Add INSTALL_INCDIR for includes, EVENTSYS for
      	whether or not the event system is available, HAVE_MEZZANINE for
      	whether or not we'll be building mezzanine, and GTK_CONFIG which
      	refers to the gtk-config binary, if there is one.
      
      	* config.h.in: Add HAVE_LINUX_VIDEODEV_H and HAVE_MEZZANINE
      	defines.
      
      	* configure, configure.in: Check for the robot vision system
      	dependencies.  Add mezzanine template files.
      
      	* robots/GNUmakefile.in: Add some conditionals for directories
      	that depend on the event-system and mezzanine.
      
      	* robots/mezzanine/GNUmakefile.in,
      	robots/mezzanine/libfg/GNUmakefile.in,
      	robots/mezzanine/libmezz/GNUmakefile.in,
      	robots/mezzanine/mezzanine/GNUmakefile.in,
      	robots/mezzanine/mezzcal/GNUmakefile.in,
      	robots/mezzanine/rtk2/GNUmakefile.in: Fold mezzanine into the
      	testbed's build system.
      
      	* robots/vmcd/GNUmakefile.in: When building the vmc-client, use
      	the mezzanine that we build locally instead of an installed
      	version.
      
      	* robots/vmcd/test_vmc-client.sh.in, robots/vmcd/test_vmcd.sh.in,
      	robots/vmcd/test_vmcd2.sh, robots/vmcd/test_vmcd3.sh,
      	robots/vmcd/test_vmcd4.sh: Bring the test cases up-to-date with
      	respect to the actual code.
      
      	* robots/vmcd/vmc-client.c: A bunch of cleanups and bug fixes: add
      	comments, set TCP_NODELAY on the client sockets (doh), etc...
      241132a3
    • Leigh B. Stoller's avatar
      Attempt to deal with seemingly transient failure when turning firewall · 88c6ec32
      Leigh B. Stoller authored
      rules back on. The ipfw silently fails, but if I do it a second time,
      it works fine. This is bogus of course ...
      88c6ec32
    • Robert Ricci's avatar
    • Leigh B. Stoller's avatar
      Rework old XMLRPC code that I stuck into defs.php3 a long time ago, · 98d2ab5f
      Leigh B. Stoller authored
      but never made use of. Moved to its own file (www/xmlrpc.php3.in)
      and made to be more like the perl library I did a couple of months ago,
      that presents an interface to an sslxmlrpc server, via the sslxmlrpc
      client program operating in "raw" mode (takes raw xml on stdin, and
      returns raw xml on stdout).
      
      Added ELABINELAB code to nodetipacl.php3 so that you can click on
      console icon on an inner emulab web page, and it will ask the outer
      emulab sslxmlrpc server for the stuff it needs, and return that to the
      user.
      98d2ab5f
    • Leigh B. Stoller's avatar
    • Leigh B. Stoller's avatar
      Add configuration of named forwarders driven from NAMED_FORWARDERS · 2a1b6543
      Leigh B. Stoller authored
      variable in the defs file. Nice for elabinelab to avoid inner named
      from having to do too much work.
      2a1b6543
  3. 20 Dec, 2004 4 commits
  4. 16 Dec, 2004 21 commits
    • Leigh B. Stoller's avatar
      Slight improvement. · c8c996c2
      Leigh B. Stoller authored
      c8c996c2
    • Leigh B. Stoller's avatar
      Neuter portstats inside an elabinelab. Eventually pass it out with · de2e409f
      Leigh B. Stoller authored
      XMLRPC, but for now avoid the warnings.
      de2e409f
    • Leigh B. Stoller's avatar
      Fully launch inner experiment (was just preloading cause of frisbee problems). · fb726630
      Leigh B. Stoller authored
      Do not die when turning firewall rules back on fails. This is a transient
      error I do not understand yet.
      When firewalled and paniced, skip clean shutdown of inner nodes since
      they are going to be powered off anyway later, and besides, the control
      network is shut off, so no way to talk to inner boss anyway.
      fb726630
    • Leigh B. Stoller's avatar
      Nothing special. · 760bf11b
      Leigh B. Stoller authored
      760bf11b
    • Leigh B. Stoller's avatar
    • Russ Fish's avatar
      Describe setting the rdesktop size. · ff400e49
      Russ Fish authored
      ff400e49
    • Russ Fish's avatar
      1280x1024 is more normal than 1200x1024 for rdesktop. · df4255df
      Russ Fish authored
      You can specify any display resolution you want; it doesn't have to be
      one of the "normal" ones.  And you can switch back and forth by just starting
      a new rdesktop and "grabbing" the rlogin session away from the previous one.
      
      But once an rdesktop is started up, its display resolution is fixed.  If you make it
      smaller than the previous one, it will push your windows around to fit.
      df4255df
    • Leigh B. Stoller's avatar
      Add a special overlay icon for elabinelab to make it very clear which · c8bd673f
      Leigh B. Stoller authored
      web interface you are talking to!
      c8bd673f
    • Robert Ricci's avatar
      Add support (admins only for now) for restarting the event system via · 1d13cde6
      Robert Ricci authored
      the web interface.
      1d13cde6
    • Leigh B. Stoller's avatar
      Minor bug fix to last revision. · 55923990
      Leigh B. Stoller authored
      55923990
    • Leigh B. Stoller's avatar
      Add dashed line to indicate where vision system stops cause camera 0 · bef556f1
      Leigh B. Stoller authored
      is not currently working. Simple revert to previous revision when
      camera is fixed.
      bef556f1
    • Robert Ricci's avatar
      Add sgtools, a couple tools to handle motes hosted on stargates. · cb7c1946
      Robert Ricci authored
      Right now, these have to be built on ibapah, because it's got the
      cross compiler neeeded.
      
      Includes some of Kirk's SGGPIO code. This should probably get moved
      to some other directory and made into more of a library.
      cb7c1946
    • Timothy Stack's avatar
      5f7792e3
    • Robert Ricci's avatar
      Strip down the moteleds page a bit using the 'view' options to · 17cc2489
      Robert Ricci authored
      PAGEHEADER() and PAGEFOOTER(). Pop it up in a new window.
      17cc2489
    • Robert Ricci's avatar
    • Leigh B. Stoller's avatar
      The panic button ... · 87dd2e60
      Leigh B. Stoller authored
      * tbsetup/panic.in: New backend script to implement the panic button
        feature. When used, it will cut the severe the connection to the
        firewall node by using snmpit to disable the port. Sets the panic
        bit (and date) in the experiments table, and changes the state of
        the experiment from "active" to "paniced" to ensure that the
        experiment cannot be messed with (swapped out or modified). Sends
        email to tbops when the panic button is pressed.
      
        Used with -r option, reverses the above. State is set back to
        active, the panic bit is cleared, and the port is renabled with
        snmpit.
      
      * tbsetup/tbswap.in: During swapout, a firewalled experiment that has
        been paniced will get a cleaning; The nodes are powered off, then
        the osids for all the nodes are reset (with os_select) so that they
        will boot the MFS, and then the nodes are powered on. Then the
        control network is turned back on, and then I wait for the nodes to
        reboot (this is simply cause we do not record in the DB that a node
        is turned off, and if I do not wait, the reload daemon will end
        hitting the power button again if they do not reboot in time. We can
        fix this later.
      
        I am not planning to apply this to general firewalled experiments
        yet as the power cycling is going to be hard on the nodes, so would
        rather that we at least have a 1/2 baked plan before we do that.
      
      * www/showexp.php3: If experiment is firewalled, show the Panic
        Button, linked to the panic button web script. If the experiment has
        already had the panic button pressed, show a big warning message and
        explain that user must talk to tbops to swap the experiment out.
        Also fiddle with menu options so that the terminate link is gone,
        and the swap link is visible only in admin mode. In other words, only
        an admin person can swap an experiment once it is paniced. And of
        course, an admin person can the backend panic script above with the
        -r option, but thats not something to be done lightly.
      
      * db/libdb.pm.in: Add "paniced" as an experiment state (EXPTSTATE_PANICED).
        Add utility functions: TBExptSetPanicBit(), TBExptGetPanicBit(), and
        TBExptClearPanicBit().
      
      * tbsetup/swapexp.in: Minor state fiddling so that an experiment can
        be swapped while in paniced state, but only when in admin mode. Also
        clear the panic bit when experiment is swapped out.
      
      * www/dbdefs.php3.in: Add "paniced" as an experiment state. Add a
        utility function TBExptFirewall() to see if experiment is firewalled.
      
      * www/panicbutton.php3: New web script to invoke the backend panic
        script mentioned above, after the usual confirm song and dance.
      
      * www/panicbutton.gif: New gif of a red panic button that I stole off
        the net. If anyone has sees/has a better one, feel free to replace
        this one.
      
      * utils/node_statewait.in: Add -s option so that I can pass in the
        state I want to wait for (used from tbswap above to wait for nodes
        to reach ISUP after power on).
      87dd2e60
    • Leigh B. Stoller's avatar
      Add a few obstacles. Very rough ... · 9e7b2287
      Leigh B. Stoller authored
      9e7b2287
    • Timothy Stack's avatar
      coord fix · 93b53eab
      Timothy Stack authored
      93b53eab
    • Daniel Flickinger's avatar
      · 9815079a
      Daniel Flickinger authored
      (hopefully) fixed up the completely twisted and fucked up left handed world coordinate thing. (Transpose x,y)
      9815079a
    • Daniel Flickinger's avatar
      · 13aab5b8
      Daniel Flickinger authored
      Changed angle tolerance to about 5 degrees, and decreased max retries to 3
      13aab5b8
    • Daniel Flickinger's avatar
      Makefile tweaks · 64db9443
      Daniel Flickinger authored
      64db9443
  5. 15 Dec, 2004 5 commits