openbaton / dummy-vnfm-amqp

Implementation of a VNFM able to instantiate dummy resources using the AMQP protocol for interfacing with the NFVO
Apache License 2.0
3 stars 3 forks source link

Copyright © 2015-2016 Open Baton. Licensed under Apache v2 License.

Build Status

Dummy VNFManager Amqp

The Dummy-VNFManager-Amqp imitates the behaviour of a real VNFManager. For the communication with the NFVO it uses AMQP.
If you use the Dummy-VNFManager-Amqp for deploying a network service it will not create any resources. When the NFVO sends commands to the Dummy-VNFManager-Amqp, it will answer as if it executed them although it actually did not. In this way Openbaton can be tested without actually deploying anything.

Technical Requirements

In order to execute the dummy-vnfm-amqp, you need to have a running and configured NFVO.

How to install the Dummy VNFManager Amqp from source code

Git clone the project into the /opt/openbaton directory (you may need to be logged in as root user, unless you change the permissions on the /opt/openbaton folder):

mkdir /opt/openbaton
git clone https://github.com/openbaton/dummy-vnfm-amqp.git

And Execute

cd /opt/openbaton/dummy-vnfm-amqp; ./dummy-vnfm.sh compile

to compile it.

How to use the Dummy VNFManager Amqp

To start the Dummy-VNFM-Amqp execute

 cd /opt/openbaton/dummy-vnfm-amqp;./dummy-vnfm.sh start

This will create a new screen window which you can access using screen -x openbaton.
If you want to run the Dummy VNFManager Amqp on another machine than on which rabbitmq is running you first have to configure it.
Either you use the application.properties file in the project's resources folder to configure it or you create the file /etc/openbaton/dummy-vnfm-amqp.properties, copy the previously mentioned application.properties file's content into it and configure it there.
Then change the properties spring.rabbitmq.host and spring.rabbitmq.port to the ip address and host on which rabbitmq are running.
If you decided to create the file /etc/openbaton/dummy-vnfm-amqp.properties the Dummy VNFManager Amqp will only use this one so make sure that all the properties from the file application.properties are present.
To use the Dummy-VNFManager-Amqp for "deploying" a network service you have to store a VimInstance with type test in the NFVO and the Virtual Network Function Descriptors used to describe the network service have to define their endpoint as test.

How to extend the Dummy VNFManager Amqp

If you want the Dummy VNFManager Amqp to behave differently you can change it's behaviour in the DummyAMQPVNFManager.java class. In this class all the methods are defined that will be executed by a VNFM while deploying a network service.

Issue tracker

Issues and bug reports should be posted to the GitHub Issue Tracker of this project

What is Open Baton?

Open Baton is an open source project providing a comprehensive implementation of the ETSI Management and Orchestration (MANO) specification and the TOSCA Standard.

Open Baton provides multiple mechanisms for interoperating with different VNFM vendor solutions. It has a modular architecture which can be easily extended for supporting additional use cases.

It integrates with OpenStack as standard de-facto VIM implementation, and provides a driver mechanism for supporting additional VIM types. It supports Network Service management either using the provided Generic VNFM and Juju VNFM, or integrating additional specific VNFMs. It provides several mechanisms (REST or PUB/SUB) for interoperating with external VNFMs.

It can be combined with additional components (Monitoring, Fault Management, Autoscaling, and Network Slicing Engine) for building a unique MANO comprehensive solution.

Source Code and documentation

The Source Code of the other Open Baton projects can be found here and the documentation can be found here

News and Website

Check the Open Baton Website

Follow us on Twitter @openbaton

Licensing and distribution

Copyright © [2015-2016] Open Baton project

Licensed under the Apache License, Version 2.0 (the "License");

you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Support

The Open Baton project provides community support through the Open Baton Public Mailing List and through StackOverflow using the tags openbaton.

Supported by