diff options
-rw-r--r-- | rumba/prototypes/rlite.py | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/rumba/prototypes/rlite.py b/rumba/prototypes/rlite.py index d8bfc1e..0ff680d 100644 --- a/rumba/prototypes/rlite.py +++ b/rumba/prototypes/rlite.py @@ -30,14 +30,20 @@ class Experiment(mod.Experiment): def setup(self): cmds = list() - cmds.append("sudo apt-get update") - cmds.append("sudo apt-get install g++ gcc cmake " - "linux-headers-$(uname -r) " - "protobuf-compiler libprotobuf-dev git --yes") - cmds.append("sudo rm -rf ~/rlite") - cmds.append("cd ~; git clone https://github.com/vmaffione/rlite") - cmds.append("cd ~/rlite && ./configure && make && sudo make install") - cmds.append("sudo nohup rlite-uipcps -v DBG -k 0 -U -A &> uipcp.log &") + if False: # ubuntu + cmds.append("apt-get update") + cmds.append("apt-get install g++ gcc cmake " + "linux-headers-$(uname -r) " + "protobuf-compiler libprotobuf-dev git --yes") + cmds.append("rm -rf ~/rlite") + cmds.append("cd ~; git clone https://github.com/vmaffione/rlite") + cmds.append("cd ~/rlite && ./configure && make && sudo make install") + cmds.append("modprobe rlite") + cmds.append("modprobe rlite-normal") + cmds.append("modprobe rlite-shim-eth") + cmds.append("modprobe rlite-shim-udp4") + cmds.append("modprobe rlite-shim-loopback") + cmds.append("nohup rlite-uipcps -v DBG -k 0 -U -A &> uipcp.log &") for node in self.nodes: ssh.execute_commands(self.testbed, node.ssh_config, |