2 - import_playbook: ../common-packer/provision/baseline.yaml
9 ovs_checksum: sha256:307b20aba6a179bf13e5da9ac242933c31349073762473a9d4782619c8c1cf0c
12 - include_role: name=lfit.system-update
15 - name: 'Install OpenVSwitch {{ovs_version}}'
17 - name: 'Install dependencies required for OpenVSwitch {{ovs_version}}'
31 - python-zopeinterface
32 - python-twisted-conch
35 - name: Create OVS root
40 - name: 'Fetch OpenVSwitch {{ovs_version}} to /tmp'
42 url: 'http://openvswitch.org/releases/openvswitch-2.6.1.tar.gz'
43 dest: '/tmp/openvswitch-2.6.1.tar.gz'
44 checksum: '{{ovs_checksum}}'
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/openvswitch-common_2.6.1-1_amd64.deb
58 - /tmp/ovs/openvswitch-switch_2.6.1-1_amd64.deb
59 - /tmp/ovs/python-openvswitch_2.6.1-1_all.deb
60 - /tmp/ovs/openvswitch-vtep_2.6.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 exabgp
80 apt: name=exabgp state=present
83 - name: Install vlan for vlan based tests in VTN suites
84 apt: name=vlan state=present
87 - name: Install python-netaddr for custom mininet topologies
88 apt: name=python-netaddr state=present
93 script: ../common-packer/provision/system-reseal.sh