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}}'
18 apt: 'name={{item}} state=present'
31 - python-zopeinterface
32 - python-twisted-conch
34 - name: Create OVS root
39 - name: 'Fetch OpenVSwitch {{ovs_version}} to /tmp'
41 url: 'http://openvswitch.org/releases/openvswitch-2.6.1.tar.gz'
42 dest: '/tmp/openvswitch-2.6.1.tar.gz'
43 checksum: '{{ovs_checksum}}'
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/openvswitch-common_2.6.1-1_amd64.deb
57 - /tmp/ovs/openvswitch-switch_2.6.1-1_amd64.deb
58 - /tmp/ovs/python-openvswitch_2.6.1-1_all.deb
59 - /tmp/ovs/openvswitch-vtep_2.6.1-1_amd64.deb
61 - name: Enable openvswitch-switch service
63 name: openvswitch-switch
67 - name: Enable openvswitch-vtep service
69 name: openvswitch-vtep
74 - name: Install Mininet
75 apt: name=mininet state=present
78 - name: Install exabgp
79 apt: name=exabgp state=present
82 - name: Install vlan for vlan based tests in VTN suites
83 apt: name=vlan state=present
86 - name: Install python-netaddr for custom mininet topologies
87 apt: name=python-netaddr state=present
92 script: ../common-packer/provision/system-reseal.sh