X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=planetlab%2Fexp-tool%2FMakefile;h=0aebdaab57c3c338b08f8431a716fe719f1fd82f;hb=8d71683b7632b5b621dd21418bf33ff90865b4e0;hp=d0712c58cb17317f9d1641f186173b8ffc70352d;hpb=485e2766d816a18e1a51ddf5e12e55f38aeedf89;p=sliver-openvswitch.git diff --git a/planetlab/exp-tool/Makefile b/planetlab/exp-tool/Makefile index d0712c58c..0aebdaab5 100644 --- a/planetlab/exp-tool/Makefile +++ b/planetlab/exp-tool/Makefile @@ -388,7 +388,7 @@ cache/port.%: cache/iface.% cache/switch.$$(call get,%) # # We need the IP address and the UDP port of the other side and the interace of this side. # We need to set the info again if any of these change. -cache/endpoint.%: cache/host.$$(call rget,%) cache/port.$$(call opp,%) cache/iface.% +cache/endpoint.%: cache/host.$$(call rget,%) cache/port.$$(call opp,%) cache/iface.% | cache/db.$$(call get,%) @echo "Setting port number of link $(call linkpart,$(*F)) on $(call display,$(call get,$(*F))) - logs in $(call log,$@)" @$(SSH) $(call solve,$(call get,$(*F))) $(SUDO) sliver-ovs set-remote-endpoint L$(call linkpart,$(*F)) \ $$(cat cache/host.$(call rget,$(*F))) \ @@ -535,9 +535,18 @@ $(foreach host,$(EXTERNAL_HOSTS),cache/rsnap.links.$(host)): ; $(foreach host,$(EXTERNAL_HOSTS),cache/db.$(host)): @touch $@ +$(foreach host,$(EXTERNAL_HOSTS),del-db.$(host)): del-db.%: + @rm cache/db.$* + $(foreach host,$(EXTERNAL_HOSTS),cache/switch.$(host)): ; @touch $@ +$(foreach host,$(EXTERNAL_HOSTS),del-switch.$(host)): del-switch.%: + @rm -f cache/switch.$* \ + cache/port.$*$(SEP)*@1 cache/port.*$(SEP)$*@2 \ + cache/endpoint.$*$(SEP)*@2 cache/endpoint.*$(SEP)$*@1 \ + L/$*$(SEP)* L/*$(SEP)$* \ + cache/controller.$* .SECONDEXPANSION: