********************************************************************************
SuperBladeTool v1.04.07                                               05/15/2008
Copyright(c) 2008 by Super Micro Computer, Inc.           http://supermicro.com/
********************************************************************************

========
1.Readme
========

SuperBladeTool is a command line interface utility for the Supermicro SuperBlade. 
It is designed to be easily used in Windows and Linux console mode.
All the functions are related to blade system management. 

=====================
2.Setup and Execution
=====================

This utility needs Sun JRE 1.5.x or above. Please install Sun Java in your 
platform in advance. To download, please go to following link:
http://java.sun.com/javase/downloads/index.jsp

There are 3 executable files in the SuperBladeTool utility.
 1.SuperBladeTool.jar   : A jar file only. 
 2.SuperBladeTool.exe   : A windows executable wrapper for SuperBladeTool.jar
 3.SuperBladeTool-linux : A linux executable wrapper for SuperBladeTool.jar
 
User can choose the jar or a native executable file. SuperBladeTool-linux needs
an extra setting to the environment, as shown below.

Add jre to your PATH line in .bashrc file
  PATH=$PATH:/usr/java/jre1.5.0_12/bin 
The "jre1.5.0_12" folder may change depending on your version of java.

===================
3.Usage and Command
===================

In the console mode, please run the following command to start. There will be 
on-line help included on this program for the user.

Usage:
      SuperBladeTool <IP> <username> <password> [commands ... ]
      
