This repository contains a Cloudify blueprint for deploying MetaSwitch Clearwater vIMS Cloudify, a TOSCA based VNF Orchestrator and policy engine. This video shows how the bluerint is used for deployment, configuration, monitoring and healing/scalingof Clearwater.
You will need a Cloudify Manager running in either AWS, Azure, or Openstack.
If you have not already, set up the example Cloudify environment. Installing that blueprint and following all of the configuration instructions will ensure you have all of the prerequisites, including keys, plugins, and secrets.
Next you provide those inputs to the blueprint and execute install:
$ cfy install \
https:/cloudify-examples/clearwater-nfv-blueprint/archive/4.0.1.1.zip \
-b clr \
-n aws-blueprint.yaml
$ cfy install \
https:/cloudify-examples/clearwater-nfv-blueprint/archive/4.0.1.1.zip \
-b clr \
-n azure-blueprint.yaml
$ cfy install \
https:/cloudify-examples/clearwater-nfv-blueprint/archive/4.0.1.1.zip \
-b clr \
-n openstack-blueprint.yaml
Some parts of this blueprint are based on the project Clearwater documentation.
- Security Group Port Mappings were taken from here.
This repository includes the following:
- A TOSCA blueprint to deploy Clearwater on OpenStack, AWS and vSphere including relationships and dependencies between the various Clearwater components.
- A DNS plugin to point each node (Bono, Ellis, Homer, Homestead, Sprout and Ralf) to the deployed DNS
- Scripts to install the application stack on each node
The blueprint supports healing, e.g you can kill Bono and as a result a new VM would be instantiated and the Bono application stack will be installed on it. The relationships to other nodes will make sure that these nodes are also wired properly with the newly created Bono VM.
There are many clients that you can use with SIP, but these instructions are for the Jitsi client.
- Download the Jitsi client.
- Get the IP of Ellis, the IP of Bono, and the signup_code from
cfy deployments outputs -d clearwater
. - Open the IP of Ellis in a browser and signup for an account using the signup_code.
- When you sign up you should see the Clearwater dashboard with your SIP ID and password. Save them.
- Open the preferences of the Jitsu Client.
- Fill out the Account section with your SIP ID (including the '@example.com') and password from step 4.
- Open the Connection tab. Put the IP of Bono from step 2 in the proxy field. Use port 5060. Preferred Transport TCP.
- Repeat these steps on another computer.
If everthing worked, you should be able to make phone calls between the two computers.
To uninstall and delete the running deployment, invoke the uninstall
workflow:
cfy uninstall clearwater
The following picture shows a running deployment example as it appears in the GUI