Previous Topic: SOF API RulesNext Topic: OPSOF002 Event—Device Path Status Change


OPSOF001 Event—Device Status Change

The OPSOF001 event indicates that a switch operation has resulted in a status change for one or more devices. The API.TEXT environmental variable contains the details of the change.

This event has the following format:

OPSOF001  cmd  status  dev1  dev2
cmd

Identifies the name of the switch command that caused the status change.

Valid Values: BLOCK, UNBLOCK, CONNECT, DISCONNECT, ALLOW, PROHIBIT, SYNC, or ACTIVATE

status

Specifies the new status for the devices, which can be one of the following:

dev1

Specifies the device number for the first device to undergo a status change.

dev2

Specifies the device number for the last device to undergo a status change. When only a single device is affected, dev2 and dev1 will be the same.