Merge branch 'master' of ssh://git.onelab.eu/git/sliver-openvswitch
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 8 Oct 2012 07:08:07 +0000 (09:08 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 8 Oct 2012 07:08:07 +0000 (09:08 +0200)
planetlab/exp-tool/Makefile

index 2590fb6..b797f9f 100644 (file)
@@ -101,6 +101,8 @@ ovsversions: $(foreach id,$(ALL_NODE_IDS),ovsversion-$(id))
 # more general form; run with  make sshs SSH-COMMAND="bla bla bla"
 sshs: $(foreach id,$(ALL_NODE_IDS),ssh-$(id))
 .PHONY: sshs
+showdpids: $(foreach id,$(ALL_NODE_IDS),showdpid-$(id))
+.PHONY: showdpids
 
 DBS=$(foreach id,$(ALL_NODE_IDS),cache/db.$(id))
 dbs: $(DBS)
@@ -142,6 +144,9 @@ ovsversion-%: FORCE
 ssh-%: FORCE
        @$(SSH) $(HOST_$*) $(SUDO) $(SSH-COMMAND)
 
+showdpid-%: FORCE
+       @echo $(call display,$*) uses dpid=$$( $(SSH) $(HOST_$*) $(SUDO) ovs-vsctl get bridge $(BRIDGE) datapath_id)
+
 # should probably replace sshcheck
 cache/status.%: FORCE
        @echo "=== DB and SWITCH processes on $(call display,$*)"