def add_server(self, server, blocking=True, verbose=False):
        task, body = self._con.post(uri['servers'], server)
        if blocking is True:
            task = self._activity.wait4task(task, tout=600, verbose=verbose)
            if 'type' in task and task['type'].startswith('Task'):
                entity = self._activity.get_task_associated_resource(task)
                server = self._con.get(entity['resourceUri'])
                return server
        return task
dataset/ETHPy150Open HewlettPackard/python-hpOneView/hpOneView/servers.py/servers.add_server/original