'Discover resources to monitor.'

def discover(self, manager, param=None):

    if (self.method != 'libvirt_metadata'):
        return self.discover_nova_polling(manager, param=None)
    else:
        return self.discover_libvirt_polling(manager, param=None)
