- def search_for(self, term, list_method, key=attrgetter('id')):
+ def _init_ssh_key(self, filename):
+ with open(filename) as ssh_file:
+ key = cloud_base.NodeAuthSSHKey(ssh_file.read())
+ return 'auth', key
+
+ def search_for(self, term, list_method, key=attrgetter('id'), **kwargs):