blob: 29baa0d7233de0bd3d9ec7ef2c8b5f7d27f2dc3d [file] [log] [blame]
tiernoa8d63632018-05-10 13:12:32 +02001#!/bin/bash
2
3##
4# Licensed under the Apache License, Version 2.0 (the "License"); you may
5# not use this file except in compliance with the License. You may obtain
6# a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13# License for the specific language governing permissions and limitations
14# under the License.
15#
16# For those usages not covered by the Apache License, Version 2.0 please
17# contact with: OSM_TECH@list.etsi.org
18##
19
20echo "POST INSTALL OSM-NBI"
tierno0c01ffa2018-11-19 14:39:33 +010021echo "Installing python dependencies via pip..."
22
calvinosanch675b8042020-01-09 16:10:12 +010023python3 -m pip install -U pip
24python3 -m pip install cherrypy==18.1.2
25python3 -m pip install keystoneauth1
preethika.p329b8182020-04-22 12:25:39 +053026python3 -m pip install jsonschema==3.2.0
K Sai Kiran7ddb0732020-10-30 11:14:44 +053027python3 -m pip install tacacs_plus
tiernoa8d63632018-05-10 13:12:32 +020028
29#Creation of log folder
30mkdir -p /var/log/osm
31
tierno0c01ffa2018-11-19 14:39:33 +010032# systemctl enable osm-nbi.service