Distributed Systems Network Management (DSNM) Subsystem Interface Development Guide
Managing SPIFFY Through DSNM: Sample
Command Output
D-8
109759—Distributed Systems Network Management (DSNM) Subsystem Interface
Development Guide
Sample I Process Program Code
Implementing an Informational Command on a “*” Operand
You can implement an informational command on a “*” operand by first issuing a
TELLABOUT command:
TELLABOUT NAME * POP * TYPE typecode
This ignores HMOD and SMOD. Perform the informational operation on each resulting
object, as described in the hierarchy modifier table above.
Implementing State-Change Commands
Since the SPIFFY subsystem state-change commands do not support a “*” objname for
NAME, such commands usually require that a TELLABOUT command be issued first
to determine the list of objects on which to carry out the state-change operation.
Essentially, this is an internal DSNM STATUS command (applying modifiers), followed
by a state-change command for each resulting object.
Managing SPIFFY Through DSNM: Sample Command
Output
The following examples illustrate how to test the DSNM STATUS command on various
SPIFFY subsystem objects, using DSNMCom to send commands to the SPIFFY
I process.
Using DSNMCom to Test the SPIFFY I Process
If they are not already running, start the SPIFFY I process and the SPIFFY manager
process(es). For example:
> RUN $DSNM.IDEV.SPIFI/NAME $SPFI,NOWAIT/TESTMODE 1 &
CONFIG $DSNM.IDEV.DSNMCONF
> RUN $DSNM.IDEV.SPIFMGR/NAME $SMGR,NOWAIT/
See “Configuring SPIFFY Into DSNM” on page D-28 for a description of the
DSNMCONF file referred to in this example. See also Section 5, “DSNM Process
Startup Functions,” for information about DSNM process startup parameters.
Next start DSNMCom, opening the SPIFFY I process and specifying the configuration
file into which the SPIFFY subsystem records have been added. For example:
> DSNMCOM CONFIG $DSNM.IDEV.DSNMCONF
DSNMCom - T9216D30 12FEB95
Copyright Tandem Computers Incorporated 1995
DSNMCom> open $spfi
DSNM $spfi >
See Section 7, “DSNMCom: The I Process Test Utility,” for a description of
DSNMCom.