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
"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
Extra dependencies
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10
sudo apt-get install build-essential libssl-dev libffi-dev python-dev
pip3 install ansible
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/
git checkout v5.1
SONATA Installation
Creating docker network to allocate the containers
sudo docker network create tango
Follow-up installation
You are NOW ready to install SONATA Service Platform OR V&V Platform: