def sdk_gen_pool_request(looper, sdk_wallet_new_steward, node_alias, node_did):
    (_, new_steward_did) = sdk_wallet_new_steward
    node_ip = '{}.{}.{}.{}'.format(random.randint(1, 240), random.randint(1, 240), random.randint(1, 240), random.randint(1, 240))
    data = {'alias': node_alias, 'client_port': 50001, 'node_port': 50002, 'node_ip': node_ip, 'client_ip': node_ip, 'services': []}
    req = looper.loop.run_until_complete(build_node_request(new_steward_did, node_did, json.dumps(data)))
    return Request(**json.loads(req))
def sdk_gen_pool_request(looper, sdk_wallet_new_steward, node_alias, node_did):
    (_, new_steward_did) = sdk_wallet_new_steward
    node_ip = '{}.{}.{}.{}'.format(random.randint(1, 240), random.randint(1, 240), random.randint(1, 240), random.randint(1, 240))
    data = {'alias': node_alias, 'client_port': 50001, 'node_port': 50002, 'node_ip': node_ip, 'client_ip': node_ip, 'services': []}
    req = looper.loop.run_until_complete(build_node_request(new_steward_did, node_did, json.dumps(data)))
    return Request(**json.loads(req))