Skip to main content

The Python version of the Open Baton vnfm-sdk

Project description

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

Python version of the vnfm-sdk

This project contains a vnfm sdk for python projects.

Technical Requirements

This section covers the requirements that must be met by the python-vnfm-sdk in order to satisfy the demands for such a component:

  • python 2.7 or 3.5

  • pika

How to install python-vfnm-sdk

The safer way to start is to use a virtal environment. Once activated, just run

pip install python-vnfm-sdk

How to configure your vnfm

The sdk runs a certain number of instances of the vnfm by invoking the method:

def start_vnfm_instances(vnfm_klass, config_file_path, instances=1, **kwargs):
    # ....
    pass

where the parameters are the Vnfm class that implements AbstractVnfm, the config file path for the vnfm, the number of instances and the instantiation arguments for the vnfm class.

The ini config file looks like

[vnfm]

endpoint_type=RABBIT
type=python
endpoint=python-endpoint
log_path=/var/log/openbaton/
broker_ip=127.0.0.1
autodelete=true
heartbeat=60
exchange=openbaton-exchange

where:

name

description

type

The type of the vnfm

endpoint_type

must be RABBIT

broker_ip

Ip of the rabbitmq broker used by the nfvo

username

username for the rabbitmq broker used to connect to the manager queue of the nfvo

password

password for the rabbitmq broker used to connect to the manager queue of the nfvo

exchange

exchange name used in the rabbitmq broker by the nfvo

autodelete

true or false in case you want the endpoint queue to have the autodelete property (usually true)

heartbeat

heartbeat for the rabbitmq connection

log_path

path where the logfile will be written

see the python dummy vnfm as example

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-vnfm-sdk-6.0.0.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

python_vnfm_sdk-6.0.0-py2.py3-none-any.whl (13.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file python-vnfm-sdk-6.0.0.tar.gz.

File metadata

  • Download URL: python-vnfm-sdk-6.0.0.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.3 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/2.7.15

File hashes

Hashes for python-vnfm-sdk-6.0.0.tar.gz
Algorithm Hash digest
SHA256 05aa3a92e9b7925caab3894bee50709033b1df89828507158ef736c8cf43f01f
MD5 d8be89e65a7c64dc2276a22446ad5d8a
BLAKE2b-256 7813231f93edc84f3a394b8fd501df510355c4e6185036e54e665d988e3f2b8c

See more details on using hashes here.

File details

Details for the file python_vnfm_sdk-6.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: python_vnfm_sdk-6.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.3 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/2.7.15

File hashes

Hashes for python_vnfm_sdk-6.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 57be3f7d02065701dc78b6efb80dc6de923327a57e228732b961efb8220adf22
MD5 ff532be1b5e47de21fb976794274c176
BLAKE2b-256 59f04d3c22c954c6b2bf9fc0034a5536c3aa05eb079e49894ce3756bb078708a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page