GNUnet 0.22.2
GNUNET_TESTING_NetjailTopology Struct Reference

Toplogy of our netjail setup. More...

#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/lib/testing/testing_api_topology.h>

Collaboration diagram for GNUNET_TESTING_NetjailTopology:
[legend]

Data Fields

unsigned long long default_subnets
 Default number of subnets per carrier. More...
 
unsigned long long default_carrier_peers
 Default number of peers per carrier. More...
 
unsigned long long default_subnet_peers
 Default number of peers per subnet. More...
 
char * plugin
 Default plugin for the test case to be run on nodes. More...
 
unsigned long long num_backbone_peers
 Default number of backbone peers. More...
 
unsigned long long num_carriers
 Number of carriers. More...
 
struct GNUNET_CONTAINER_MultiShortmapcarriers
 Hash map containing the carriers. More...
 
struct GNUNET_CONTAINER_MultiShortmapbackbone_peers
 Hash map containing the carriers. More...
 
unsigned int total
 Total number of namespaces in the topology. More...
 
unsigned int namespaces_n
 Number of subnets. More...
 
unsigned int nodes_m
 Number of nodes per subnet. More...
 
unsigned int nodes_x
 Number of global known nodes. More...
 
struct GNUNET_CONTAINER_MultiShortmapmap_namespaces
 Hash map containing the subnets (for natted nodes) of the topology. More...
 
struct GNUNET_CONTAINER_MultiShortmapmap_globals
 Hash map containing the global known nodes which are not natted. More...
 
unsigned int additional_connects
 Additional connects we do expect, beside the connects which are configured in the topology. More...
 

Detailed Description

Toplogy of our netjail setup.

Definition at line 311 of file testing_api_topology.h.

Field Documentation

◆ default_subnets

unsigned long long GNUNET_TESTING_NetjailTopology::default_subnets

Default number of subnets per carrier.

Definition at line 317 of file testing_api_topology.h.

Referenced by GNUNET_TESTING_get_topo_from_string_().

◆ default_carrier_peers

unsigned long long GNUNET_TESTING_NetjailTopology::default_carrier_peers

Default number of peers per carrier.

Definition at line 322 of file testing_api_topology.h.

Referenced by GNUNET_TESTING_get_topo_from_string_().

◆ default_subnet_peers

unsigned long long GNUNET_TESTING_NetjailTopology::default_subnet_peers

Default number of peers per subnet.

Definition at line 327 of file testing_api_topology.h.

Referenced by create_subnets().

◆ plugin

char* GNUNET_TESTING_NetjailTopology::plugin

Default plugin for the test case to be run on nodes.

Definition at line 331 of file testing_api_topology.h.

Referenced by GNUNET_TESTING_free_topology(), GNUNET_TESTING_get_plugin_from_topo(), GNUNET_TESTING_get_topo_from_string_(), and log_topo().

◆ num_backbone_peers

unsigned long long GNUNET_TESTING_NetjailTopology::num_backbone_peers

Default number of backbone peers.

Definition at line 336 of file testing_api_topology.h.

Referenced by GNUNET_TESTING_get_topo_from_string_().

◆ num_carriers

unsigned long long GNUNET_TESTING_NetjailTopology::num_carriers

Number of carriers.

Definition at line 341 of file testing_api_topology.h.

Referenced by GNUNET_TESTING_get_topo_from_string_().

◆ carriers

struct GNUNET_CONTAINER_MultiShortmap* GNUNET_TESTING_NetjailTopology::carriers

Hash map containing the carriers.

Definition at line 346 of file testing_api_topology.h.

Referenced by GNUNET_TESTING_free_topology(), GNUNET_TESTING_get_topo_from_string_(), and netjail_exec_run().

◆ backbone_peers

struct GNUNET_CONTAINER_MultiShortmap* GNUNET_TESTING_NetjailTopology::backbone_peers

Hash map containing the carriers.

Definition at line 351 of file testing_api_topology.h.

Referenced by GNUNET_TESTING_free_topology(), and GNUNET_TESTING_get_topo_from_string_().

◆ total

unsigned int GNUNET_TESTING_NetjailTopology::total

Total number of namespaces in the topology.

Definition at line 356 of file testing_api_topology.h.

Referenced by create_peers(), create_subnet_peers(), create_subnets(), GNUNET_TESTING_get_topo_from_string_(), and netjail_exec_run().

◆ namespaces_n

unsigned int GNUNET_TESTING_NetjailTopology::namespaces_n

Number of subnets.

Definition at line 361 of file testing_api_topology.h.

Referenced by log_topo().

◆ nodes_m

unsigned int GNUNET_TESTING_NetjailTopology::nodes_m

Number of nodes per subnet.

Definition at line 366 of file testing_api_topology.h.

Referenced by add_search_string(), get_node_info(), GNUNET_TESTING_calculate_num(), and log_topo().

◆ nodes_x

unsigned int GNUNET_TESTING_NetjailTopology::nodes_x

Number of global known nodes.

Definition at line 371 of file testing_api_topology.h.

Referenced by add_search_string(), get_node_info(), GNUNET_TESTING_calculate_num(), and log_topo().

◆ map_namespaces

struct GNUNET_CONTAINER_MultiShortmap* GNUNET_TESTING_NetjailTopology::map_namespaces

Hash map containing the subnets (for natted nodes) of the topology.

Definition at line 376 of file testing_api_topology.h.

Referenced by backchannel_check_run(), and log_topo().

◆ map_globals

struct GNUNET_CONTAINER_MultiShortmap* GNUNET_TESTING_NetjailTopology::map_globals

Hash map containing the global known nodes which are not natted.

Definition at line 381 of file testing_api_topology.h.

Referenced by backchannel_check_run(), get_node_info(), and log_topo().

◆ additional_connects

unsigned int GNUNET_TESTING_NetjailTopology::additional_connects

Additional connects we do expect, beside the connects which are configured in the topology.

Definition at line 386 of file testing_api_topology.h.


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