Following are all commands for SuperBladeTool. 

	Command: Main available commands
	Available command(s):
	system(sys)                      System status overview
	failure(fail)                    Blade system failure report
	blade(bl)                        Server blade management
	gigabit(gb)                      Gigabit switch management
	power(ps)                        Power supply management
	ib                               Infiniband management
	cmm                              CMM management
	listtemp(lst)                    List system temperatures
	sel                              System event log
	user                             User management
	vm                               Virtual Media management
	ipmi                             IPMI device management
	ver                              Print version
	ch                               Change managed device in shell mode
	list [keyword]                   List all or find available commands
	find [<Start> <End> <netMask>]   Find IPMI device from local or IP range
	found [clear]                    List or clear found IPMI devices
	exec <filename> [loop] [delay]   Execute commands from file
	host                             Host management
	hostrun <host|group> <command>   Run a command on host or group
	trap                             IPMI SNMP Trap receiver management
	sc                               Execute DOS/Linux shell command
	kvm                              Open KVM console (graphic mode)
	
	Command: blade
	Available command(s):
	status(st)                       Blade status
	<blade index(es)>                Index number of blade
	
	Command: blade <blade index(es)>
	Available command(s):
	status(st)                       Blade status
	power                            Power control
	kvm                              Request KVM switch
	uid                              on/off UID LED
	sensor(sr)                       Sensors status
	bmc                              BMC(SIMBL) LAN configuration
	
	Command: blade <blade index(es)> bmc
	Available command(s):
	ip [IP]                          Get/set BMC IP
	dhcp [enable|disable]            Enable/Disable DHCP
	vlan [<enable|disable> <tag>]    Display/Enable/Disable VLAN
	ipmb <netFn> <cmd> [data]        Send IPMI raw command. netFn<<2 is needed
	
	Command: gigabit
	Available command(s):
	status(st)                       Gigabit switch status
	<gigabit index(es)>              Index number of gigabit switch
	
	Command: gigabit <gigabit index(es)>
	Available command(s):
	status(st)                       Gigabit Switch status
	power                            Power control
	wss                              WSS web configuration
	
	Command: power
	Available command(s):
	status(st)                       Power supply status
	<power index(es)>                Index number of power supply
	
	Command: power <power index(es)>
	Available command(s):
	status(st)                       Power Supply status
	power                            Power supply power control
	fan                              Power supply fan control
	
	Command: ib
	Available command(s):
	status(st)                       Infiniband status
	<ib index(es)>                   Index number of Infiniband switch
	
	Command: ib <ib index(es)>
	Available command(s):
	status(st)                       Infiniband status
	power                            Infiniband power control
	
	Command: cmm
	Available command(s):
	status(st)                       CMM status
	<cmm index>                      Index number of a CMM
	
	Command: cmm <cmm index>
	Available command(s):
	status(st)                       CMM status
	dtime [datetime]                 Get/Set CMM date/time
	ntp <UTC offset> <NTP1> [NTP2]   Sync time with NTP servers
	reset                            Reset CMM
	flash <filename>                 Flash CMM firmware
	ver                              CMM firmware version
	ip [ip]                          Get/Set IP. Format:###.###.###.###
	mac [mac]                        Get/Set MAC. Format:##:##:##:##:##:##
	gateway [gateway_IP]             Get/Set gateway. Format:###.###.###.###
	netmask [netmask]                Get/Set netmask. Format:###.###.###.###
	syncfg                           Sync configuration to slave CMM
	
	Command: sel
	Available command(s):
	info                             System event log information
	list                             List system event log
	clear                            Clear system event log
	
	Command: user
	Available command(s):
	add                              Add user
	list                             List user
	delete                           Delete user
	level                            Update user level
	test                             Test login
	
	Command: vm
	Available command(s):
	status(st)                       Virtual media status
	stop                             Stop virtual media
	floppy                           Upload a floppy image as virtual media
	iso                              Virtual media via windows share
	
	Command: ipmi
	Available command(s):
	sensor(sr)                       Sensor status
	power                            Power control
	acpi                             ACPI status
	lan                              LAN configruation
	fru                              FRU information
	oem                              OEM Commands
	reset                            Reset BMC
	ver                              IPMI device version
	flash <filename>                 Flash SIM IPMI firmware
	raw <netFn> <cmd> [data]         Send IPMI raw command. netFn<<2 is needed
	
	Command: ipmi lan
	Available command(s):
	ip [ip]                          Get/Set IP. Format:###.###.###.###
	mac [mac]                        Get/Set MAC. Format:##:##:##:##:##:##
	gateway [gateway_IP]             Get/Set gateway. Format:###.###.###.###
	netmask [netmask]                Get/Set netmask. Format:###.###.###.###
	snmp [<seq> <ip> [mac]]          Get/Set SNMP destination
	snmpcomm [community string]      Get/Set SNMP community string
	arp [on|off]                     On/Off Gratuitous ARP
	dhcp [enable|disable]            Enable/Disable DHCP
	vlan [<enable|disable> <tag>]    Display/Enable/Disable VLAN
	
	Command: ipmi oem
	Available command(s):
	clrint                           Clear chassis Intrusion
	id                               MB ID. Only available for SIMxx IPMI
	uid [on|off]                     On/Off UID LED
	backup <filename>                Configuration backup to file
	restore <filename> <option>      Configuration restore from file
	
	Command: host
	Available command(s):
	list                             List host data
	reload                           Reload host data
	add <host> <ip> [username] [password]    Add a host
	remove <host>                    Remove a host
	rename <old name> <new name>     Rename a host
	group                            Host group data management
	
	Command: host group
	Available command(s):
	add <group> [host] ...           Add a host group
	remove <group>                   Remove a host group
	rename <old name> <new name>     Rename a host group
	addhost <group> <host> ...       Add a host into group
	removehost <group> <host> ...    Remove a host from group
	
	Command: trap
	Available command(s):
	start                            Strat Trap receiver
	stop                             Stop Trap receiver
	status(st)                       Trap receiver status
	list                             List the received Traps
	clear                            Clear the received Traps
	save                             Save the received Traps to file
	savepet                          Save as the IPMIView TrapReceiver PET format
				
===========
4.Examples
===========

D:\>superbladetool 192.168.1.112 ADMIN ADMIN system
Blade Module (10/10)
--------------------
 Blade    | Power  | KVM      | UID | Error | BMC | Watt
 -----    | -----  | ---      | --- | ----- | --- | ----
 Blade 1  | On     |          |     |       | Yes | 300W
 Blade 2  | On     |          |     |       |     | 300W
 Blade 3  | On     |          |     |       | Yes | 300W
 Blade 4  | On     |          |     |       | Yes | 375W
 Blade 5  | On     |          |     |       | Yes | 300W
 Blade 6  | On     |          |     |       |     | 300W
 Blade 7  | On     | Selected |     |       | Yes | 300W
 Blade 8  | On     |          |     |       | Yes | 300W
 Blade 9  | On     |          |     |       | Yes | 300W
 Blade 10 | On     |          |     |       | Yes | 300W

