
238 Chapter 11
Utilities
get_node_info
get_node_info
The get_node_info utility provides as a mechanism for scripts or
programs to access the teststation configuration information generated
by the ts_config configuration tool. It has the following format:
get_node_info [node_info] [OPTIONS]
When a V2500 node is configured by ts_config, an entry is added to a
node configuration file. Each node entry contains the following
information:
• Complex Name—Complex name assigned in ts_config
• Node ID—V Class Node ID
• Diagnostic IP hostname—IP hostname of Diagnostic Utility
interface
• OBP IP hostname—IP hostname assigned to OBP LAN interface
• Teststation Diagnostic hostname—IP hostname assigned to
TS Diag interface
• Console name—Name assigned to V Class console
get_node_info obtains the teststation configuration information about
all nodes or a single node. If -A is used to request information on all
nodes, the node entries are returned in the order they appear in the
configuration file (they are not sorted).
By default, the information returned includes all of the configuration
fields. OPTIONS select a subset of the available fields. The output fields
are returned (to standard output) in the order shown above, regardless of
the ordering of OPTIONS.
[node_info] must uniquely identify a node on the teststation, a Node
ID (for example, 0) or the Diagnostic IP hostname (for example,
swtest-0000)
If a Node ID is specified, get_node_info determines the node
Complex Name from the COMPLEX_NAME environment variable. Use the
set_complex command to set the desired complex name.