2 global rules, 3 sequences – Teledyne LeCroy Sierra M124 User Manual User Manual
Page 235

Sierra M124 SAS/SATA Protocol Analyzer User Manual
233
InFusion Scenarios
Teledyne LeCroy
TABLE 4.1: Key Scenario Terms
4.4.2
Global Rules
Global Rules are a portion of the scenario that can define only one test state. To create
the Global Rules, you use the menu‐driven interface to enter an event or combined event
and the corresponding action or set of actions (the response of InFusion hardware to the
event).
In the case of a combined event, the action is taken upon occurrence of any of the events
stated for the event combination. It is a logical OR association, meaning any of the events
can trigger the action.
After you enter the event or combined event, the interface prompts you for actions. An
action might be, for example, injecting a particular primitive or error into the traffic
stream. You can enter multiple actions, which take place simultaneously.
After defining the event and actions within the Global Rule area, you can save the
scenario and download it to a InFusion device.
4.4.3
Sequences
The Global Rules are all you need for simple test scenarios. However, a scenario also can
contain one or two sequences, which can define multiple states and allow branching
between states. With a sequence, you also can do looping, which allows you to repeat a
test state or to execute a test for a specified period of time.
Term
Definition
Action
InFusion response to an event.
Event
Condition that is detectable by InFusion.
Combined Event Logical OR association of events (for example, event A OR event B).
Global Rules
Portion of a scenario that can define a single InFusion test state.
You can think of the Global Rules and each sequence as a separate
test routine or program operating within the scenario. Each
operates independently and in parallel with the others. The
purpose of each is to detect events and then respond with the
appropriate action or set of actions. In essence, you can operate
up to three test states simultaneously within InFusion.
Sequence
Portion of a scenario that can define multiple InFusion test states.
More flexible than the Global Rules, a sequence allows more
powerful scenarios that include branching and looping between
test states (Global Rules can define only a single test state, so there
is no branching).
State
“Behavior” of the Global Rules or a sequence at any point in time.
In terms of InFusion testing, behavior is “waiting” for a set of
events and responding with a set of actions.