def list_of_fingerprints(): res = [] nova = nclient.auth() klist = nova.keypairs.list() for key in klist: res.append(key.fingerprint) return res
def list_of_servers(): nova = nclient.auth() return nova.servers.list()