aboutsummaryrefslogtreecommitdiff
path: root/rumba/prototypes/rlite.py
diff options
context:
space:
mode:
authorVincenzo Maffione <v.maffione@gmail.com>2017-04-12 12:43:29 +0200
committerVincenzo Maffione <v.maffione@gmail.com>2017-04-12 12:43:29 +0200
commit27515c90d65f608969dee8c4b32df6a44e45c41b (patch)
tree9c01136e1a7d68214a031440b2979198c8e2aa8a /rumba/prototypes/rlite.py
parent0b0eca7d993ac2f6e3a676c5817e69df3014993e (diff)
downloadrumba-27515c90d65f608969dee8c4b32df6a44e45c41b.tar.gz
rumba-27515c90d65f608969dee8c4b32df6a44e45c41b.zip
prototypes: rlite: only modprobe modules for the moment being
Diffstat (limited to 'rumba/prototypes/rlite.py')
-rw-r--r--rumba/prototypes/rlite.py22
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,