2 - import_playbook: ../common-packer/provision/baseline.yaml
8 ovs_checksum: sha256:8d1c439e26d7044f0ec823c7fef1b00b7c6465da0b83a7d0cf3191ed1dc43893
12 - include_role: name=lfit.system-update
15 - name: "Install OpenVSwitch {{ovs_version}}"
17 - name: Install OpenVSwitch dependencies
31 - python-twisted-conch
32 - python-zopeinterface
35 - name: "Fetch OpenVSwitch {{ovs_version}}"
37 url: "http://openvswitch.org/releases/openvswitch-{{ovs_version}}.tar.gz"
38 dest: "/tmp/openvswitch-{{ovs_version}}.tar.gz"
39 checksum: "{{ovs_checksum}}"
40 - name: Create /tmp/ovs directory
45 - name: "Unarchive OpenVSwitch {{ovs_version}}"
47 src: "/tmp/openvswitch-{{ovs_version}}.tar.gz"
50 - name: "Build OpenVSwitch {{ovs_version}}"
51 shell: DEB_BUILD_OPTIONS='parallel=8 nocheck' fakeroot debian/rules binary
53 chdir: "/tmp/ovs/openvswitch-{{ovs_version}}"
54 - name: "Install OpenVSwitch {{ovs_version}}"
57 - /tmp/ovs/libopenvswitch_2.8.1-1_amd64.deb
58 - /tmp/ovs/openvswitch-common_2.8.1-1_amd64.deb
59 - /tmp/ovs/openvswitch-switch_2.8.1-1_amd64.deb
60 - /tmp/ovs/python-openvswitch_2.8.1-1_all.deb
61 - /tmp/ovs/openvswitch-vtep_2.8.1-1_amd64.deb
63 - name: Enable openvswitch-switch service
65 name: openvswitch-switch
69 - name: Enable openvswitch-vtep service
71 name: openvswitch-vtep
76 - name: Install Mininet
77 apt: name=mininet state=present
80 - name: Install mtcbench
82 - name: Install mtcbench dependencies
100 - name: Fetch mtcbench git repo
102 repo: https://github.com/intracom-telecom-sdn/mtcbench.git
104 - name: Run mtcbench/deploy/docker/provision.sh
105 command: /tmp/mtcbench/deploy/docker/provision.sh
107 - name: Build mtcbench
108 # TODO: remove workaround for build issue with mtcbench
109 # when mtcbench dependency build correctly
110 # https://github.com/intracom-telecom-sdn/mtcbench/issues/10
111 shell: /tmp/mtcbench/build_mtcbench.sh || true
112 - name: Run make for cbench
115 chdir: /tmp/mtcbench/oflops/cbench
116 - name: Install cbench to /usr/local/bin/cbench
118 src: /tmp/mtcbench/oflops/cbench/cbench
119 dest: /usr/local/bin/cbench
125 - name: Install exabgp
126 apt: name=exabgp state=present
129 - name: Install python-netaddr for custom mininet topologies
130 apt: name=python-netaddr state=present
133 - name: Install vlan for vlan based tests in VTN suites
134 apt: name=vlan state=present
137 - name: Install CSIT dependencies
142 - python-ndg-httpsclient
149 - name: System Reseal
150 script: ../common-packer/provision/system-reseal.sh