mcilloni / python-vnfm-dummy

A dummy Vnfm written in python to be used as example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Python Vnfm Dummy

A dummy Vnfm written in python to be used as example of how to use the Python SDK

Technical Requirements

This section covers the requirements that must be met by the Python Vnfm Dummy in order to satisfy the demands for such a component:

  • python-vnfm-sdk

How to install Python Vnfm Dummy

First install the dependencies in your environment by running

pip install python-vnfm-sdk

Second step, let's create a configuration file for the VNFManager under: /etc/openbaton/<type>/conf.ini (where type is the endpoint specified in the vnfd.json)

This file should be like this:

[vnfm]

log_path=/var/log/openbaton/
broker_ip=localhost
username=admin
password=openbaton
heartbeat=60
exchange=openbaton-exchange
endpoint_type=RABBIT

where:

name description
log_path path where the logfile will be written
broker_ip Ip of the rabbitmq broker used by the nfvo
username username for the rabbitmq broker used by the nfvo
password password for the rabbitmq broker used by the nfvo
exchange exchange name used in the rabbitmq broker by the nfvo
heartbeat heartbeat for the rabbitmq connection
endpoint_type must be RABBIT

See the sdk documentation for more details.

Then just clone this repository and run

python __main__.py

How to extend the Python Vnfm Dummy

This example is a good starting point for creating a Vnfm that has strict dependencies on python libraries

Issue tracker

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

What is Open Baton?

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

Open Baton is a ETSI NFV MANO compliant framework. Open Baton was part of the OpenSDNCore (www.opensdncore.org) project started almost three years ago by Fraunhofer FOKUS with the objective of providing a compliant implementation of the ETSI NFV specification.

Open Baton is easily extensible. It integrates with OpenStack, and provides a plugin mechanism for supporting additional VIM types. It supports Network Service management either using a generic VNFM or interoperating with VNF-specific VNFM. It uses different mechanisms (REST or PUB/SUB) for interoperating with the VNFMs. It integrates with additional components for the runtime management of a Network Service. For instance, it provides autoscaling and fault management based on monitoring information coming from the the monitoring system available at the NFVI level.

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

About

A dummy Vnfm written in python to be used as example

License:Apache License 2.0


Languages

Language:Python 100.0%