From: Thierry Parmentelat Date: Sun, 7 Oct 2012 15:48:00 +0000 (+0200) Subject: make showdpids can display the datapath_ids in use X-Git-Tag: sliver-openvswitch-1.8.90-5~11 X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=9339f53ac84c4e8734e878e522e4cd174aca3453 make showdpids can display the datapath_ids in use so at least we can get the dpids in use as of now we can't seem to set that at bridge creation time BROPTIONS_SENDER=set bridge $(BRIDGE) datapath_id=00000000C0A81001 does not seem to work for now... --- diff --git a/planetlab/exp-tool/Makefile b/planetlab/exp-tool/Makefile index 0d555a4dd..4eaf8387d 100644 --- a/planetlab/exp-tool/Makefile +++ b/planetlab/exp-tool/Makefile @@ -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,$*)"