Award Winning Solutions
Xena has won multiple global awards for price/performance and technical innovation. Learn more.
Technical Expertise
Copyright © 2009-2023 Teledyne LeCroy Xena ApS, Denmark
This page describes the Stream Scheduler panel which can be used to build a series of actions based on existing streams in the current testbed.
The Stream Scheduler function is available in ValkyrieManager version 1.33 and newer.
The Stream Scheduler works closely together with the currently selected testbed and works exclusively with the streams defined on the used ports.
Each testbed can contain several schedules. A schedule is simply a collection of operations that will be executed sequentially (although with some looping support as described below).
As stated above a schedule is basically a collection of operations that will affect the traffic generation. The following operations are supported:
Operation Name | Target Type | Explanation |
Set Parameter Value | Port or stream | Set the value of a supported stream or port parameter, such as a stream rate. |
Wait Period | None | Pause the scheduling for a specified number of seconds, typically to let the traffic run for a specified period of time. |
Start Traffic | Port | Start the traffic on selected port(s). |
Stop Traffic | Port | Stop the traffic on selected port(s). |
Clear Statistics | Port | Clear all statistics counters on all ports used in the current testbed. |
Loop Block | None | Enable specifying a block of operations that can be repeated for a specified number of times. |
Enable Stream | Stream | Enable selected stream(s). |
Disable Stream | Stream | Disable selected stream(s). |
Suspend Stream | Stream | Suspend the selected stream(s). |
Custom Port Command | Port | Send a custom command to the port(s) selected as targets for the command. This command can be any port-level script command. See this link for details. |
Custom Stream Command | Stream | Send a custom command to the stream(s) selected as targets for the command. This command can be any stream-level script command. See this link for details. |
Note on custom commands: The scheduler will perform a certain level of consistency checking on the normal commands but it will not be able to perform any consistency check on any custom commands.
Some operations can be performed on selected targets, which are either streams or ports. These operations can either apply to all valid targets or you can select exactly which targets you want the operation to operate on.
Valid targets are ports included in the current testbed or streams defined on those ports.
Certain operations, such as the Wait Period operation, are not associated with any specific targets as they apply to the schedule as a whole.
This section explains how to perform common schedule operations.
First you should setup a simple configuration consisting of two ports, each with a single stream paired to each other (you can use the Stream Wizard for this). Then you can perform the following actions in order to define a simple schedule for your streams:
This section explains how to change the packet rate of the streams after a while. Your streams will start with a 10% rate but after 10 seconds their rate will drop to 5%. The section will extend the schedule defined in the last section.
Perform the following actions:
This section explains how you can insert a new operation and move it to the desired location.
Perform the following actions:
It is possible to repeat a group of operations for a specified number of times by adding a Loop Block operation. This operation can contain a number of other operations which will be executed sequentially the specified number of times.
Perform the following actions to add a loop block with a repeat count of 2 and to move most of your existing operations into it:
Loop blocks can be nested so that one loop block can contain another loop block.