Home | Trees | Indices | Help |
---|
|
Reprents a sequence of lease requests.
A lease workload is a sequence of lease requests with a specific arrival time for each lease. This class is currently only used to load LWF (Lease Workload File) files. See the Haizea documentation for details on the LWF format.
|
|||
|
|||
|
|||
Inherited from |
|
|||
|
|||
|
|
|||
Inherited from |
|
Constructor. Arguments: leases -- An ordered list (by arrival time) of leases in the workload
|
Constructs a lease workload from an XML file. See the Haizea documentation for details on the lease workload XML format. Argument: xml_file -- XML file containing the lease in XML format. inittime -- The starting time of the lease workload. All relative times in the XML file will be converted to absolute times by adding them to inittime. If inittime is not specified, it will arbitrarily be 0000/01/01 00:00:00. |
Constructs a lease from an ElementTree element. See the Haizea documentation for details on the lease XML format. Argument: element -- Element object containing a "<lease-workload>" element. inittime -- The starting time of the lease workload. All relative times in the XML file will be converted to absolute times by adding them to inittime. |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Dec 17 10:59:20 2009 | http://epydoc.sourceforge.net |