X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=planetlab%2Fexp-tool%2FMakefile;h=2997c4a87c2855fb4913cef4b6a22e1b4c0722ee;hb=73c049714c669aa0db58245483cc8a242fd4e7b5;hp=d151a66488eeb3eb4f0c4d93e7c305d8c4de813a;hpb=2425084b63eec2c4898e6e4eb3b6263a9b617c1f;p=sliver-openvswitch.git diff --git a/planetlab/exp-tool/Makefile b/planetlab/exp-tool/Makefile index d151a6648..2997c4a87 100644 --- a/planetlab/exp-tool/Makefile +++ b/planetlab/exp-tool/Makefile @@ -204,6 +204,17 @@ remote-snapshot-ips: $(addprefix cache/rsnap.ip.,$(CONF_NODE_IDS)) remote-snapshot-links: $(addprefix cache/rsnap.links.,$(CONF_NODE_IDS)) @sort -u /dev/null $^ +### update sliver-ovs +update: $(addprefix update-,$(CONF_NODE_IDS)) + @true + +update-%: FORCE + @[ -n "$(SLIVER_OVS)" ] || { echo "SLIVER_OVS not set" >&2; exit 1; } + @[ -f "$(SLIVER_OVS)" ] || { echo "$(SLIVER_OVS) not found" >&2; exit 1; } + @echo "Sending $(SLIVER_OVS) to $(call display,$*)" + @scp -q $(SLIVER_OVS) $(SLICE)@$(call solve,$*): + @$(SSH) $(call solve,$*) $(SUDO) mv $(notdir $(SLIVER_OVS)) /usr/sbin/sliver-ovs + .PHONY: remote-snapshot remote-snapshot-ips remote-snapshot-links cache/rsnap.ip.%: @@ -261,6 +272,7 @@ graph.dot: graph.ps: graph.dot dot -Tps < $^ > $@ + #################### # 'virtual' targets in that there's no real file attached define node_shortcuts