class documentation
class InstanceQueryData(object):
Data container for instance data queries.
Method | __init__ |
Initializes this class. |
Method | __iter__ |
Iterate over all instances. |
Instance Variable | bad |
Undocumented |
Instance Variable | cluster |
Undocumented |
Instance Variable | console |
Undocumented |
Instance Variable | disk |
Undocumented |
Instance Variable | groups |
Undocumented |
Instance Variable | inst |
Undocumented |
Instance Variable | inst |
Undocumented |
Instance Variable | inst |
Undocumented |
Instance Variable | inst |
Undocumented |
Instance Variable | instances |
Undocumented |
Instance Variable | live |
Undocumented |
Instance Variable | networks |
Undocumented |
Instance Variable | nodes |
Undocumented |
Instance Variable | offline |
Undocumented |
Instance Variable | wrongnode |
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 | |
instances | List of instance objects |
cluster | Cluster object |
disk | Per-instance disk usage |
offline | List of offline nodes |
bad | List of faulty nodes |
live | Per-instance live data |
wrongnode | Set of instances running on wrong node(s) |
console:dict; instance UUID as key | Per-instance console information |
nodes:dict; node UUID as key | Node objects |
groups | Undocumented |
networks:dict; net_uuid as key | Network objects |