aboutsummaryrefslogtreecommitdiffstats
path: root/slobrok/src/tests/configure/gencfg.cpp
blob: b3f7f75d37ed9b61f48d5f402d416d750a756487 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/vespalib/util/host_name.h>
#include <cstdio>

int
main(int, char **)
{
  printf("slobrok[2]\n");
  printf("slobrok[0].connectionspec tcp/%s:18524\n", vespalib::HostName::get().c_str());
  printf("slobrok[1].connectionspec tcp/%s:18525\n", vespalib::HostName::get().c_str());

  return 0;
}