GNUnet  0.11.x
Data Fields
GNUNET_TESTBED_Host Struct Reference

Opaque handle to a host running experiments managed by the testing framework. More...

Collaboration diagram for GNUNET_TESTBED_Host:
[legend]

Data Fields

const char * hostname
 The hostname of the host; NULL for localhost. More...
 
const char * username
 The username to be used for SSH login. More...
 
struct GNUNET_CONFIGURATION_Handlecfg
 the configuration to use as a template while starting a controller on this host. More...
 
struct RegisteredControllerrc_head
 The head for the list of controllers where this host is registered. More...
 
struct RegisteredControllerrc_tail
 The tail for the list of controllers where this host is registered. More...
 
struct OperationQueueopq_parallel_overlay_connect_operations
 Operation queue for simultaneous overlay connect operations target at this host. More...
 
int controller_started
 Is a controller started on this host? FIXME: Is this needed? More...
 
int locked
 Is this host locked by GNUNET_TESTBED_controller_start()? More...
 
uint32_t id
 Global ID we use to refer to a host on the network. More...
 
uint16_t port
 The port which is to be used for SSH. More...
 

Detailed Description

Opaque handle to a host running experiments managed by the testing framework.

The master process must be able to SSH to this host without password (via ssh-agent).

Definition at line 112 of file testbed_api_hosts.c.

Field Documentation

◆ hostname

const char* GNUNET_TESTBED_Host::hostname

◆ username

const char* GNUNET_TESTBED_Host::username

◆ cfg

struct GNUNET_CONFIGURATION_Handle* GNUNET_TESTBED_Host::cfg

the configuration to use as a template while starting a controller on this host.

Operation queue size specific to a host are also read from this configuration handle. After starting the controller, it points to the actual configuration with which the controller is running

Definition at line 130 of file testbed_api_hosts.c.

Referenced by GNUNET_TESTBED_host_create_with_id(), GNUNET_TESTBED_host_destroy(), GNUNET_TESTBED_host_get_cfg_(), GNUNET_TESTBED_host_replace_cfg_(), GNUNET_TESTBED_register_host(), and helper_mst().

◆ rc_head

struct RegisteredController* GNUNET_TESTBED_Host::rc_head

The head for the list of controllers where this host is registered.

Definition at line 135 of file testbed_api_hosts.c.

Referenced by GNUNET_TESTBED_deregister_host_at_(), GNUNET_TESTBED_host_destroy(), GNUNET_TESTBED_is_host_registered_(), and GNUNET_TESTBED_mark_host_registered_at_().

◆ rc_tail

struct RegisteredController* GNUNET_TESTBED_Host::rc_tail

The tail for the list of controllers where this host is registered.

Definition at line 140 of file testbed_api_hosts.c.

Referenced by GNUNET_TESTBED_deregister_host_at_(), GNUNET_TESTBED_host_destroy(), and GNUNET_TESTBED_mark_host_registered_at_().

◆ opq_parallel_overlay_connect_operations

struct OperationQueue* GNUNET_TESTBED_Host::opq_parallel_overlay_connect_operations

Operation queue for simultaneous overlay connect operations target at this host.

Definition at line 146 of file testbed_api_hosts.c.

Referenced by GNUNET_TESTBED_host_create_with_id(), GNUNET_TESTBED_host_destroy(), and GNUNET_TESTBED_host_queue_oc_().

◆ controller_started

int GNUNET_TESTBED_Host::controller_started

Is a controller started on this host? FIXME: Is this needed?

Definition at line 151 of file testbed_api_hosts.c.

Referenced by GNUNET_TESTBED_controller_destroy_(), GNUNET_TESTBED_controller_start(), GNUNET_TESTBED_host_controller_started(), and helper_mst().

◆ locked

int GNUNET_TESTBED_Host::locked

◆ id

uint32_t GNUNET_TESTBED_Host::id

Global ID we use to refer to a host on the network.

Definition at line 161 of file testbed_api_hosts.c.

Referenced by GNUNET_TESTBED_host_create_with_id(), GNUNET_TESTBED_host_destroy(), and GNUNET_TESTBED_host_get_id_().

◆ port

uint16_t GNUNET_TESTBED_Host::port

The documentation for this struct was generated from the following file: