diff options
author | Michael Polenchuk <mpolenchuk@mirantis.com> | 2018-11-02 17:00:30 +0400 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-11-06 00:00:39 +0100 |
commit | aa0ccb8daea30e290cf5824e639ddd153f2da3fe (patch) | |
tree | 22523bdb21d228af207aae09a15adb19081dd0bc /mcp/config/states | |
parent | 532427ad43e1c1728bf21317aea6af00d9758227 (diff) |
[opendaylight] Update SQLAlchemy library
To conform to the changes in networking-odl driver:
https://review.openstack.org/604755
Change-Id: I6aaefe9d6d4f26652464f82b7c7e45694387c8af
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/config/states')
-rwxr-xr-x | mcp/config/states/sqlalchemy_update | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mcp/config/states/sqlalchemy_update b/mcp/config/states/sqlalchemy_update new file mode 100755 index 000000000..d4901a9c5 --- /dev/null +++ b/mcp/config/states/sqlalchemy_update @@ -0,0 +1,16 @@ +#!/bin/bash -e +############################################################################## +# Copyright (c) 2018 Mirantis Inc., Enea AB and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +sqlalchemy_ver=1.2.1 + +salt -I 'neutron:server' pkg.install python-pip +salt -I 'neutron:server' cmd.run \ + "sudo -H -u neutron pip install --user SQLAlchemy==${sqlalchemy_ver}" + +salt -I 'neutron:server' service.restart neutron-server |