###########################################################
# View cpu hardware version for all AR testbeds, and CS testbeds
# cs01 through cs08, and gd30.
# > labiv -t "ar..","cs0[1-8]",gd30 -f cpu -q hw_ver > outfile4
###########################################################

Retrieving /etc/nis/hosts from godfather.cisco.com
Transfer complete.
Parsing hosts file
Testbed: ar..
Dev: ls1010
Searching for ar.._rhn
  Feature cpu:   
ar01_rhn_07 t87 2007 Status: Ethernet

  Feature cpu:   hw_ver 3.1 
ar02_rhn_08 t90 2008 Status: Ethernet

Dev: 8540
Searching for ar.._[mc]84
  Feature cpu:   
ar01_m84_01 t87 2001 Status: Ethernet

  Feature cpu:   hw_ver 5.6 
ar01_m84_05 t87 2005 Status: Ethernet

  Feature cpu:   hw_ver 5.7 
ar02_m84_01 t90 2001 Status: Ethernet

  Feature cpu:   
ar02_m84_09 t90 2009 Status: ethernet-timed-out

Dev: 8510
Searching for ar.._c81
  Feature cpu:   
ar01_c81_02 t87 2002 Status: Ethernet

  Feature cpu:   
ar01_c81_06 t87 2006 Status: Ethernet

  Feature cpu:   hw_ver 6.0 
ar02_c81_02 t90 2002 Status: Ethernet

Testbed: cs0[1-8]
Dev: ls1010
Searching for cs0[1-8]_rhn
Dev: 8540
Searching for cs0[1-8]_[mc]84
  Feature cpu:   hw_ver 5.7 
cs07_c84_01 t105 2001 Status: Ethernet

  Feature cpu:   hw_ver 5.7 
cs02_c84_01 t73 2001 Status: Ethernet

  Feature cpu:   hw_ver 5.7 
cs02_c84_07 t73 2007 Status: Ethernet

  Feature cpu:   
cs03_c84_01 t72 2001 Status: ethernet-timed-out

  Feature cpu:   hw_ver 5.7 
cs04_c84_01 t82 2001 Status: Ethernet

  Feature cpu:   hw_ver 5.7 
cs04_c84_06 t82 2006 Status: Ethernet

  Feature cpu:   hw_ver 5.7 
cs05_c84_01 t83 2001 Status: Ethernet

  Feature cpu:   
cs05_c84_09 t83 2009 Status: ethernet-timed-out

  Feature cpu:   
cs06_c84_01 t86 2001 Status: nopasswd

  Feature cpu:   
cs06_c84_06 t86 2006 Status: nopasswd

  Feature cpu:   
cs08_c84_01 t89 2001 Status: ethernet-timed-out

  Feature cpu:   
cs01_c84_01 t76 2001 Status: ethernet-timed-out

Dev: 8510
Searching for cs0[1-8]_c81
  Feature cpu:   hw_ver 6.0 
cs07_c81_04 t105 2004 Status: Ethernet

  Feature cpu:   
cs07_c81_05 t105 2005 Status: ethernet-timed-out

  Feature cpu:   hw_ver 6.0 
cs02_c81_04 t73 2004 Status: Ethernet

  Feature cpu:   hw_ver 6.0 
cs02_c81_05 t73 2005 Status: Ethernet

  Feature cpu:   
cs03_c81_04 t72 2004 Status: nopasswd

  Feature cpu:   
cs03_c81_05 t72 2005 Status: nopasswd

  Feature cpu:   
cs04_c81_04 t82 2004 Status: ethernet-timed-out

  Feature cpu:   hw_ver 6.0 
cs04_c81_05 t82 2005 Status: Ethernet

  Feature cpu:   
cs05_c81_05 t83 2005 Status: ethernet-timed-out

  Feature cpu:   
cs06_c81_02 t86 2002 Status: nopasswd

  Feature cpu:   
cs06_c81_03 t86 2003 Status: nopasswd

  Feature cpu:   
cs08_c81_02 t89 2002 Status: ethernet-timed-out

  Feature cpu:   
cs01_c81_04 t76 2004 Status: ethernet-timed-out

  Feature cpu:   hw_ver 6.0 
cs01_c81_05 t76 2005 Status: Ethernet

Testbed: gd30
Dev: ls1010
Searching for gd30_rhn
Dev: 8540
Searching for gd30_[mc]84
  Feature cpu:   hw_ver 5.7 
gd30_c84_01 t12 2001 Status: Ethernet

Dev: 8510
Searching for gd30_c81
  Feature cpu:   hw_ver 6.0 
gd30_c81_04 t12 2004 Status: Ethernet

  Feature cpu:   hw_ver 6.0 
gd30_c81_05 t12 2005 Status: Ethernet

*** Results:    (count in parens) ***
8540
   cpu
      hw_ver: 5.6(1) 5.7(8)
ls1010
   cpu
      hw_ver: 3.1(1)
8510
   cpu
      hw_ver: 6.0(8)
Connection summery:
   ethernet-timed-out 10  26.32%
   nopasswd 6  15.79%
   Ethernet 22  57.89%
   Total:   38
