Git Product home page Git Product logo

openimscore-packages's Introduction

Tutorial: OpenIMSCore Network Service Record


This tutorial shows how to deploy a Network Service Record composed by 5 VNFs, a basic OpenIMSCore.

Compared to the Iperf-Server - Iperf-Client the example provided here is far more complex. So we assume you are fimiliar with the architecture.

Requirements

In order to execute this scenario, you need to have the following components up and running:

Store the VimInstance

Upload a VimInstance to the NFVO (e.g. this VimInstance).

Prepare the VNF Packages

Download the necessary files from the github repository and pack the VNF Packages for all 5 components ( scscf, icscf, pcscf, bind9, fhoss ).

Example for creating the Icscf Virtual Network Function Package

# Where to save the scripts
GIT_REPO_LOC=/opt/vnf_packages_example_openimscore_openbaton
# Clone the repository
git clone https://github.com/openbaton/opemimscore_example $GIT_REPO_LOC
# Create the .tar file which needs to be uploaded
cd $GIT_REPO_LOC/icscf
tar -cf icscf.tar *

For this example we assume the network used to interconnect the components is called "mgmt", if you want to modify this example ensure you are naming the network accordingly, the scripts from the github do not handle different network names yet. Also the vimInstanceName may be different to you, depending on your setup. The deployment_flavor is optional but should containg enough RAM for the default configuration of the components to be able to run, else some components may crash on start. This example setup has been successfuly tested on clean Ubuntu14.04 images with 2048 Mb RAM deployed on an Openstack Kilo (2015.1.3). Ensure that the image name defined in the Metadata.yaml of each package is existing.

Finally onboard the packages.

Store the Network Service Descriptor

Download the following NSD and upload it to the NFVO either using the dashboard or the cli. Take care to replace the vnfd ids with the ones you deployed.

Open the Dashboard (checkout the dashboard documentation for more information on how to use it), open it at the URL http://your-ip-here:8080 and log in (default username and password are admin and openbaton). Go to Catalogue -> NS Descriptors and choose the NSD of your choice by clicking on Upload NSD and selecting the Descriptor's json file.

Deploy the Network Service Descriptor

Deploy the stored NSD either using the dashboard.

You need to go again to the GUI, go to Catalogue -> NS Descriptors, and open the drop down menu by clicking on Action. Afterwards you need to press the Launch button in order to start the deployment of this NSD.

If you go to Orchestrate NS -> NS Records in the menu on the left side, you can follow the deployment process and check the current status of the deploying NSD.

Conclusions

Once the Network Service Record went to "ACTIVE" your OpenIMSCore - Bind9 - FHoSS deployment is finished.

ims-deployment

To test your OpenIMSCore you may use a Sip client of your choice. Be sure to use the realm defined in your Bind9 Virtual Network Function Descriptor while testing registration and call. By default the FHoSS conaints 2 users : alice and bob. The user is the same as the password, but you may also alter it to your needs modifying the FHoSS Virtual Network Function Descriptor ( You will find the users in "var_user_data.sql" file under the fhoss folder)

For Benchmarking we can use IMS Bench SIPp but then you should add more users to the FHoSS database since by default it only contains 2 users.

<script type="text/javascript" charset="utf-8"> // Creating custom :external selector $.expr[':'].external = function(obj){ return !obj.href.match(/^mailto\:/) && (obj.hostname != location.hostname); }; $(function(){ $('a:external').addClass('external'); $(".external").attr('target','_blank'); }) </script>

openimscore-packages's People

Contributors

ananyajh avatar gc4rella avatar lorenzotomasini avatar mpauls avatar radoslavvlaskovski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

openimscore-packages's Issues

login/password for the VMs

Hi,

I am trying to deploy and work with the openims/openbaton. Initial set up is somewhat complete but we are having a basic issue.
The VMs are instantiated and we can take the console, but we are not able to login as we dont have the username/password to each VNF.

Can you please help with it.

