def node_done(self, ssid=None):
if self.api_key is None:<EOL><INDENT>raise exceptions.ApiKeyRequired<EOL><DEDENT>if ssid is None:<EOL><INDENT>raise exceptions.SsidRequired<EOL><DEDENT>requested_hosts = dict()<EOL>for host in self.self_inventory:<EOL><INDENT>if ssid == self.self_inventory[host]['<STR_LIT>']:<EOL><INDENT>requested_hosts[host] = self.full_inventory[host]<EOL><DEDENT><DEDENT>args = "<STR_LIT>".format(key=self.api_key, ssid=ssid)<EOL>resp, body = self.get('<STR_LIT>' % args)<EOL>return requested_hosts<EOL>
Release the servers for the specified ssid.
The API doesn't provide any kind of output, try to be helpful by
providing the list of servers to be released.

:param ssid: ssid of the server pool
:return: [ requested_hosts ]