diff options
Diffstat (limited to 'src/testbed/testbed_api_hosts.c')
-rw-r--r-- | src/testbed/testbed_api_hosts.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/testbed/testbed_api_hosts.c b/src/testbed/testbed_api_hosts.c index 1a8d9976d..8dd0a4893 100644 --- a/src/testbed/testbed_api_hosts.c +++ b/src/testbed/testbed_api_hosts.c | |||
@@ -568,41 +568,6 @@ simple_resolve (const char *host) | |||
568 | 568 | ||
569 | 569 | ||
570 | /** | 570 | /** |
571 | * Loads the set of host allocated by the LoadLeveler Job Scheduler. This | ||
572 | * function is only available when compiled with support for LoadLeveler and is | ||
573 | * used for running on the SuperMUC | ||
574 | * | ||
575 | * @param cfg the configuration to use as a template while starting a controller | ||
576 | * on any of the loaded hosts. Operation queue sizes specific to a host | ||
577 | * are also read from this configuration handle | ||
578 | * @param hosts set to the hosts found in the file; caller must free this if | ||
579 | * number of hosts returned is greater than 0 | ||
580 | * @return number of hosts returned in 'hosts', 0 on error | ||
581 | */ | ||
582 | unsigned int | ||
583 | GNUNET_TESTBED_hosts_load_from_loadleveler ( | ||
584 | const struct GNUNET_CONFIGURATION_Handle *cfg, | ||
585 | struct GNUNET_TESTBED_Host ***hosts) | ||
586 | { | ||
587 | #if ! ENABLE_SUPERMUC | ||
588 | LOG (GNUNET_ERROR_TYPE_ERROR, | ||
589 | _ ("The function %s is only available when compiled with (--with-ll)\n"), | ||
590 | __func__); | ||
591 | GNUNET_assert (0); | ||
592 | #else | ||
593 | const char *hostfile; | ||
594 | |||
595 | if (NULL == (hostfile = getenv ("MP_SAVEHOSTFILE"))) | ||
596 | { | ||
597 | GNUNET_break (0); | ||
598 | return 0; | ||
599 | } | ||
600 | return GNUNET_TESTBED_hosts_load_from_file (hostfile, cfg, hosts); | ||
601 | #endif | ||
602 | } | ||
603 | |||
604 | |||
605 | /** | ||
606 | * Destroy a host handle. Must only be called once everything | 571 | * Destroy a host handle. Must only be called once everything |
607 | * running on that host has been stopped. | 572 | * running on that host has been stopped. |
608 | * | 573 | * |