Gigabit SW Module (1/2)
------------------------
 GBSW   | Power | Error | Init |   Switch |   2.5V |  1.25V
 ----   | ----- | ----- | ---- |   ------ |   ---- |  -----
 GBSW 1 | On    |       | OK   |  37C/99F | 2.512V |   1.2V

Power Supply Module (4/4)
--------------------------
 PS   | Power | Fan 1 | Fan 2 | Temp.    | Watts |     DC |     AC | F/W | FRU
 --   | ----- | ----- | ----- | -----    | ----- |     -- |     -- | --- | ---
 PS 1 | On    |  6183 |  6068 | 38C/100F |  2000 |    N/A |    N/A | 2.6 |  01
 PS 2 | On    |  6183 |  6183 | 38C/100F |  2000 |    N/A |    N/A | 2.6 |  01
 PS 3 | On    |  6068 |  6068 | 39C/102F |  2000 |    N/A |    N/A | 2.6 |  01
 PS 4 | On    |  6068 |  6068 | 41C/106F |  2000 |    N/A |    N/A | 2.6 |  01

Infiniband Module (1/2)
------------------------
 IB   | Power | Init |  VVDD | 3.3V Aux |  1.2V |  1.8V |  3.3V |   Temp.
 --   | ----- | ---- |  ---- | -------- |  ---- |  ---- |  ---- |   -----
 IB 1 | On    | OK   | 1.52V |    3.31V | 1.19V | 1.74V | 3.31V | 34C/93F

CMM Module(1/2)
----------------
 CMM   | M/S    | Status
 ---   | ---    | ------
 CMM 1 | Master | OK


D:\>superbladetool 192.168.1.238 ADMIN ADMIN blade 1 sensors
  Status | Sensor               |      Reading | Low Limit | High Limit |
  ------ | ------               |      ------- | --------- | ---------- |
  OK     | CPU1 Temp.           |     50C/122F |       N/A |   80C/176F |
  OK     | CPU2 Temp.           |     43C/109F |       N/A |   80C/176F |
  OK     | CPU3 Temp.           |     47C/117F |       N/A |   80C/176F |
  OK     | CPU4 Temp.           |     46C/115F |       N/A |   80C/176F |
  OK     | System Temp.         |     43C/109F |       N/A |   75C/167F |
  OK     | CPU1 Voltage         |       1.34 V |    0.92 V |      1.5 V |
  OK     | CPU2 Voltage         |       1.32 V |    0.92 V |      1.5 V |
  OK     | CPU3 Voltage         |       1.23 V |    0.92 V |      1.5 V |
  OK     | CPU4 Voltage         |       1.29 V |    0.92 V |      1.5 V |
  OK     | 1.2V                 |       1.19 V |    1.08 V |     1.32 V |
  OK     | 3.3V                 |       3.18 V |    2.96 V |     3.63 V |
  OK     | 12V                  |      11.42 V |   10.75 V |    13.25 V |
  OK     | 5V                   |       4.92 V |    4.49 V |      5.5 V |
  OK     | 5VSB                 |       4.82 V |    4.49 V |      5.5 V |
  OK     | Battery              |       3.05 V |    2.96 V |     3.63 V |


Shell mode example
D:\>superbladetool 192.168.1.238 ADMIN ADMIN shell
Press Ctrl+D or "exit" to exit
Press "?" or "help" for help
Press TAB for command completion
Press UP and DOWN key for command history

