Commit afee9a80 authored by David Johnson's avatar David Johnson

Add an xmlrpc interface to the flexlab data. For now it only exports a

goodnodes function (so that plabmetrics on boss can grab goodnodes), but
if we want to make anything other flexmon stats public, here's a place to
dump it.  The goodnodes algorithm included is essentially a straight port
from goodnodes.pl, which has problems, so I'll eventually replace it with
a better clique heuristic.

There's also a caching layer in this server which stores certain bits of
the past 24 hours worth of data so that goodnodes is faster.
parent f3b40075
......@@ -10,14 +10,16 @@ OBJDIR = ..
SUBDIR = pelab
BIN_STUFF = cloudinfo
SBIN_STUFF = flexdatasrv
include $(OBJDIR)/Makeconf
all: $(BIN_STUFF)
all: $(BIN_STUFF) $(SBIN_STUFF)
include $(TESTBED_SRCDIR)/GNUmakerules
install: subdir-install $(addprefix $(INSTALL_DIR)/opsdir/bin/, $(BIN_STUFF))
install: subdir-install $(addprefix $(INSTALL_DIR)/opsdir/bin/, $(BIN_STUFF)) \
$(addprefix $(INSTALL_DIR)/opsdir/sbin/, $(SBIN_STUFF))
boss-install: install
......@@ -31,3 +33,8 @@ $(INSTALL_DIR)/opsdir/bin/%: %
@echo "Installing $<"
-mkdir -p $(INSTALL_DIR)/opsdir/bin
$(INSTALL) $< $@
$(INSTALL_DIR)/opsdir/sbin/%: %
@echo "Installing $<"
-mkdir -p $(INSTALL_DIR)/opsdir/sbin
$(INSTALL) $< $@
This diff is collapsed.
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