Merge branch 'master' of ssh://git.onelab.eu/git/sliver-openvswitch
[sliver-openvswitch.git] / planetlab / exp-tool / Makefile
index c89f197..ae27008 100644 (file)
@@ -206,9 +206,9 @@ cache/iface.%: cache/bridge.$$(call get,%)
 # iface2=cache/iface.$(call opp,%)
 cache/link.%: cache/host.$$(call get,%) cache/iface.% cache/iface.$$(call opp,%)
        @echo "Setting port number of link $(call linkpart,$(*F)) on $(call display,$(call get,$(*F))) - logs in $@.log"
-       @$(SSH) $(call solve,$(call get,$(*F))) $(SUDO) ovs-vsctl set interface L$(call linkpart,$(*F)) \
-                       options:remote_ip=$$(cat cache/host.$(call get,$(*F))) \
-                       options:remote_port=$$(cat cache/iface.$(call opp,$(*F))) 2> $@.log \
+       @$(SSH) $(call solve,$(call get,$(*F))) $(SUDO) sliver-ovs set-remote-endpoint L$(call linkpart,$(*F)) \
+                       $$(cat cache/host.$(call rget,$(*F))) \
+                       $$(cat cache/iface.$(call opp,$(*F))) 2> $@.log \
         && touch $@
 
 ####################