-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Hayley Howard edited this page Mar 15, 2018
·
23 revisions
P1: Overall purpose and functionality of the generator
The parameters for the generator are contained in the generator configuration class.
-
Business_Hours: The number of hours you want to designate as business hours, or high-traffic hours. This is represented as an integer value. For example, if business hours are from 8am-5pm, then the value for Business_Hours would be 9.
- Default value: 6
-
Work_Hour_Start: The time at which work hours begin. This is represented as an integer value. For example, if business hours start at 8am, then the value for Work_Hour_Start would be 8.
- Default value: 8
-
Days: The number of days for which to generate traffic byte counts. This is represented as an integer value. For example, if a user wants to generate traffic for 2 weeks, the value for Days would be 14.
- Default value: 7
-
Start_Date: The date to begin the traffic generation. This is represented as a Python datetime date object, with the format YYYY-MM-DD.
- Default value: datetime.date.today() - today's date
-
Low_Max: The maximum number of bytes generated during low-traffic periods. A given byte count generated during the low-traffic periods will never be larger than this value. This is represented as an integer value.
- Default value: 1.25x1500000
-
Low_Min: The minimum number of bytes generated during low-traffic periods. A given byte count generated during the low-traffic periods will never be smaller than this value. This is represented as an integer value.
- Default value: 0
-
High_Max: The maximum number of bytes generated during high-traffic periods. A given byte count generated during the high-traffic periods will never be larger than this value. This is represented as an integer value.
- Default value: 1.23x10000000
-
High_Min: The minimum number of bytes generated during high-traffic periods. A given byte count generated during the high-traffic periods will never be smaller than this value. This is represented as an integer value.
- Default value: 0
-
Shape: The shape parameter of the Weibull distribution function in particular. This is represented as a decimal or integer value.
- Default value: .5
-
Scale: The scale applied to the Weibull distribution. Each Weibull-generated value will be multiplied by the scale to produce a byte count value. This is represented as an integer value.
- Default value: 1000000
-
Func_Type: The distribution function used to generate the traffic byte counts. To specify this value, the user enters a string with the name of the function in lower-case letters (e.g. "weibull").
- Default value: "poisson"
-
Database: The name of the database the generator will feed its generated byte counts into. This is represented as a string value.
- Default value: "generated-data"
output details here
sample script here