From: Filippos Giannakos Date: Thu, 30 May 2013 13:45:50 +0000 (+0300) Subject: Rename archipelago peers with archip- prefix X-Git-Tag: 0.3~7 X-Git-Url: https://code.grnet.gr/git/archipelago/commitdiff_plain/6b11e79a57426294ddc5d4fbdcf8395e35cef60e Rename archipelago peers with archip- prefix --- diff --git a/xseg/peers/user/Makefile b/xseg/peers/user/Makefile index 4a027ee..abb15b0 100644 --- a/xseg/peers/user/Makefile +++ b/xseg/peers/user/Makefile @@ -34,7 +34,7 @@ .PHONY: default all clean install install-src include $(XSEG_HOME)/base.mk -PEERS := xseg mt-sosd mt-mapperd st-vlmcd mt-pfiled bench +PEERS := xseg archip-sosd archip-mapperd archip-vlmcd archip-pfiled archip-bench FILES="Makefile" FILES+=$(shell ls *.h) @@ -50,7 +50,7 @@ default: $(PEERS) #all: filed xseg sosd vlmcd mapperd #all: filed xseg vlmcd mapperd -all: filed xseg mt-sosd dummy mt-vlmcd mapperd mt-mapperd pfiled monitor vlmc-xseg st-vlmcd mt-pfiled +all: filed xseg archip-sosd dummy archip-vlmcd mapperd archip-mapperd pfiled monitor vlmc-xseg archip-vlmcd archip-pfiled archip-bench filed: filed.c $(BASE)/xseg/xseg.h @@ -68,13 +68,13 @@ sosd: sosd.c $(BASE)/xseg/xseg.h $(BASE)/util_libs/user/sos/sos.h xseg: xseg-tool.c $(BASE)/xtypes/xheap.c $(BASE)/xseg/xseg.h $(CC) $(CFLAGS) -o $@ $< $(BASE)/xtypes/xheap.c $(INC) -L$(LIB) -lxseg -mt-sosd: mt-sosd.c peer.c peer.h +archip-sosd: mt-sosd.c peer.c peer.h $(CC) $(CFLAGS) -o $@ $< peer.c $(INC) -L$(LIB) -lxseg -lrados -lpthread \ -lcrypto -DMT dummy: dummy.c peer.c peer.h $(CC) $(CFLAGS) -o $@ $< peer.c $(INC) -L$(LIB) -lxseg -lpthread -DMT -bench: bench-xseg.c peer.c bench-timer.c bench-lfsr.c bench-utils.c bench-xseg.h peer.h bench-lfsr.h +archip-bench: bench-xseg.c peer.c bench-timer.c bench-lfsr.c bench-utils.c bench-xseg.h peer.h bench-lfsr.h $(CC) $(CFLAGS) -o $@ $(CPREQS) $(INC) -L$(LIB) -lxseg -lpthread -lm monitor: monitor.c peer.c peer.h @@ -83,13 +83,13 @@ monitor: monitor.c peer.c peer.h mt-vlmcd: mt-vlmcd.c peer.c peer.h $(BASE)/xseg/protocol.h $(CC) $(CFLAGS) -o $@ $< peer.c $(INC) -L$(LIB) -lxseg -lpthread -DMT -mt-pfiled: mt-pfiled.c peer.c peer.h $(BASE)/xseg/protocol.h +archip-pfiled: mt-pfiled.c peer.c peer.h $(BASE)/xseg/protocol.h $(CC) $(CFLAGS) -o $@ $< peer.c $(INC) -L$(LIB) -lxseg -lpthread -DMT -st-vlmcd: mt-vlmcd.c peer.c peer.h $(BASE)/xseg/protocol.h +archip-vlmcd: mt-vlmcd.c peer.c peer.h $(BASE)/xseg/protocol.h $(CC) $(CFLAGS) -o $@ $< peer.c $(INC) -L$(LIB) -lxseg -mt-mapperd: mt-mapperd.c peer.c peer.h $(BASE)/xseg/protocol.h +archip-mapperd: mt-mapperd.c peer.c peer.h $(BASE)/xseg/protocol.h $(CC) $(CFLAGS) -o $@ $< peer.c $(INC) -L$(LIB) -DST_THREADS -lxseg -lst -lcrypto pfiled: pfiled.c common.c $(BASE)/xseg/xseg.h $(BASE)/xseg/protocol.h common.h @@ -111,5 +111,5 @@ install-src: done clean: - rm -f filed xseg sosd vlmcd mapperd mt-sosd monitor mt-mapperd \ - pfiled vlmc-xseg st-vlmcd mt-vlmcd mt-pfiled bench + rm -f filed xseg sosd vlmcd mapperd archip-sosd monitor archip-mapperd \ + pfiled vlmc-xseg archip-vlmcd mt-vlmcd archip-pfiled archip-bench diff --git a/xseg/tools/archipelago/archipelago/common.py b/xseg/tools/archipelago/archipelago/common.py index b67c442..2942713 100755 --- a/xseg/tools/archipelago/archipelago/common.py +++ b/xseg/tools/archipelago/archipelago/common.py @@ -77,10 +77,10 @@ CHARDEV_MINOR = 0 REQS = 512 -FILE_BLOCKER = 'mt-pfiled' -RADOS_BLOCKER = 'mt-sosd' -MAPPER = 'mt-mapperd' -VLMC = 'st-vlmcd' +FILE_BLOCKER = 'archip-pfiled' +RADOS_BLOCKER = 'archip-sosd' +MAPPER = 'archip-mapperd' +VLMC = 'archip-vlmcd' BLOCKER = '' available_storage = {'files': FILE_BLOCKER, 'rados': RADOS_BLOCKER} @@ -337,7 +337,7 @@ def construct_peers(): str(config['PITHOSMAPS']), str(config['FILED_MAPS']), "-d", "-f", os.path.join(PIDFILE_PATH, "blockerm" + PID_SUFFIX) ] - elif BLOCKER == "mt-sosd": + elif BLOCKER == "archip-sosd": config_opts['blockerb'] = [ "-p", str(config['BPORT']), "-g", str(config['SPEC']).encode(), "-n", @@ -360,7 +360,7 @@ def construct_peers(): "-l", os.path.join(str(LOGS_PATH), "blockerm" + LOG_SUFFIX), "-t", "3" ] - elif BLOCKER == "mt-pfiled": + elif BLOCKER == "archip-pfiled": config_opts['blockerb'] = [ "-p", str(config['BPORT']), "-g", str(config['SPEC']).encode(), "-n",