From 3935e1a6b510963c3aed962b937a142e78aba19e Mon Sep 17 00:00:00 2001 From: Quentin De Coninck Date: Tue, 21 Jun 2016 17:29:53 +0200 Subject: [PATCH] mpExperienceVLC: now it works (don't forget apache conf) --- src/mpExperienceVLC.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mpExperienceVLC.py b/src/mpExperienceVLC.py index 19a2292..b730126 100644 --- a/src/mpExperienceVLC.py +++ b/src/mpExperienceVLC.py @@ -4,7 +4,7 @@ from mpPvAt import MpPvAt import os class MpExperienceVLC(MpExperience): - SERVER_LOG = "/home/mininet/git/minitopo/src/vlc_server.log" + SERVER_LOG = "vlc_server.log" CLIENT_LOG = "vlc_client.log" VLC_BIN = "/home/mininet/vlc/vlc" PING_OUTPUT = "ping.log" @@ -52,7 +52,7 @@ class MpExperienceVLC(MpExperience): self.random_size) def getVLCServerCmd(self): - s = "cd /mnt/videos/DASHDataset2014/BigBuckBunny/2sec && /etc/init.d/apache2 restart &>" + MpExperienceVLC.SERVER_LOG + " " + s = "/etc/init.d/apache2 restart &>" + MpExperienceVLC.SERVER_LOG + " " print(s) return s