__init__(self,
instances,
cluster,
disk_usage,
offline_nodes,
bad_nodes,
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 name as key) - Per-instance disk usage
offline_nodes (list of strings) - List of offline nodes
bad_nodes (list of strings) - List of faulty nodes
live_data (dict; instance name as key) - Per-instance live data
wrongnode_inst (set) - Set of instances running on wrong node(s)
console (dict; instance name as key) - Per-instance console information
nodes (dict; node name as key) - Node objects
networks (dict; net_uuid as key) - Network objects
|