git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fc58283
)
link goes down if an iface is deleted
author
Giuseppe Lettieri
<g.lettieri@iet.unipi.it>
Sat, 6 Oct 2012 11:39:42 +0000
(13:39 +0200)
committer
Giuseppe Lettieri
<g.lettieri@iet.unipi.it>
Sat, 6 Oct 2012 11:39:42 +0000
(13:39 +0200)
planetlab/exp-tool/Makefile
patch
|
blob
|
history
diff --git
a/planetlab/exp-tool/Makefile
b/planetlab/exp-tool/Makefile
index
fdfff16
..
0d555a4
100644
(file)
--- a/
planetlab/exp-tool/Makefile
+++ b/
planetlab/exp-tool/Makefile
@@
-299,12
+299,14
@@
cache/rsnap.links.%:
# redo the delete if the db daemon is restarted.
#
# This also invalidates the local port of the tunnel and the endpoint
# redo the delete if the db daemon is restarted.
#
# This also invalidates the local port of the tunnel and the endpoint
-# info on both sides of the tunnel.
+# info on both sides of the tunnel.
The link goes down.
del-iface.%: | cache/db.$$(call get,%)
@echo "Removing interface for link $(call linkpart,$*) from $(call get,$*)"
@$(SSH) $(HOST_$(call get,$*)) \
$(SUDO) sliver-ovs del-port L$(call linkpart,$*)
del-iface.%: | cache/db.$$(call get,%)
@echo "Removing interface for link $(call linkpart,$*) from $(call get,$*)"
@$(SSH) $(HOST_$(call get,$*)) \
$(SUDO) sliver-ovs del-port L$(call linkpart,$*)
- @rm -f cache/iface.$* cache/port.$* cache/endpoint.$* cache/endpoint.$(call opp,$*)
+ @rm -f cache/iface.$* \
+ cache/port.$* cache/endpoint.$* cache/endpoint.$(call opp,$*) \
+ L/$(call linkpart,$*)
### '%' here is leftid-rightid@{1,2}
### '%' here is leftid-rightid@{1,2}