Skip to content

Latest commit

 

History

History
100 lines (76 loc) · 2.85 KB

common-installation.md

File metadata and controls

100 lines (76 loc) · 2.85 KB

Common installation requirements for SP and V&V

The 5GTANGO system consists of the Service Platform for deploying and orchestrating services and the Service Development Kit to create deployable service packages. Between the service development and Production, we have a tool for Validate and Verify the Network Service. This tool is called V&V and helps developers to create a set of tests and execute them against network services.

Prerequisites

Recommended server specs to run SONATA Service Platform

  • CPU: 4 cores
  • Memory: 8 GB
  • Disk: 80 GB

Installing Ansible

sudo apt-get update
sudo apt-get install software-properties-common
sudo apt-add-repository ppa:ansible/ansible
sudo apt-get update
sudo apt-get install ansible

Installing Docker

sudo apt-get update
sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
   $(lsb_release -cs) \
   stable"
sudo apt-get update
sudo apt-get install docker-ce

Installing python and docker using pip

sudo apt-get install python3 python3-pip -y
pip3 install docker

In case of this error

"Traceback (most recent call last):
  File "/usr/bin/pip3", line 11, in <module>
    sys.exit(main())
  File "/usr/lib/python3/dist-packages/pip/__init__.py", line 215, in main
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python3.5/locale.py", line 594, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
"

It can be fixed with:

export LC_ALL="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
sudo dpkg-reconfigure locales

Git installation

sudo apt-get install git

Cloning the tng-devops repository

git clone https://github.com/sonata-nfv/tng-devops.git
cd tng-devops/

SONATA Installation

To use the latest stable version of SONATA you will need to change the branch to v4.0. This can be performed from inside the tng-devops folder, with the command: git checkout v4.0

Creating docker network to allocate the containers

sudo docker network create tango