• Leigh Stoller's avatar
    Various fixes for ualloc switches: · cdcbedc7
    Leigh Stoller authored
    * Stop using the ALWAYSUP state machine for switches, this causes ISUP
      to always get sent, which in certain cases, results in stated
      rebooting the switch!
    
      Added new ONIE state machine, which handles the way switches actually
      boot into ONIE first and then does the bootinfo/grub dance, or does a
      reload or does admin mode.
    
    * Do not send PXEBOOTING from ONIE; this was a mistake, it throws us
      into the PXEKERNEL state machine, which sometimes results is stated
      rebooting the switch!
    
      We still use PXEWAIT (it is sent by bootinfod), since that is the
      "waiting" state that is wired into a lot of Emulab, it just happens to
      now be a state in the ONIE state machine, so its legal.
    
    * Fix a bug in libossetup, that was fooling libossetup_switch into
      thinking the wrong thing.
    
    * Add some timeouts to the libosload_mlnx code, sshd sometime refuses to
      answer after a failed login. Strange.
    
    * Fix a fork() problem in the switch reload code; gotta call exit, not
      return! This was wreaking subtle (okay not so subtle) havoc in
      libossetup.
    cdcbedc7
Name
Last commit
Last update
..
alpine Loading commit data...
archlinux Loading commit data...
centos6 Loading commit data...
centos7 Loading commit data...
common Loading commit data...
cygwinseven Loading commit data...
cygwinxp Loading commit data...
dp Loading commit data...
fedora Loading commit data...
fedora15 Loading commit data...
freebsd Loading commit data...
freebsd10 Loading commit data...
freebsd11 Loading commit data...
freebsd12 Loading commit data...
freebsd5 Loading commit data...
freebsd6 Loading commit data...
freebsd7 Loading commit data...
freebsd9 Loading commit data...
freenas11 Loading commit data...
freenas8 Loading commit data...
freenas9 Loading commit data...
linux Loading commit data...
linux-ms Loading commit data...
linux-sg Loading commit data...
linux9 Loading commit data...
onie Loading commit data...
openbsd Loading commit data...
plab Loading commit data...
ron Loading commit data...
ubuntu10 Loading commit data...
ubuntu11 Loading commit data...
ubuntu14 Loading commit data...
ubuntu15 Loading commit data...
ubuntu16 Loading commit data...
ubuntu16-ms Loading commit data...
ubuntu18 Loading commit data...
ubuntu18-ms Loading commit data...
ubuntu7 Loading commit data...
widearea Loading commit data...
GNUmakefile.in Loading commit data...
dostype.c Loading commit data...
findif.c Loading commit data...
osstuff.sh Loading commit data...
tdd.c Loading commit data...
tmcc.c Loading commit data...