I forgot to add.

To run: `rake db:demo_data`

Cheers
----- Original Message -----
From: [email protected]
To: [email protected]
Sent: Wednesday, May 26, 2010 5:31:49 PM GMT +00:00 GMT Britain, Ireland, 
Portugal
Subject: [deltacloud-devel] Rake Task to Populate Database with QoS Demo Data


NB: Be Careful:  Running this task will remove the majority of the data from you
r current database

This patch populates the database with Demo Data for QoS stats.  It only 
creates random times for the "Submission Time" statistic.  The time it takes 
the provider to response to a request.

The statistics are based on the static fields declared at the top of the task. 
These are probabilities and submission time ranges.  It may be neccessary to 
tweak these in order to get some realisitic looking graphs.

The current setting, is an average of one task per minute over 24  hours.  This 
generates approx 1440 tasks, and takes about 2mins to run.

It sets up a user, pool and account, create tasks based on the users default 
pool.  The user details are shown at the top of the task.

login: admin
password: redhat

Thanks

Martyn
_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel
_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Reply via email to