diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-02-20 15:15:35 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-02-20 15:15:35 +0000 |
commit | a807aa20caec761b314a5eddcffbdd36650bd7d9 (patch) | |
tree | e68bc0be91a5db17740d71fa74ea132c7f3d13bc /src/testbed/testbed.h | |
parent | adf18305521dc87c4ca1aee82e910ff8e22199cc (diff) | |
download | gnunet-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.h | 14 |
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 | ||