Thanks.

Best regards,
Rajdeep Ahluwalia

No EMS yet for host with extracted host ID:

Hi, so I am able to launch the NSD and deploy nodes from a template image. All is up incl floating IPs except for the services themselves. I get the error message "No EMS yet for host with extracted ID: ".

The logs show the following (repeated for all VNFs):

2017-03-31 10:26:14.416 INFO 14 --- [SimpleAsyncTaskExecutor-3] org.openbaton.nfvo.vnfm_reg.VnfmManager : Executing Task errorTask for vnfr fhoss. Cyclic=true
2017-03-31 10:26:14.416 ERROR 14 --- [OpenbatonTask-13] o.o.n.v.tasks.abstracts.AbstractTask : ERROR from VNFM: java.lang.RuntimeException: No EMS yet for host with extracted host ID: 1219752
2017-03-31 10:26:14.426 ERROR 14 --- [OpenbatonTask-13] o.o.n.v.tasks.abstracts.AbstractTask : Received ERROR message from VNFM related to VNFR: fhoss
2017-03-31 10:26:17.880 INFO 14 --- [SimpleAsyncTaskExecutor-2] org.openbaton.nfvo.vnfm_reg.VnfmManager : Executing Task errorTask for vnfr bind9. Cyclic=true
2017-03-31 10:26:17.880 ERROR 14 --- [OpenbatonTask-12] o.o.n.v.tasks.abstracts.AbstractTask : ERROR from VNFM: java.lang.RuntimeException: No EMS yet for host with extracted host ID: 9864777
2017-03-31 10:26:17.889 ERROR 14 --- [OpenbatonTask-12] o.o.n.v.tasks.abstracts.AbstractTask : Received ERROR message from VNFM related to VNFR: bind9

My environment:

  • NFVO 3.2.0
  • Vim Driver 3.2.3-SNAPSHOT
  • Openstack Newton

Mos

OpenIMSCore status error

Hi
I'm using Open Baton and OpenStack.
OpenStack is multi node architecture and Open Baton is running on OpenStack as VM.
I have tested Open Baton and OpenStack to deploy iPerf and SIPp successfully (I see Open Baton shows Active state in NS Record menu).
I have tried to test OpenIMSCore but without any luck I get ERROR state from Open Baton NS Record menu and from the log I see:
ERROR from VNFM: java.lang.RuntimeException: No EMS yet for host with extracted host ID: 8173172
I'm interested to hear from you.
I have attached some logs from openbaton.log and cloud-init.log please have a look and share your idea please, after some try I couldn't figure out what the problem is
openIMScore_log-failed&SIPp_successfull.zip

Using custom network name for OpenIMS

Hi,

Today the network name used for OpenIMS deployment using Openbaton is hardcoded to'mgmt' and using a network with different network name is not possible.

I have done some changes in the scripts and Generic VNFM code in order to accept any network name for deploying OpenIMS using Openbaton.

Best regards,
Rajdeep Ahluwalia

ERROR:java.lang.RuntimeException: No EMS yet for host with extracted host ID: 3446806

Hi

I am able to launch the NSD and deploy nodes from a template image.

I get the error message "No EMS yet for host with extracted ID: ".

Setup:
NFVO 3.2.0
Openstack Mitaka

I have updated the
/etc/openbaton/openbaton.properties file:
nfvo.rabbit.brokerIp = localhost
to:
nfvo.rabbit.brokerIp =

I am still getting the EMS error.

