simulaqron.general package

Submodules

simulaqron.general.hostConfig module

simulaqron.general.hostConfig.cqc_node_id(fam, ip)[source]
simulaqron.general.hostConfig.cqc_node_id_from_addrinfo(addr)[source]
simulaqron.general.hostConfig.load_node_names(config_file)[source]

Load list of nodes from Nodes.cfg file

Parameters

config_file – str pointing to Nodes.cfg file

class simulaqron.general.hostConfig.socketsConfig(filename, network_name='default', config_type='vnode')[source]

Bases: twisted.spread.flavors.Referenceable

print_details(name)[source]

Prints the details of the specified node with name.

read_config(filename, network_name='default', config_type='vnode')[source]

Reads the configuration file in which each line has the form: node name, hostname, port number. For example: Alice, localhost, 8888

Module contents