Skip to main content

The Python version of the Open Baton plugin-sdk

Project description

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

Python version of the plugin-sdk

This project contains a Python SDK for writing VIM Drivers for Open Baton.

Technical Requirements

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

  • python 3.5

  • pika

How to install python-plugin-sdk

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

pip install python-plugin-sdk

How to use the SDK

After it is installed you can import the following modules into your project:

  • org.openbaton.plugin.sdk.catalogue

  • org.openbaton.plugin.sdk.utils

  • org.openbaton.plugin.sdk.vim

The catalogue module contains classes that resemble their counterparts in the Java version of the catalogue e.g. a class for VIM instances, a class for NFVImages, etc. The vim module contains the `VimDriver` class which should be extended by your specific VIM Driver class and which contains all the abstract methods that you have to implement for a working VIM Driver. The utils module contains the logic for handling the VIM Driver’s connection to the NFVO and the scheduling of tasks so that you do not have to handle these things at all. The most important function for you in this module is the `start_vim_driver` function.

In order to write your own VIM Driver you only have to implement the abstract methods of the org.openbaton.plugin.sdk.vim.VimDriver class and pass it to the org.openbaton.plugin.sdk.utils.start_vim_driver function. For an example have a look at the openstack-python-vim-driver implementation.

The SDK requires a configuration file that has to be passed to the start_vim_driver function. This configuration file should be an INI file with the following section:

[rabbitmq]
username = openbaton-manager-user
password = openbaton
broker_ip = 127.0.0.1
port = 5672
heartbeat = 1
exchange-name = openbaton-exchange

These values are need for the SDK to connect to RabbitMQ and to communicate with the NFVO.

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-plugin-sdk-6.0.1.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

python_plugin_sdk-6.0.1-py2.py3-none-any.whl (14.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file python-plugin-sdk-6.0.1.tar.gz.

File metadata

  • Download URL: python-plugin-sdk-6.0.1.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/18.1 requests-toolbelt/0.8.0 tqdm/4.23.2 CPython/3.5.2

File hashes

Hashes for python-plugin-sdk-6.0.1.tar.gz
Algorithm Hash digest
SHA256 4b4d51342c27d1d6504a00452ae578ec1a3b85dee611d8af88031f253a40aef6
MD5 988b5d7aaf676257f787283e38c2884a
BLAKE2b-256 9296dfd57dbd092ca563a1acd5ad2bcdbd6d13f799fbde35d4362d86691dad8a

See more details on using hashes here.

File details

Details for the file python_plugin_sdk-6.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: python_plugin_sdk-6.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/18.1 requests-toolbelt/0.8.0 tqdm/4.23.2 CPython/3.5.2

File hashes

Hashes for python_plugin_sdk-6.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e1a2950056905b23958efd57c5257074030a8946831dd33747f0a7143041d2c2
MD5 6b888febc1a2c45ebcef4b671536a593
BLAKE2b-256 6c7a308c227735906d4660b1223597c137e9b9d75153a64dc2d9073a9b589c3e

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