CMM>blade status
Blade Module (5/10)
--------------------
 Blade    | Power  | KVM      | UID | Error | BMC | Watt
 -----    | -----  | ---      | --- | ----- | --- | ----
 Blade 1  | On     |          |     |       | Yes | 500W
 Blade 4  | On     |          |     |       | Yes | 475W
 Blade 6  | On     |          |     |       | Yes | 200W
 Blade 8  | On     |          |     |       | Yes | 175W
 Blade 10 | On     | Selected |     |       | Yes | 475W

CMM>vm iso 1 192.168.10.43 iso cd1.iso
done
CMM>vm status

Drive 1
Device Status = CD-ROM image on Windows share set
Image Size = 522766336 (bytes)
Access Mode = Read-Only
Image source = //192.168.10.43/iso/cd1.iso


Drive 2
Device Status = CD-ROM image on Windows share set
Image Size = 522766336 (byte)
Access Mode = Read-Only
Image source = //192.168.10.43/iso/cd1.iso

CMM>sel info
Total Entries:          256
SEL Version:            1.5
Free Space:             4096 bytes
Recent Entry Added:     Pre-Init 00:00:00
Recent Entry Erased:    Pre-Init 00:00:00

==============
5.Release note
==============
 -------------------------------------------------------------------------------
  Version 1.04.07 build 080515
 -------------------------------------------------------------------------------

 1. Added retry mechanism for IPMB call. Make IPMB call more stable

 -------------------------------------------------------------------------------
  Version 1.04.06 build 080508
 -------------------------------------------------------------------------------

 1.Changed 1.8V to Memory Voltage and changed low limit to 1.34v.
 2.Fixed a false alarm of cpu 2 core A temp and cpu2 core B temp.
   It shows "CPU2 Core A Temp:Reading out of range" on fail command
   when you install 2 CPUs with PECI feature.

 -------------------------------------------------------------------------------
  Version 1.04.05 build 080430
 -------------------------------------------------------------------------------

 1.Added function for setting SIMBL VLAN and DHCP function via IPMB from CMM
 2.Added function for sending IPMI raw command via IPMB from CMM

    Command:bl <blade_index> bmc
    Available command(s):
      ip [IP]                          Get/set BMC IP
      dhcp [enable|disable]            Enable/Disable DHCP
      vlan [<enable|disable> <tag>]    Display/Enable/Disable VLAN
      ipmb <netFn> <cmd> [data]        Send IPMI raw command. netFn<<2 is needed

 3.Added DOS/Linux shell command supported.
    Examples:
      CMM>sc dir (execute dir command in Windows OS)
      CMM>sc ls (execute ls command in Linux OS)
      CMM>sc ping 192.168.10.123 (execute ping command)

 -------------------------------------------------------------------------------
  Version 1.04.04 build 080418
 -------------------------------------------------------------------------------
 1.Added Display/Enable/Disable VLAN command
   ipmi lan vlan [<enable|disable> <VLAN tag>]
 2.Added Get/Set SNMP community string command
   ipmi lan snmpcomm [community string]
 3.Added support for BHDME MB

 -------------------------------------------------------------------------------
  Version 1.04.03 build 080331
 -------------------------------------------------------------------------------
 1.Updated virtual media function for i2c lan type
  
 -------------------------------------------------------------------------------
  Version 1.04.02 build 080329
 -------------------------------------------------------------------------------
 1.Added configuration backup/restore/sync functions
   Command list:
      ipmi oem backup
      ipmi oem restore
      cmm 1(or 2) syncfg
 2.Added "delay" command in the shell mode
 3.Added a workround for B7DC3/B7DCE shows SIMBL is installed while it first 
   pluged into middle plane and powered off.
 4.Updated B7DCE,H8DMT,B7DC3,X7SBT,X7SBU in "IPMI OEM ID" command
 5.Updated power supply current. Dividing dc output current by 2.
 6.Added checker for firmware which doesn't support virutal media
 7.Fixed a minor bug in ch command. (Some variables are not cleared)
 8.Set chunk size to 80 byte if lan type is share lan1 and lan driver is i2c for
   firmware upload.
 9.Changed the sensor name 1.2V to CPU VTT (Low/hight limit, 0.99/1.32) in Intel
   blade sensor table.
