Global rules, Sequences, Global rules sequences – Teledyne LeCroy SAS_SATA InFusion - Users Manual User Manual
Page 48: Table 7 key scenario terms

Version 2.0
SAS InFusion User Manual
34
LeCroy Corporation
Creating SAS InFusion scenarios is easy, but it requires an understanding of the following
terms: action, event, combined event, global rules, sequence, and state.
Table 7
Key Scenario Terms
You can think of the Global Rules and each sequence as 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, they allow you to operate up to three test states
simultaneously within SAS InFusion.
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 SAS 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
will 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 will take place simultaneously.
After defining the event and actions within the Global Rule area, you can save the
scenario and download it to a SAS InFusion box.
Sequences
The Global Rules are all you will need for simple test scenarios. However, a scenario also
can contain one or two sequences, more powerful programs that can define multiple
states and allow branching between states. You also can do looping with a sequence,
which allows you to repeat a test state or to execute a test for a specified period of time.
Term
Definition
Action
SASInFusion response to an event.
Event
Condition that is detectable by SASInFusion.
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 SASInFusion test state.
Sequence
Portion of a scenario that can define multiple SASInFusion test states. More flexible than
the Global Rules, a sequence allows more powerful scenarios that include branching
and looping between test states (the 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
SASInFusion testing, behavior is "waiting" for a certain set of events and responding with
a certain set of actions.