

def nodes_message(self, nodes, networks):
    nodes_message = []
    for n in nodes:
        nodes_message.append({
            'uid': n.id,
            'name': n.name,
            'status': n.status,
            'networks': networks,
        })
    return nodes_message

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/integration/test_rpc_consumer.py TestVerifyNetworks.nodes_message/original