summaryrefslogtreecommitdiff
path: root/src/testbed/testbed.h
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-02-20 15:15:35 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-02-20 15:15:35 +0000
commita807aa20caec761b314a5eddcffbdd36650bd7d9 (patch)
treee68bc0be91a5db17740d71fa74ea132c7f3d13bc /src/testbed/testbed.h
parentadf18305521dc87c4ca1aee82e910ff8e22199cc (diff)
downloadgnunet-a807aa20caec761b314a5eddcffbdd36650bd7d9.tar.gz
gnunet-a807aa20caec761b314a5eddcffbdd36650bd7d9.zip
Assosiate a configuration template while creating hosts. This paves a way to
manage the configurations of controllers running on a host automatically. modified ADD_HOST message structure to have host configuration. This feature is yet to be implemented. The idea is that GNUNET_TESTBED_link_controllers() should take no configuration when hosts automatically update configuration when a new configuration is generated from a template.
Diffstat (limited to 'src/testbed/testbed.h')
-rw-r--r--src/testbed/testbed.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/testbed/testbed.h b/src/testbed/testbed.h
index 180464bd7..880a44864 100644
--- a/src/testbed/testbed.h
+++ b/src/testbed/testbed.h
@@ -87,9 +87,19 @@ struct GNUNET_TESTBED_AddHostMessage
87 */ 87 */
88 uint16_t user_name_length GNUNET_PACKED; 88 uint16_t user_name_length GNUNET_PACKED;
89 89
90 /* followed by 0-terminated user name */ 90 /**
91 * Number of bytes in the host name (excluding 0-termination) that follows the
92 * user name; cannot be 0
93 */
94 uint16_t hostname_length GNUNET_PACKED;
95
96 /* followed by non 0-terminated user name */
97
98 /* followed by non 0-terminated host name */
91 99
92 /* followed by 0-terminated host name */ 100 /* followed by gzip compressed configuration to start or connect to a
101 controller on this host. While starting the controller this configration
102 is used as a template */
93 103
94}; 104};
95 105