10.Fixed GBSW dispaly power on while the power supply is turned off
 
 -------------------------------------------------------------------------------
  Version 1.04.01 build 080125
 -------------------------------------------------------------------------------

 1.Added tab-completion function like bsh or windows command pormpt
 2.Added function that persistence command history. Command History
  will restore when re-enter shell mode. (Use the Jline)

  Set history in the SuperBladeTool.properties
  history = on|off
  if history = on, the all the command history will be save to file and
  restore when next shell mode.

 3.Added firmware flash command for SIMXX IPMI
 4.Define command return code in Command class.
   sub Commands can define their own command return code.
   Script program knows the command result form the command return code.
 5.Updated CMM NTP time set function
 6.Updated ch command to accpet ".192" type. Not only accept "*.192".
 
 -------------------------------------------------------------------------------
  Version 1.03.04 build 080118
 -------------------------------------------------------------------------------

 1.Add Command History available in Linux terminal. Pressing up or down key to
   go through command history. This is completed by adding Jline open source project
   
 Note: For SOL function work properly, SOL PlugIn(sol related functions) should 
       use this version.

 -------------------------------------------------------------------------------
  Version 1.03.03 build 080109
 -------------------------------------------------------------------------------

 1.Added a checker to check the SEL and SDR mismatch problem
 2.Added 14 blades Supported
 3.Added 'help' command in the exec mode. (help observe the run time information)
 4.Fixed some trap function bugs. (File close, parameter validation)
 5.Update trap reciever for blade snmp

 -------------------------------------------------------------------------------
  Version 1.03.02 build 071128
 -------------------------------------------------------------------------------

 1.Added PlugIn mechanism.
 2.Updated the gb pass thru initialized display error
 3.Added Virtual Media supported for general SIM IPMI

 -------------------------------------------------------------------------------
  Version 1.03.01 build 071126
 -------------------------------------------------------------------------------
 1.Added cmm NTP fucntion. 
           command:ntp <UTC offset> <NTP1> [NTP2]  Sync time with NTP servers
 2.Added Trap receive function in shell mode. 
          Command:trap
          Available command(s):
          start                            Strat Trap receiver
          stop                             Stop Trap receiver
          status(st)                       Trap receiver status
          list                             List the received Traps
          clear                            Clear the received Traps
          save                             Save the received Traps to file
          savepet                          Save as the IPMIView TrapReceiver PET format
           
		  *Set trap receive in the SuperBladeTool.properties
          trap = on|off
          if trap = on, then trap receive will be started when enter to shell mode

 3.Added reading and threshold in SEL
 4.Fixed the sensor name display error in the SEL list
 5.Added keyword function in list command
 6.Added record function. set "reocrd" field in the SuperBladeTool.properties.
   *Set record in the SuperBladeTool.properties
   record = on|off
   if record = on, the  all the content of shell mode will be record to file
 8.Fixed a bug that GB Switch initilized field display error on SuperBladeTool

 -------------------------------------------------------------------------------
  Version 1.02.01 build 071105
 -------------------------------------------------------------------------------

 1.Added exec command for executing commands from a file  
   (Command: exec <filename> [loop] [delay])
 2.Added all("*") and comma separater for multiple execution on blade, gigabit, 
   power, ib commands. (see example 2)
 3.Added host and group data management. A host.properties file will be created.
 4.Added hostrun command. for running a command on a host or a group (see example 1)
 5.Imporved command list information.
 6.Fixed a bug that no prompt when connect to OSA IPMI  
   
   Examples:
   1.host and hostrun command:
           CMM>host list
           Host:
                   Host                 IP
                   ----                 --
                   1.112                (192.168.1.112)
                   1.119                (192.168.1.119)
                   bl1                  (192.168.10.243)
                   bl2                  (192.168.10.244)
 
           Host Group:  
                   Group Name           Host
                   ----------           ----
                   1                    1.112
                                        1.119
                   bl                   bl1
                                        bl2
 
           CMM>hostrun bl ipmi power up
           [bl1:192.168.10.243]
           Done
 
           [bl2:192.168.10.244]
           Done

         
   2."*" and comma separater support for blade commands:
           CMM>bl 3,7,10 uid on
           [ 3]:
           Done
           [ 7]:
           Done
           [10]:
           Done

           CMM>bl * power on
           [ 1]:
           Blade 1 is not present
           [ 2]:
           Blade 2 is not present
           [ 3]:
           Done
           [ 4]:
           Blade 4 is not present
           [ 5]:
           Blade 5 is not present
           [ 6]:
           Blade 6 is not present
           [ 7]:
           Done
           [ 8]:
           Blade 8 is not present
           [ 9]:
           Blade 9 is not present
           [10]:
           Done



 -------------------------------------------------------------------------------
  Version 1.01.02 build 071022
 -------------------------------------------------------------------------------
 1.Added FOUND [clear] sub command and information of last update.
 2.Added IPMI oem command
     2.1 Added clear chassis intrusion command (command: ipmi oem clrint)
     2.2 Added id command for showing MB ID (command: ipmi oem id)
     2.3 Added id name command for showing MB name (Command: ipmi oem id name)
 3.Fixed a bug that impi raw command cannot accpet the prameter which the msb=1  
 4.Added listtemp command for showing all the blade system temp
         example:
         CMM>lst
         Status | Module     | Sensor               |    Reading | High Limit |
         ------ | ------     | ------               |    ------- | ---------- |
         OK     | Blade 1    | CPU1                 |   29C/ 84F |   80C/176F |
         OK     | Blade 1    | CPU2                 |   29C/ 84F |   80C/176F |
         OK     | Blade 1    | System Temp.         |   33C/ 91F |   75C/167F |
         OK     | Blade 2    | CPU1                 |   28C/ 82F |   80C/176F |
         OK     | Blade 2    | CPU2                 |   28C/ 82F |   80C/176F |
         OK     | Blade 2    | System Temp.         |   33C/ 91F |   75C/167F |
         OK     | Blade 7    | CPU1 Core A Temp.    |   49C/120F |   80C/176F |
         OK     | Blade 7    | CPU1 Core B Temp.    |   46C/115F |   80C/176F |
                | Blade 7    | CPU2 Core A Temp.    |        n/a |   80C/176F |
                | Blade 7    | CPU2 Core B Temp.    |        n/a |   80C/176F |
         OK     | Power 1    | Temp.                |   40C/104F |   85C/185F |
         OK     | Power 2    | Temp.                |   40C/104F |   85C/185F |
         OK     | Power 3    | Temp.                |   39C/102F |   85C/185F |
         OK     | Power 4    | Temp.                |   40C/104F |   85C/185F |
         OK     | GBSW 1     | Switch               |   41C/106F |   80C/176F |

 -------------------------------------------------------------------------------
  Version 1.01.01 build 071016
 -------------------------------------------------------------------------------
 
 1.Add FIND command for disocver IPMI device
 2.Add FOUND command for list the found IPMI device
 3.update history command execution. use \<#>
 4.add IPMI command group
      sensor(sr)                       Sensor status
      power                            Power control
      acpi                             ACPI status
      lan                              LAN configruation
      fru                              FRU information
      reset                            reset BMC
      ver                              IPMI device version
      raw <netFn> <cmd> [data]         Send IPMI raw command. netFn needs shift 2 bit
 
      Sub Command for lan
        ip [ip]                          get/set IP. Format:###.###.###.###
        mac [mac]                        get/set MAC. Format:##:##:##:##:##:##
        gateway [gateway_IP]             get/set gateway. Format:###.###.###.###
        netmask [netmask]                get/set netmask. Format:###.###.###.###
        snmp [<seq> <ip> [mac]]          get/set SNMP destination
        arp [on|off]                     on/off Gratuitous ARP
        dhcp [enable|disable]            enable/disable DHCP
 
 5.fixed "No enough power" message failed.
 6.fixed if out put DC power over 130A shows wrong value. It's overflow
 7.added short string command instead of long characters typing.
 8.added CMM IP address info in the "cmm status" command
 9.reduced the number of concurrent connections during the command execution. 

