Juju is a generic Virtual Network Function Manager (VNFM) in the ETSI NFV architecture and can be integrated with a Network Function Virtualization Orchestrator (NFV-O).
Juju is a universal service modelling system, it models services, their relationships and scale, independent of substrate (cloud, virtualised or physical).
Works on Amazon EC2 and OpenStack
- Download this project:
git clone https://github.com/thomnico/juju-nfv-clearwater-restcomm.git
- Create a Juju environment (we suggest using juju-quickstart)
- If you have a DNS domain of your own, you can change the first 2 lines of bundle-nfv-demo.yaml (in the override section).
- Run
./00-prepare.sh
and./01-deploy.sh
For the familiar with IMS world here is the Clearwater architecture: -
Use Clearwater by using:
- the login at: http://ellis-IP/ (use `juju
- Go to signup page:
- e-mail/name: your choice.
- signup code :
abracadabra
- password suggestion:
AAbbCCdd
Use Restcomm using the login at: http://restcomm-IP:8080/restcomm-management
- email:
administrator@company.com
- pass:
RestComm
Show the designer: http://www.restcomm.com/developers/
juju-quickstart
In order to show real deployment and orchestration use case we need external machine (to current Juju environment) to deploy orchestration service. In this example we will use Zabbix server. [to do describe deployment of zabbix]
Follow the steps:
-
You must open the following port 80 (interface), 10050 et 10051 (zabbix)
-
Create a security group if on AWS or OpenStack to ensure you can connect to and be sure you can access that machine/vm.
-
Then simply do (of course use your IP):
./install-on-machine 54.164.161.172
If blocked with a "Cleaning" msg .. kill and restart (it should be idempotent)
- Then
http://54.164.161.172/zabbix/
login admin / ubuntu
Once started and if you create a Zabbix machine run:
integrate-with-ext-zabbix <IP of the zabbix machine>
Run: BulkUsersCreation.sh
Enjoy your nodes automagically enrolled in Zabbix.
juju ssh clearwater-bono/0
sudo apt-get install -y -qq stress
stress --cpu 1 --io 2 --vm 2 --vm-bytes 512M --timeout 600
When you are done, you can clean enviroment and destroy all services (do not terminate machines).
juju-deployer -D