1 ##############################################################################
2 # Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
11 - name: patch odl pip package
14 tar xf /opt/{{ networking_odl_pkg_name }}
15 rm -rf /opt/{{ networking_odl_pkg_name }}
16 sed -i 's/^neutron-lib.*/neutron-lib/' networking-odl-2.0.0/requirements.txt
17 tar zcf /opt/{{ networking_odl_pkg_name }} networking-odl-2.0.0
18 rm -rf networking-odl-2.0.0
21 - name: odl pip package install
24 pip install {{ networking_odl_pkg_name }}
25 rm -rf {{ networking_odl_pkg_name }}