-------------------------------------------------------------------------------
 Version 1.00.06 build 071005
-------------------------------------------------------------------------------
 
1.add slave CMM check. Only cmm,sel and user functions are available for slave CMM
2.minor information display changed.

-------------------------------------------------------------------------------
 Version 1.00.05 build 070918
-------------------------------------------------------------------------------
1.Added command history function. press "\" and "/" for executing and displaying
  command history.
2.Added "list" command. Print all available commands
3.Added get/set mac address command in cmm.
4.Updated SEL list message.
5.Added more information in help command (press "?" or "help" in shell mode).
6.Added blade power status in the blade power command. 
7.Added cmm connected info for "cmm status" or "cmm # status" command.
8.Added wild card for ch command. Made it easier to change managed cmm ip. 
  ex:
  case 1, 192.168.100.118 change to 192.168.100.9
    CMM>ch *.9
  case 2, 192.168.100,1 change to 192.168.1.10
    CMM>ch *.1.10 

-------------------------------------------------------------------------------
 Version 1.00.04 build 070908
-------------------------------------------------------------------------------
 1.Fixed a DC current negative bug.
 2.Updated Fan control command as 1,2,3,4 and auto. auto is automatic fan control.
 3.Added ch command in shell mode used for changing IP [username] [password].
 4.Changed prompt from "=>" to "CMM>"

