From 71ae087e8c5d196e27a583ba73dae383c37d1795 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Mon, 8 Oct 2012 09:09:06 +0200 Subject: [PATCH] make showdpids printout can be pasted into a python program --- planetlab/exp-tool/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planetlab/exp-tool/Makefile b/planetlab/exp-tool/Makefile index b797f9fae..c2b0d7709 100644 --- a/planetlab/exp-tool/Makefile +++ b/planetlab/exp-tool/Makefile @@ -145,7 +145,7 @@ ssh-%: FORCE @$(SSH) $(HOST_$*) $(SUDO) $(SSH-COMMAND) showdpid-%: FORCE - @echo $(call display,$*) uses dpid=$$( $(SSH) $(HOST_$*) $(SUDO) ovs-vsctl get bridge $(BRIDGE) datapath_id) + @echo $*_DPID=0x$$( $(SSH) $(HOST_$*) $(SUDO) ovs-vsctl get bridge $(BRIDGE) datapath_id | sed -e 's,",,g') # should probably replace sshcheck cache/status.%: FORCE -- 2.43.0