X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=packer%2Fprovision%2Fmininet-ovs-2.8.yaml;h=88c906578e4693a9490949bc5c323e2d56d681c0;hb=853876f42d8d8269a056c56eecc91f459e6edfbd;hp=441a9d1b1b4cc8224c05f9cc732040cd2afd847b;hpb=971a8603ca20306c5fb79e4137c76abdda1164c7;p=releng%2Fbuilder.git diff --git a/packer/provision/mininet-ovs-2.8.yaml b/packer/provision/mininet-ovs-2.8.yaml index 441a9d1b1..88c906578 100644 --- a/packer/provision/mininet-ovs-2.8.yaml +++ b/packer/provision/mininet-ovs-2.8.yaml @@ -12,46 +12,47 @@ - include_role: name=lfit.system-update tasks: - - name: 'Install OpenVSwitch {{ovs_version}}' + - name: "Install OpenVSwitch {{ovs_version}}" block: - name: Install OpenVSwitch dependencies - apt: 'name={{item}} state=present' - with_items: - - autoconf - - automake - - bzip2 - - debhelper - - dh-autoreconf - - libssl-dev - - openssl - - pkg-config - - procps - - python-all - - python-qt4 - - python-twisted-conch - - python-zopeinterface + apt: + name: + - autoconf + - automake + - bzip2 + - debhelper + - dh-autoreconf + - libssl-dev + - openssl + - pkg-config + - procps + - python-all + - python-qt4 + - python-twisted-conch + - python-zopeinterface + state: present become: true - - name: 'Fetch OpenVSwitch {{ovs_version}}' + - name: "Fetch OpenVSwitch {{ovs_version}}" get_url: - url: 'http://openvswitch.org/releases/openvswitch-{{ovs_version}}.tar.gz' - dest: '/tmp/openvswitch-{{ovs_version}}.tar.gz' - checksum: '{{ovs_checksum}}' + url: "http://openvswitch.org/releases/openvswitch-{{ovs_version}}.tar.gz" + dest: "/tmp/openvswitch-{{ovs_version}}.tar.gz" + checksum: "{{ovs_checksum}}" - name: Create /tmp/ovs directory file: path: /tmp/ovs state: directory mode: 0755 - - name: 'Unarchive OpenVSwitch {{ovs_version}}' + - name: "Unarchive OpenVSwitch {{ovs_version}}" unarchive: - src: '/tmp/openvswitch-{{ovs_version}}.tar.gz' + src: "/tmp/openvswitch-{{ovs_version}}.tar.gz" dest: /tmp/ovs remote_src: true - - name: 'Build OpenVSwitch {{ovs_version}}' + - name: "Build OpenVSwitch {{ovs_version}}" shell: DEB_BUILD_OPTIONS='parallel=8 nocheck' fakeroot debian/rules binary args: - chdir: '/tmp/ovs/openvswitch-{{ovs_version}}' - - name: 'Install OpenVSwitch {{ovs_version}}' - apt: 'deb={{item}}' + chdir: "/tmp/ovs/openvswitch-{{ovs_version}}" + - name: "Install OpenVSwitch {{ovs_version}}" + apt: "deb={{item}}" with_items: - /tmp/ovs/libopenvswitch_2.8.1-1_amd64.deb - /tmp/ovs/openvswitch-common_2.8.1-1_amd64.deb @@ -79,21 +80,22 @@ - name: Install mtcbench block: - name: Install mtcbench dependencies - apt: 'name={{item}} state=present' - with_items: - - autoconf - - automake - - build-essential - - libconfig-dev - - libffi-dev - - libpcap-dev - - libsnmp-dev - - libtool - - libssl-doc - - make - - pkg-config - - snmp - - snmpd + apt: + name: + - autoconf + - automake + - build-essential + - libconfig-dev + - libffi-dev + - libpcap-dev + - libsnmp-dev + - libtool + - libssl-doc + - make + - pkg-config + - snmp + - snmpd + state: present become: true - name: Fetch mtcbench git repo git: @@ -117,7 +119,7 @@ dest: /usr/local/bin/cbench mode: 0755 owner: root - remote_src: yes + remote_src: true become: true - name: Install exabgp @@ -132,6 +134,17 @@ apt: name=vlan state=present become: true + - name: Install CSIT dependencies + apt: + name: + - git-review + - python-chardet + - python-ndg-httpsclient + - python-requests + - python-urllib3 + state: present + become: true + post_tasks: - name: System Reseal script: ../common-packer/provision/system-reseal.sh