<commit_before><p align="center"><img src="https://github.com/sonata-nfv/son-install/blob/master/wikiresources/sonata_logo_400px.png" /></p>

# son-install

'son-install' provides a simple way to Create, Manage, Upgrade and Destroy (CMUD) SONATA resources for the Service Plataform (SP) as a standalone machine 

'son-install' is built on a set of Ansible playbooks that aims to:
* automate the deployment of the SONATA SP
* manage the SP services and applications lifecycle
* zero downtime roll up upgrades

All you need is a 'bash' shell with Ansible installed to run 'son-cmud.yml', ie, all the SONATA CMUD operations can be executed in a single line command



## What's new in Release 2.1
* application versioning - you can now choose the SP version to deployment, eg:  'latest', '2.1' or 'dev'


## What's new in Release 2.0

Deploy the platform from the scratch for a specific environment (integration, qualification, demonstration)
* step 1: provision infrastrucutre
* step 2: standardize configurations
* step 3: install applications and services


##  Characteristics

* Multi-Stage: deploy the Integration, Qualification and Demonstration platments
* Multi-PoP: deploy to multiple sites (set the right credential variables)
* Multi-VIM: Openstack (AWS under evaluation, OSM under evaluation)
* Multi-Distro: Ubuntu 14.04, Ubuntu 16.04, CentOS 7
* Multi-Operations: Create, Manage, Upgrade, Destroy


## Requirements

* Ansible 2.3.0+
* Shade 1.16.0+


## Usage

The structure of 'son-install' is flexible enough to:
* deploy and manage a single service or application to an existing machine
* deploy, manage, upgrade, destroy a complex distributed platform


### Deploying to LOCAL machine

#### Pre-configuration

1. The SP database passwords are now encrypted, so you MUST create an external file "~/.ssh/.vault_pass" with the default "sonata" password

2. You able to customize your environment by changing the SP defaults file: "roles/sp/defaults/main.yml" - eg:

pop: alabs
proj: demo
distro: xenial<commit_msg>SONATA 5G NFV SP deployment v2.1<commit_after><p align="center"><img src="https://github.com/sonata-nfv/son-install/blob/master/wikiresources/sonata_logo_400px.png" /></p>

# son-install

'son-install' provides a simple way to Create, Manage, Upgrade and Destroy (CMUD) SONATA resources for the Service Plataform (SP) as a standalone machine 

'son-install' is built on a set of Ansible playbooks that aims to:
* automate the deployment of the SONATA SP
* manage the SP services and applications lifecycle
* zero downtime roll up upgrades

All you need is a 'bash' shell with Ansible installed to run 'son-cmud.yml', ie, all the SONATA CMUD operations can be executed in a single line command



## What's new in Release 2.1
* application versioning - you can now choose the SP version to deployment, eg:  'latest', '2.1' or 'dev'


## What's new in Release 2.0

Deploy the platform from the scratch for a specific environment (integration, qualification, demonstration)
* step 1: provision infrastrucutre
* step 2: standardize configurations
* step 3: install applications and services


##  Characteristics

* Multi-Stage: deploy the Integration, Qualification and Demonstration environments
* Multi-PoP: deploy to multiple sites (set the right credential variables)
* Multi-VIM: Openstack (AWS under evaluation, OSM under evaluation)
* Multi-Distro: Ubuntu 14.04, Ubuntu 16.04, CentOS 7
* Multi-Operations: Create, Manage, Upgrade, Destroy


## Requirements

* Ansible 2.3.0+
* Shade 1.16.0+


## Usage

The structure of 'son-install' is flexible enough to:
* deploy and manage a single service or application to an existing machine
* deploy, manage, upgrade, destroy a complex distributed platform


### Deploying to LOCAL machine

#### Pre-configuration

1. The SP database passwords are now encrypted, so you MUST create an external file "~/.ssh/.vault_pass" with the default "sonata" password

2. You able to customize your environment by changing the SP defaults file: "roles/sp/defaults/main.yml" - eg:

pop: alabs
proj: demo
distro: xenial
{'fraction_non_alphanumeric': 0.08316977428851816, 'fraction_numerical': 0.015456329735034347, 'mean_word_length': 4.623448275862069, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '30513', 'n_tokens_mistral': 1265, 'n_tokens_neox': 1148, 'n_words': 522}