cfme.intelligence.chargeback module

class cfme.intelligence.chargeback.Assign(assign_to=None, tag_category=None, selections=None)[source]

Bases: utils.update.Updateable, utils.pretty.Pretty

Model of Chargeback Assignment page in cfme.

Parameters:
  • assign_to – Assign the chargeback rate to entities such as VM,Provider,datastore or the Enterprise itself.
  • tag_category – Tag category of the entity
  • selections – Selection of a particular entity to which the rate is to be assigned. Eg:If the chargeback rate is to be assigned to providers,select which of the managed providers the rate is to be assigned.

Usage:

tagged_datastore = Assign(
    assign_to="Tagged Datastores",
    tag_category="Location",
    selections={
        "Chicago": "Default"
})

tagged_datastore.storageassign()

computeassign()[source]
storageassign()[source]
class cfme.intelligence.chargeback.AssignFormTable(entry_loc)[source]

Bases: utils.pretty.Pretty

locate()[source]
pretty_attrs = ['entry_loc']
row_by_name(name)[source]
rows[source]
select_by_name(name)[source]
select_from_row(row)[source]
class cfme.intelligence.chargeback.ComputeRate(description=None, cpu_alloc=None, cpu_used=None, disk_io=None, compute_fixed_1=None, compute_fixed_2=None, mem_alloc=None, mem_used=None, net_io=None)[source]

Bases: utils.update.Updateable, utils.pretty.Pretty

create()[source]
delete()[source]
pretty_attrs = ['description']
update(updates)[source]
class cfme.intelligence.chargeback.RateFormItem(rate_loc=None, unit_select_loc=None)[source]

Bases: utils.pretty.Pretty

pretty_attrs = ['rate_loc', 'unit_select_loc']
class cfme.intelligence.chargeback.StorageRate(description=None, storage_fixed_1=None, storage_fixed_2=None, storage_alloc=None, storage_used=None)[source]

Bases: utils.update.Updateable, utils.pretty.Pretty

create()[source]
delete()[source]
pretty_attrs = ['description']
update(updates)[source]