__init__(self,
instances,
cluster,
disk_usage,
offline_node_uuids,
bad_node_uuids,
live_data,
wrongnode_inst,
console,
nodes,
groups,
networks)
(Constructor)
| source code
|
Initializes this class.
- Parameters:
instances - List of instance objects
cluster - Cluster object
disk_usage (dict; instance UUID as key) - Per-instance disk usage
offline_node_uuids (list of strings) - List of offline nodes
bad_node_uuids (list of strings) - List of faulty nodes
live_data (dict; instance UUID as key) - Per-instance live data
wrongnode_inst (set) - 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
networks (dict; net_uuid as key) - Network objects
|