Commit 38651763 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

move step 3:

rename parkinglot binary to b10-parkinglot


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@601 e5f2f494-b856-4b98-b285-d166d9295462
parent 20d52747
......@@ -177,16 +177,16 @@ class BoB:
# XXX: this must be read from the configuration manager in the future
# XXX: we hardcode port 5300
if self.verbose:
sys.stdout.write("Starting parkinglot on port 5300\n")
sys.stdout.write("Starting b10-parkinglot on port 5300\n")
try:
parkinglot = ProcessInfo("parkinglot", ["parkinglot", "-p", "5300"])
parkinglot = ProcessInfo("b10-parkinglot", ["b10-parkinglot", "-p", "5300"])
except Exception as e:
c_channel.process.kill()
bind_cfgd.process.kill()
return "Unable to start parkinglot; " + str(e)
return "Unable to start b10-parkinglot; " + str(e)
self.processes[parkinglot.pid] = parkinglot
if self.verbose:
sys.stdout.write("Started parkinglot (PID %d)\n" % parkinglot.pid)
sys.stdout.write("Started b10-parkinglot (PID %d)\n" % parkinglot.pid)
# start the b10-cmdctl
# XXX: we hardcode port 8080
......
......@@ -2,16 +2,16 @@ AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_srcdir)/ext
pkglibexecdir = $(libexecdir)/@PACKAGE@
pkglibexec_PROGRAMS = parkinglot
pkglibexec_PROGRAMS = b10-parkinglot
parkinglot_SOURCES = common.cc common.h zoneset.h zoneset.cc parkinglot.cc
parkinglot_SOURCES += parkinglot.h main.cc
parkinglot_SOURCES += data_source_plot.h data_source_plot.cc
parkinglot_SOURCES += data_source.h data_source.cc
parkinglot_SOURCES += builtin.h builtin.cc
parkinglot_LDADD = $(top_builddir)/src/lib/dns/cpp/.libs/libdns.a
parkinglot_LDADD += $(top_builddir)/src/lib/config/cpp/libclient.a
parkinglot_LDADD += $(top_builddir)/src/lib/cc/cpp/libcc.a
b10_parkinglot_SOURCES = b10-parkinglot.cc b10-parkinglot.h
b10_parkinglot_SOURCES += common.cc common.h zoneset.h zoneset.cc main.cc
b10_parkinglot_SOURCES += data_source_plot.h data_source_plot.cc
b10_parkinglot_SOURCES += data_source.h data_source.cc
b10_parkinglot_SOURCES += builtin.h builtin.cc
b10_parkinglot_LDADD = $(top_builddir)/src/lib/dns/cpp/.libs/libdns.a
b10_parkinglot_LDADD += $(top_builddir)/src/lib/config/cpp/libclient.a
b10_parkinglot_LDADD += $(top_builddir)/src/lib/cc/cpp/libcc.a
# TODO: don't install this here
bin_PROGRAMS = builtin_bench
......
......@@ -37,7 +37,7 @@
#include "common.h"
#include "builtin.h"
#include "parkinglot.h"
#include "b10-parkinglot.h"
#include <boost/lexical_cast.hpp>
#include <boost/foreach.hpp>
......
......@@ -35,7 +35,7 @@
#include <config/cpp/ccsession.h>
#include "zoneset.h"
#include "parkinglot.h"
#include "b10-parkinglot.h"
#include "common.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment