mpExperienceVLC: now it works (don't forget apache conf)
This commit is contained in:
parent
d51e16fee8
commit
3935e1a6b5
@ -4,7 +4,7 @@ from mpPvAt import MpPvAt
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
class MpExperienceVLC(MpExperience):
|
class MpExperienceVLC(MpExperience):
|
||||||
SERVER_LOG = "/home/mininet/git/minitopo/src/vlc_server.log"
|
SERVER_LOG = "vlc_server.log"
|
||||||
CLIENT_LOG = "vlc_client.log"
|
CLIENT_LOG = "vlc_client.log"
|
||||||
VLC_BIN = "/home/mininet/vlc/vlc"
|
VLC_BIN = "/home/mininet/vlc/vlc"
|
||||||
PING_OUTPUT = "ping.log"
|
PING_OUTPUT = "ping.log"
|
||||||
@ -52,7 +52,7 @@ class MpExperienceVLC(MpExperience):
|
|||||||
self.random_size)
|
self.random_size)
|
||||||
|
|
||||||
def getVLCServerCmd(self):
|
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)
|
print(s)
|
||||||
return s
|
return s
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user