ibmssh IB MANAGEMENT SIMULATOR - Extentended TCL shell ibmssh is a TCL shell extended with interface for the IB Management Simulator facilities. Normally you will not run this shell directly - but instead it will be invoked by the IBMgtSim utility. However, in order to write simulation flows that interacts closely with the simulated model, a simulation flow should be provided. This flow is loaded by IBMgtSim and excersize the API provided by this shell. The following sub sections provide detailed definition for those objects and API. These constants are provided by IBMgtSim

Massage Manager Log Verbosity Flags

class msgManager
This is the Message Manager class obtain a random number in the range 0.0 - 1.0 initialize the seed for the random manager

class ib_node_info_t

class ib_switch_info_t

class ib_port_info_t
LinkSpeedSupported and PortState PortPhysState and LinkDownDefaultState LinkSpeedEnabled and LinkSpeedActive VlCap and InitType

class ib_node_desc_t
Node String is an array of UTF-8 character that describes the node in text format Note that this string is NOT NULL TERMINATED!

class ib_lft_record_t

class ib_pm_counters_t

class IBMgtSim

class IBMSNode
get the IBNode of the IBMSNode get the link status of the given port set a particular port err profile get a particular port err profile set a specific port counter get a specific port info set the Link status including sending trap128 get the node info get the switch info get pkey table block set pkey table block set CR Space Value get CR Space Value get MFT block set MFT block

class madMcMemberRec

class madPathRec

class madServiceRec

class madNotice128
the sw lid of which link state changed - for 128 only

class madNotice129
lid and port number of the violation

class madNotice144
lid where capability mask changed new capability mask Eitan Zahavi, Mellanox Technologies LTD, eitan@mellanox.co.il