class documentation

class InstanceQueryData(object):

View In Hierarchy

Data container for instance data queries.

Method __init__ Initializes this class.
Method __iter__ Iterate over all instances.
Instance Variable bad_nodes Undocumented
Instance Variable cluster Undocumented
Instance Variable console Undocumented
Instance Variable disk_usage Undocumented
Instance Variable groups Undocumented
Instance Variable inst_beparams Undocumented
Instance Variable inst_hvparams Undocumented
Instance Variable inst_nicparams Undocumented
Instance Variable inst_osparams Undocumented
Instance Variable instances Undocumented
Instance Variable live_data Undocumented
Instance Variable networks Undocumented
Instance Variable nodes Undocumented
Instance Variable offline_nodes Undocumented
Instance Variable wrongnode_inst Undocumented
def __init__(self, instances, cluster, disk_usage, offline_node_uuids, bad_node_uuids, live_data, wrongnode_inst, console, nodes, groups, networks):

Initializes this class.

Parameters
instancesList of instance objects
clusterCluster object
disk_usage:dict; instance UUID as keyPer-instance disk usage
offline_node_uuids:list of stringsList of offline nodes
bad_node_uuids:list of stringsList of faulty nodes
live_data:dict; instance UUID as keyPer-instance live data
wrongnode_inst:setSet of instances running on wrong node(s)
console:dict; instance UUID as keyPer-instance console information
nodes:dict; node UUID as keyNode objects
groupsUndocumented
networks:dict; net_uuid as keyNetwork objects
def __iter__(self):

Iterate over all instances.

This function has side-effects and only one instance of the resulting generator should be used at a time.

bad_nodes =

Undocumented

cluster =

Undocumented

console =

Undocumented

disk_usage =

Undocumented

groups =

Undocumented

inst_beparams =

Undocumented

inst_hvparams =

Undocumented

inst_nicparams =

Undocumented

inst_osparams =

Undocumented

instances =

Undocumented

live_data =

Undocumented

networks =

Undocumented

nodes =

Undocumented

offline_nodes =

Undocumented

wrongnode_inst =

Undocumented