diff options
author | Vincenzo Maffione <v.maffione@gmail.com> | 2017-04-12 12:43:29 +0200 |
---|---|---|
committer | Vincenzo Maffione <v.maffione@gmail.com> | 2017-04-12 12:43:29 +0200 |
commit | 27515c90d65f608969dee8c4b32df6a44e45c41b (patch) | |
tree | 9c01136e1a7d68214a031440b2979198c8e2aa8a | |
parent | 0b0eca7d993ac2f6e3a676c5817e69df3014993e (diff) | |
download | rumba-27515c90d65f608969dee8c4b32df6a44e45c41b.tar.gz rumba-27515c90d65f608969dee8c4b32df6a44e45c41b.zip |
prototypes: rlite: only modprobe modules for the moment being
-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, |