Skip to content

Sample set of network service and virtual network function examples

Notifications You must be signed in to change notification settings

vmohariya/marketplace

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lifecycle Manager Project Marketplace

This project provides a set of working lifecycle manager Network Service and VNF examples. This branch supports version 2.0 of StratOSS Lifecycle Manager only. Worked examples for other versions of SLM are available on other branches in this project.

VoIP Network Service Worked Example

An example VoIP Network Service is provided that uses a set of open source VNFs. The VoIP service includes a Voice (SIP & RTP) Gateway that load balances voice traffic across a dynamic pool of IPPBX servers. To test the service a SIP performance test VNF is also included that can simulate voice traffic and demonstrate IPPBX cluster behaviour.

VoIP Service

The following Opensource VNFs are included:

Supporting Openstack network VNFs wrapped with the LM standard lifecycle model can be included in other VNFs or Network Service projects. They are as follows:

Bahavioural Use Cases

The diagram below shows a logical VoIP Network Service deployment with some behavioural use cases that must be automated by the lifecycle manager.

VoIP Server Deployment Rules

  1. Stand up the VoIP network service VNFs and perform required initial integrations to have a working gateway with a single initial VoIP server in its pool to service external calls.
  2. Run a SIP VNF and attach it to the VoIP Network service to simulate users. Load metrics generate by the gateway can show current user sessions being serviced by the network service.
  3. Add SIP VNFs to simulate additional users. Increased load metrics trigger a scale policy in the VoIP Server pool, adding a new VoIP server and adding itself to the gateway dispatch list so it can load balance and route calls.
  4. If an infrastructure failure occurs in the VoIP Server pool a policy is triggered that will heal and recover the network service.

VNF relationships

The use case behaviour from above is translated into the lifecycle manager's programming model of lifecycle dependencies, relationships and policies. The diagram below shows the main artefacts of the lifecycle VoIP service model.

VNF relationships

The following lifecycle manager model artefacts are in place to automate the behaviour described above.

  • VoIP Server dependency on GW external address: The VoIP servers need the gateway external IP address and CIDR to handle NAT SIP requests.
  • VoIP Server scaling policy: Load metrics from the gateway trigger policies defined against the VoIP server cluster to scale in and out.
  • DispatchList Relationship: New VoIP servers as a result of the scaling policy trigger a lifecycle relationship that adds information about the new VoIP server to the gateway dispatch pool or removes VoIP servers that no longer exist.
  • SIPP dependency on GW external address: The SIPP VNF needs the external IP address of the gateway to send simulated traffic to.

These progamming artefacts are captured in all of the VoIP Network Service models/packages included in this project.

Network Service flavours

Two flavours of the VoIP Network Service are provided:

About

Sample set of network service and virtual network function examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Groovy 71.2%
  • Python 19.1%
  • Shell 9.7%