Creating flow generator flows – Brocade Flow Vision Administrators Guide (Supporting Fabric OS v7.3.0) User Manual
Page 63

for information on how sys_gen_all_simports behaves with HA and
MAPS.
Determining how long one pass of sys_gen_all_simports should take
The following calculation can be used to estimate how long one full pass should take if all the possible
pairings of Source ID and Destination ID are tested.
• Flows per port = 4
• Time per iteration = 1 minute
• Number of iterations for full run = Integer of ((number of SIM ports -1 ) / flows per port). This value
should always be rounded up to the next integer.
• The number of iterations needed to complete one full pass = (number of iterations + 1)
• Time to run one full pass = (number of iterations for full run * time per iteration)
Based on the above formula, the time it takes to run a full pass of sys_gen_all_simports for 128 SIM
ports is 32 * 1 min = 32 minutes.
In those cases where the device ID (DID) is equal to the source (SID), that DID will be skipped and the
next DID (from the next iteration) will be selected to run. This way, every SID will send traffic to four
destinations at a time for every iteration.
Creating Flow Generator flows
To create a Flow Generator flow, enter the flow --create flow_name -feature generator parameters
command.
The following table lists the parameters available to Flow Generator.
Flow Generator supported flow parameter combinations
TABLE 10
Parameter
Field name
Description
Port
ingrport
egrport
• One field only must be specified.
• Values must be explicit.
• Must be a SIM port local to the switch for a flow to generate traffic.
Frame
srcdev
dstdev
• At least one field must be specified.
• Values for srcdev and dstdev can be explicit or "*" ("*" indicates learned flows).
• Must be a SIM port PID for a flow to generate traffic.
• The parameters lun and frametype are not supported.
Optional keyword parameters
-bidir
Not supported directly. To emulate this function you must create two flows (one in
each direction).
-noactivate
Adding this keyword creates the flow without activating it.
-noconfig
Adding this keyword creates the flow without saving the flow to the configuration.
Customizing Flow Generator flows
on page 67 for information on changing the flow frame
size and contents.
Creating Flow Generator flows
Flow Vision Administrators Guide
63
53-1003168-01