2 - import_playbook: ../common-packer/provision/baseline.yaml
8 ovs_checksum: sha256:8d1c439e26d7044f0ec823c7fef1b00b7c6465da0b83a7d0cf3191ed1dc43893
12 - include_role: name=system-update
15 - name: 'Install OpenVSwitch {{ovs_version}}'
17 - name: Install OpenVSwitch dependencies
18 apt: 'name={{item}} state=present'
31 - python-twisted-conch
32 - python-zopeinterface
34 - name: 'Fetch OpenVSwitch {{ovs_version}}'
36 url: 'http://openvswitch.org/releases/openvswitch-{{ovs_version}}.tar.gz'
37 dest: '/tmp/openvswitch-{{ovs_version}}.tar.gz'
38 checksum: '{{ovs_checksum}}'
39 - name: Create /tmp/ovs directory
44 - name: 'Unarchive OpenVSwitch {{ovs_version}}'
46 src: '/tmp/openvswitch-{{ovs_version}}.tar.gz'
49 - name: 'Build OpenVSwitch {{ovs_version}}'
50 shell: DEB_BUILD_OPTIONS='parallel=8 nocheck' fakeroot debian/rules binary
52 chdir: '/tmp/ovs/openvswitch-{{ovs_version}}'
53 - name: 'Install OpenVSwitch {{ovs_version}}'
56 - /tmp/ovs/libopenvswitch_2.8.1-1_amd64.deb
57 - /tmp/ovs/openvswitch-common_2.8.1-1_amd64.deb
58 - /tmp/ovs/openvswitch-switch_2.8.1-1_amd64.deb
59 - /tmp/ovs/python-openvswitch_2.8.1-1_all.deb
60 - /tmp/ovs/openvswitch-vtep_2.8.1-1_amd64.deb
62 - name: Enable openvswitch-switch service
64 name: openvswitch-switch
68 - name: Enable openvswitch-vtep service
70 name: openvswitch-vtep
75 - name: Install Mininet
76 apt: name=mininet state=present
79 - name: Install mtcbench
81 - name: Install mtcbench dependencies
82 apt: 'name={{item}} state=present'
98 - name: Fetch mtcbench git repo
100 repo: https://github.com/intracom-telecom-sdn/mtcbench.git
102 - name: Run mtcbench/deploy/docker/provision.sh
103 command: /tmp/mtcbench/deploy/docker/provision.sh
105 - name: Build mtcbench
106 # TODO: remove workaround for build issue with mtcbench
107 # when mtcbench dependency build correctly
108 # https://github.com/intracom-telecom-sdn/mtcbench/issues/10
109 shell: /tmp/mtcbench/build_mtcbench.sh || true
110 - name: Run make for cbench
113 chdir: /tmp/mtcbench/oflops/cbench
114 - name: Install cbench to /usr/local/bin/cbench
116 src: /tmp/mtcbench/oflops/cbench/cbench
117 dest: /usr/local/bin/cbench
123 - name: Install exabgp
124 apt: name=exabgp state=present
127 - name: Install python-netaddr for custom mininet topologies
128 apt: name=python-netaddr state=present
131 - name: Install vlan for vlan based tests in VTN suites
132 apt: name=vlan state=present
135 - name: Install Quagga
137 - name: Fetch Quagga git repo
139 repo: https://github.com/6WIND/zrpcd.git
140 dest: /tmp/build_quagga/zrpcd
142 - name: Set compile script executable
144 path: /tmp/build_quagga/zrpcd/pkgsrc/dev_compile_script.sh
146 - name: Compile Quagga
147 shell: /tmp/build_quagga/zrpcd/pkgsrc/dev_compile_script.sh -d -b -t
149 chdir: /tmp/build_quagga/zrpcd
150 executable: /bin/bash
154 - name: System Reseal
155 script: ../common-packer/provision/system-reseal.sh