updated install script
authorpeusterm <manuel.peuster@uni-paderborn.de>
Thu, 14 Jan 2016 15:57:57 +0000 (16:57 +0100)
committerpeusterm <manuel.peuster@uni-paderborn.de>
Thu, 14 Jan 2016 15:57:57 +0000 (16:57 +0100)
README.md
ansible/install.yml

index 22a94b1..0dcf5a6 100644 (file)
--- a/README.md
+++ b/README.md
  * **test/** Unit tests
  * **example_topology.py** An example topology script to show how topologies can be specified
 
+### Installation
+Automatic installation is provide through an Ansible playbook.
+* Requires: Ubuntu 14.04 LTS
+* `sudo apt-get install ansible git`
+* `sudo vim /etc/ansible/hosts`
+* Add: `localhost ansible_connection=local`
+
+#### 1. Dockernet
+* `git clone https://github.com/mpeuster/dockernet.git`
+* `cd dockernet/ansible`
+* `sudo ansible-playbook install.yml`
+* Wait (and have a coffee) ...
+
+#### 2. Emulator
+* `cd`
+* `git clone https://github.com/mpeuster/emulator-strawman.git`
+* `cd emulator-strawman/ansible`
+* `sudo ansible-playbook install.yml`
+
+
 ### Run
 * First terminal:
  * `sudo python example_topology.py`
index c457343..e3e2f38 100644 (file)
@@ -2,6 +2,15 @@
   tasks:
    - name: updates apt
      apt: update_cache=yes
+     
+   - name: install python-dev
+     apt: pkg=python-dev state=installed
+
+   - name: install python-zmq
+     apt: pkg=python-zmq state=installed
+
+   - name: install libzmq-dev
+     apt: pkg=libzmq-dev state=installed
 
    - name: install pip
      apt: pkg=python-pip state=installed