1 # Copyright (c) 2015 SONATA-NFV and Paderborn University
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 # Neither the name of the SONATA-NFV, Paderborn University
17 # nor the names of its contributors may be used to endorse or promote
18 # products derived from this software without specific prior written
21 # This work has been performed in the framework of the SONATA project,
22 # funded by the European Commission under Grant number 671517 through
23 # the Horizon 2020 and 5G-PPP programmes. The authors would like to
24 # acknowledge the contributions of their colleagues of the SONATA
25 # partner consortium (www.sonata-nfv.eu).
33 - name: install python3-dev
34 apt: pkg=python3-dev state=installed
36 - name: install libffi-dev
37 apt: pkg=libffi-dev state=installed
39 - name: install libssl-dev
40 apt: pkg=libssl-dev state=installed
43 apt: pkg=python3-pip state=installed
45 - name: install libevent-dev
46 apt: pkg=libevent-dev state=installed
48 - name: install libevent-dev
49 apt: pkg=python-all-dev state=installed
51 - name: find pip executable
55 - name: install setuptools
56 pip: name=setuptools state=latest executable={{pip_path.stdout}}
58 - name: install tabulate
59 pip: name=tabulate state=latest executable={{pip_path.stdout}}
61 - name: install argparse
62 pip: name=argparse state=latest executable={{pip_path.stdout}}
64 - name: install networkx
65 pip: name=networkx version=1.11 executable={{pip_path.stdout}}
68 pip: name=six state=latest executable={{pip_path.stdout}}
70 - name: install tinyrpc (fixed version to not break ryu)
71 pip: name=tinyrpc version=1.0.3 executable={{pip_path.stdout}}
74 pip: name=ryu state=latest executable={{pip_path.stdout}}
76 - name: install oslo.config
77 pip: name=oslo.config state=latest executable={{pip_path.stdout}}
79 - name: install pytest
80 pip: name=pytest version=4.6.4 executable={{pip_path.stdout}}
83 pip: name=Flask executable={{pip_path.stdout}}
85 - name: install flask_restful
86 pip: name=flask_restful state=latest executable={{pip_path.stdout}}
88 - name: install requests
89 pip: name=requests state=latest executable={{pip_path.stdout}}
91 - name: install docker
92 pip: name=docker version=2.0.2 executable={{pip_path.stdout}}
94 - name: install prometheus_client
95 pip: name=prometheus_client state=latest executable={{pip_path.stdout}}
97 - name: install latest urllib3 (fix error urllib3.connection.match_hostname = match_hostname)
98 pip: name=urllib3 version=1.21.1 executable={{pip_path.stdout}}
101 pip: name=python-iptables state=latest executable={{pip_path.stdout}}
103 - name: install ipaddress
104 pip: name=ipaddress state=latest executable={{pip_path.stdout}}
106 - name: install gevent
107 pip: name=gevent executable={{pip_path.stdout}}