Nabu-asr
|
contains functionality for creating a cluste More...
Functions | |
def | nabu.computing.cluster.get_machines (machine_dir) |
gets the machines that reported in the machine directory More... | |
def | nabu.computing.cluster.read_cluster (filename) |
read a cluster file More... | |
def | nabu.computing.cluster.port_available (port) |
check if port is available | |
contains functionality for creating a cluste
def nabu.computing.cluster.get_machines | ( | machine_dir | ) |
gets the machines that reported in the machine directory
machine_dir | the directory where the machines are reporting |
Returns | a dictionary with keys ps and worker and lists containing the machines as elements |
def nabu.computing.cluster.read_cluster | ( | filename | ) |
read a cluster file
filename | the cluster file |