Package haizea :: Package core :: Module configfile :: Class HaizeaConfig
[hide private]
[frames] | no frames]

Class HaizeaConfig

source code


Instance Methods [hide private]
 
__init__(self, config)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
get_attr(self, attr) source code
 
get_attrs(self) source code

Inherited from common.config.Config: get

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]

Inherited from common.config.Config: from_file

Class Variables [hide private]
  sections = []
  general = Section("general", required= True, doc= "This sectio...
  scheduling = Section("scheduling", required= True, doc= "The o...
  simulation = Section("simulation", required= False, required_i...
  accounting = Section("accounting", required= True, doc= "Haize...
  imgtransfer = Section("deploy-imagetransfer", required= False,...
  tracefile = Section("tracefile", required= False, doc= ...
  opennebula = Section("opennebula", required= False, required_i...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, config)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

Class Variable Details [hide private]

general

Value:
Section("general", required= True, doc= "This section is used for gene\
ral options affecting Haizea as a whole.")

scheduling

Value:
Section("scheduling", required= True, doc= "The options in this sectio\
n control how Haizea schedules leases.")

simulation

Value:
Section("simulation", required= False, required_if= [(("general", "mod\
e"), "simulated")], doc= "This section is used to specify options when\
 Haizea runs in simulation")

accounting

Value:
Section("accounting", required= True, doc= "Haizea can collect informa\
tion while running, and save that information to a file for off-line p\
rocessing. This section includes options controlling this feature.")

imgtransfer

Value:
Section("deploy-imagetransfer", required= False, required_if= [(("gene\
ral", "lease-deployment"), "imagetransfer")], doc= """
                         When lease deployment with disk image transfe\
rs is selected,
                         this section is used to control image deploym\
ent parameters.""")

tracefile

Value:
Section("tracefile", required= False, doc= """
                        When reading in requests from a tracefile, thi\
s section is used
                        to specify the tracefile and other parameters.\
""")

opennebula

Value:
Section("opennebula", required= False, required_if= [(("general", "mod\
e"), "opennebula")], doc= """
                         This section is used to specify OpenNebula pa\
rameters,
                         necessary when using Haizea as an OpenNebula \
scheduling backend.""")