1RUNSIMTEST(1) IB MANAGEMENT SIMULATOR RUNSIMTEST(1)
2
3
4
6 RunSimTest - Run a test over the IB management simulator
7
9 RunSimTest [-h] [-o osm-path][-f flow-file][-c checker-file]
10 -t topology [-n osm-node-name][-p osm-port-num][-s seed][-V ver‐
11 bosity-list]
12
13 This command starts the simulator and runs the the given test flow on
14 top of it. Then it runs the checker flow. The default test flow starts
15 OpenSM and wait for Subnet-Up event. User given flow can make use of
16 the provided facilities for starting OpenSM and tracking it events.
17
19 -t topology
20 A topology file describing the fabric (see ibdm-topo-file)
21
23 -f flow-file
24 A tcl file sourced by the sim after the fabric is setup. See fol‐
25 lowing discussion about the provided API and global variables that
26 are available for the flow.
27
28 -c checker-file
29 A tcl file defining when osm completed and what checks are requierd
30 to validate it's outputs. The procedure named 'checker' is invoked
31 by the test flow to start the checking flow. The default flow waits
32 for OpenSM to complete setup the fabric and run ibdmchk.
33
34 -o osm-path
35 Full path to OpenSM (/usr/local/ofed/osm-sim/bin/opensm). NOTE
36 OpenSM should be compiled with --with-osmv=sim to be able to con‐
37 nect to the simulator.
38
39 -n osm-node
40 Topology file node name the SM runs on (default H-1/U1)
41
42 -p port-num
43 Port number the SM attaches to (default 1).
44
45 -s seed
46 Random seed to be used.
47
48 -V verbosity-list
49 Module verbosity list. The first should be the global verbosity.
50 See IBMgtSim for full list of modules. Examples:
51
52 -V 0xffff = Full verbosity on all modules
53 -V '"0x3 server 0x6f2 sma 0xffff"' = Only fatal and error
54 for all modules full verbosity for the SMA module and default
55 verbosity for the Server module.
56
57 -h This help message
58
60 Eitan Zahavi, Mellanox Technologies LTD, eitan@mellanox.co.il
61
62
63
64IBMGTSIM 1.0 2008-06-16 RUNSIMTEST(1)