Opaque handle to a host running experiments managed by the testing framework. More...
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_Handle * | cfg |
the configuration to use as a template while starting a controller on this host. More... | |
struct RegisteredController * | rc_head |
The head for the list of controllers where this host is registered. More... | |
struct RegisteredController * | rc_tail |
The tail for the list of controllers where this host is registered. More... | |
struct OperationQueue * | opq_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... | |
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.
const char* GNUNET_TESTBED_Host::hostname |
The hostname of the host; NULL for localhost.
Definition at line 117 of file testbed_api_hosts.c.
Referenced by GNUNET_TESTBED_controller_start(), GNUNET_TESTBED_host_create_with_id(), GNUNET_TESTBED_host_destroy(), GNUNET_TESTBED_host_get_hostname(), GNUNET_TESTBED_host_resolve_(), and GNUNET_TESTBED_is_host_habitable().
const char* GNUNET_TESTBED_Host::username |
The username to be used for SSH login.
Definition at line 122 of file testbed_api_hosts.c.
Referenced by GNUNET_TESTBED_controller_start(), GNUNET_TESTBED_host_create(), GNUNET_TESTBED_host_create_with_id(), GNUNET_TESTBED_host_destroy(), GNUNET_TESTBED_host_get_username_(), GNUNET_TESTBED_hosts_load_from_file(), and GNUNET_TESTBED_is_host_habitable().
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_testing.Peer::__del__(), gnunet_testing.Peer::get_statistics_value(), GNUNET_TESTBED_host_create_with_id(), GNUNET_TESTBED_host_destroy(), GNUNET_TESTBED_host_get_cfg_(), GNUNET_TESTBED_host_replace_cfg_(), GNUNET_TESTBED_register_host(), helper_mst(), gnunet_testing.Peer::start(), and gnunet_testing.Peer::stop().
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_().
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_().
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(), and GNUNET_TESTBED_host_destroy().
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().
int GNUNET_TESTBED_Host::locked |
Is this host locked by GNUNET_TESTBED_controller_start()?
Definition at line 156 of file testbed_api_hosts.c.
Referenced by GNUNET_TESTBED_controller_destroy_(), GNUNET_TESTBED_controller_start(), and helper_mst().
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(), GNUNET_TESTBED_host_get_id_(), and gnunet_testing.Peer::start().
uint16_t GNUNET_TESTBED_Host::port |
The port which is to be used for SSH.
Definition at line 166 of file testbed_api_hosts.c.
Referenced by GNUNET_TESTBED_controller_start(), GNUNET_TESTBED_host_create_with_id(), GNUNET_TESTBED_host_get_ssh_port_(), and GNUNET_TESTBED_is_host_habitable().