Generic-vnfm logs ->
2017-06-27 14:47:47.988 INFO 17929 --- [SimpleAsyncTaskExecutor-2] o.o.common.vnfm_sdk.AbstractVnfm : Instantiation of VirtualNetworkFunctionRecord vnfd-1
2017-06-27 14:47:47.993 DEBUG 17929 --- [SimpleAsyncTaskExecutor-2] o.o.v.g.core.ElementManagementSystem : EMSRegister adding: vnfd-1-3446806
2017-06-27 14:47:47.998 DEBUG 17929 --- [SimpleAsyncTaskExecutor-2] o.o.v.g.core.ElementManagementSystem : Starting wait of EMS for: vnfd-1-3446806
2017-06-27 14:47:48.003 DEBUG 17929 --- [SimpleAsyncTaskExecutor-2] o.o.v.g.core.ElementManagementSystem : Number of expected EMS hostnames: 1
2017-06-27 14:47:48.007 DEBUG 17929 --- [SimpleAsyncTaskExecutor-2] o.o.v.g.core.ElementManagementSystem : Waiting for vnfd-1-3446806 EMS to be started... (0 secs)
2017-06-27 14:47:48.012 DEBUG 17929 --- [SimpleAsyncTaskExecutor-2] o.o.v.g.core.ElementManagementSystem : Expected hostnames: [vnfd-1-3446806]
2017-06-27 14:47:53.017 DEBUG 17929 --- [SimpleAsyncTaskExecutor-2] o.o.v.g.core.ElementManagementSystem : Number of expected EMS hostnames: 1
2017-06-27 14:47:53.022 DEBUG 17929 --- [SimpleAsyncTaskExecutor-2] o.o.v.g.core.ElementManagementSystem : Waiting for vnfd-1-3446806 EMS to be started... (5 secs)
2017-06-27 14:47:53.027 DEBUG 17929 --- [SimpleAsyncTaskExecutor-2] o.o.v.g.core.ElementManagementSystem : Expected hostnames: [vnfd-1-3446806]

Openbaton logs ->
2017-06-27 14:47:47.923 INFO 18061 --- [OpenbatonTask-6] o.o.n.v.tasks.abstracts.AbstractTask : Finished task: AllocateResources for VNFR: vnfd-1
2017-06-27 14:56:06.753 INFO 18061 --- [SimpleAsyncTaskExecutor-4] org.openbaton.nfvo.vnfm_reg.VnfmManager : Executing Task errorTask for vnfr vnfd-1. Cyclic=false
2017-06-27 14:56:06.758 ERROR 18061 --- [OpenbatonTask-7] o.o.n.v.tasks.abstracts.AbstractTask : ERROR from VNFM: java.lang.RuntimeException: No EMS yet for host with extracted host ID: 3446806
2017-06-27 14:56:06.773 ERROR 18061 --- [OpenbatonTask-7] o.o.n.v.tasks.abstracts.AbstractTask : Received ERROR message from VNFM related to VNFR: vnfd-1

Please help with this issue.

Regards
Swati

implement start and stop lifecycle events

In order to trigger start and stop from the NFVO, you need to properly split start and stop functionalities. At the moment the stop lifecycle event is not implemented, while the start command does not handle the case when the components are already started causing an error message to the NFVO.

Upload NSD Error

I am trying to to carry out openimscore toturial. I am running OpenBaton on a Docker container. I have a registed OpenStack VIM instance and have uploaded VNF packages and changed the VNFD ids in the provided NSD josn file according to my project. But, when I try to upload the NSD json, I get undefined. Error code: 415 error. Please help me to resolve the error.

Option 'check' selected is not available use true or false. Error code: Bad Request

im trying to upload openimscore VNF packages to openboton. but when im upload. its error.
Option 'check' selected is not available use true or false. Error code: Bad Request

i have use this command to create the tar files.
zufar@zufar:~/Documents/OpenBaton/bind9$ pwd /home/zufar/Documents/OpenBaton/bind9 zufar@zufar:~/Documents/OpenBaton/bind9$ ls Metadata.yaml scripts vnfd.json zufar@zufar:~/Documents/OpenBaton/bind9$ tar -cf bind9.tar * zufar@zufar:~/Documents/OpenBaton/bind9$ ls bind9.tar Metadata.yaml scripts vnfd.json zufar@zufar:~/Documents/OpenBaton/bind9$

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.