Project

General

Profile

Revision 676

Fixed: Haizea would crash when fetching nodes for which OpenNebula had not yet collected monitoring information. This fix also has the pleasant side effect of allowing Haizea to detect new hosts added in OpenNebula without having to restart Haizea.

View differences:

simulated.py
53 53
        
54 54
    def get_nodes(self):
55 55
        return self.nodes
56

  
57
    def refresh(self): 
58
        return []  
56 59
    
57 60
    def get_resource_types(self):
58 61
        return self.resource_types

Also available in: Unified diff