-------------------------------------------------------------------------------
 Version 1.00.03 build 070831
-------------------------------------------------------------------------------
 1.Fixed a parsing bug in shell mode:
   when giving the "blade" then "ver" command, it still shows blade available command.
   It should execute "ver" command.

-------------------------------------------------------------------------------
 Version 1.00.02 build 070830
-------------------------------------------------------------------------------
1.Fixed a problem of taking a long time when running under Linux OS.
  The root cause was the secure random algorithm taking a long time.
  This issue doesn't happen in Windows OS.
  Verified in the following Java Linux versions:
  a.jre 1.5.0_11 (FC4)
  b.jre 1.6.0_02 (FC6)

jre1.*.* should match your jre version.

-------------------------------------------------------------------------------
 Version 1.00.01 build 070823
-------------------------------------------------------------------------------
1.Fixed a bug that created a parse command error in shell mode.
2.Fixed a bug that prevented cmm date/time being set in shell mode.
3.Added ver command.
4.Add runtime info for help command in shell mode.
5.Some minor updates.

-------------------------------------------------------------------------------
 Version 1.0 build 070822
-------------------------------------------------------------------------------
1.First Release	


==============
6.JLine
==============

SuperBladeTool use jline for command history and tab-completion.

JLine is a Java library for handling console input. It is similar in functionality
to BSD editline and GNU readline. People familiar with the readline/editline 
capabilities for modern shells (such as bash and tcsh) will find most of the command
editing features of JLine to be familiar.

For more information, please contact http://jline.sourceforge.net/index.html

===========================
7. Return code for CLI Mode
===========================

Following return code can be used in batch or script file.

STATUS_UNDEFINED                           =  144 
STATUS_DONE                                =    0 
STATUS_CONNECT_FAILED                      =  145 
STATUS_LOGIN_FAILED                        =  146 
STATUS_EXECUTE_PARAMETER_VALIDATE_FAILED   =  147 
STATUS_EXECUTE_EXCEPTION_OCCURRED          =  148
STATUS_EXECUTE_FAILED                      =  149
STATUS_EXECUTE_ON_SLAVE_CMM_OR_UNAVAILABLE =  150
STATUS_EXECUTE_MODULE_NOT_PRESENT          =  151
STATUS_EXECUTE_ONLY_FOR_CMM_CONNECTED      =  152
STATUS_EXECUTE_NOT_SUPPORTED_DEVICE        =  153
STATUS_COMMAND_NOT_FOUND                   =  180 
STATUS_COMMAND_IP_FORMAT_ERROR             =  181 
STATUS_COMMAND_PARAMETER_LENGTH_INVALID    =  182 
STATUS_RESULT_NOT_ENOUGH_POWER             =  215 


