blob: f8026ecdefd75fc2161bfb709ec4a7c460f656cc [file] [log] [blame]
A R Karthick6d98a592016-08-24 15:16:46 -07001---
2- name: Install Cord tester prerequisites
3 become: yes
4 apt: name={{ item }} state=latest force=yes
5 with_items:
6 - wget
7 - python
8 - python-dev
9 - python-pip
10 - python-setuptools
11 - python-scapy
12 - python-pexpect
13 - openvswitch-switch
14
15- name: Install Python Prerequisites for cord tester
16 become: yes
17 pip: name={{ item }} state=latest
18 with_items:
19 - nose
20 - scapy
21 - monotonic
22 - configObj
23 - docker-py
24 - pyyaml
25 - nsenter
26 - pyroute2
27 - netaddr
28 - python-daemon
29 - scapy-ssl_tls
30
31- name: install Pipework
32 sudo: True
33 get_url:
34 url: "{{ docker_tools_pipework_exe_url }}"
35 dest: "{{ docker_tools_path }}/pipework"
36 force: yes
37 mode: "a+x"
38
39- name: Pull cord test container
40 become: yes
41 docker:
42 name: cord-test
43 image: "{{ docker.registry }}/cord-test/nose:{{ docker.image_version }}"
44 pull: always
45 state: absent
46
47- name: Pull test radius container
48 become: yes
49 docker:
50 name: cord-radius
51 image: "{{ docker.registry }}/cord-test/radius:{{ docker.image_version }}"
52 pull: always
53 state: absent
54
55- name: Pull test quagga container
56 become: yes
57 docker:
58 name: cord-quagga
59 image: "{{ docker.registry }}/cord-test/quagga:{{ docker.image_version }}"
60 pull: always
61 state: absent