Package: python-plugin-sdk
Copyright © 2015-2016Open Baton. Licensed underApache v2
License.Python version of the plugin-sdkThis project contains a Python SDK for writing VIM Drivers for Open
Baton.Technical RequirementsThis section covers the requirements that must be met by the plugin-sdk in order to satisfy the demands for such a component:python 3.5pikaHow to install python-plugin-sdkThe safer way to start is to use avirtal environment. Once
activated, just runpipinstallpython-plugin-sdkHow to use the SDKAfter it is installed you can import the following modules into your
project:org.openbaton.plugin.sdk.catalogueorg.openbaton.plugin.sdk.utilsorg.openbaton.plugin.sdk.vimThe 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 theorg.openbaton.plugin.sdk.vim.VimDriverclass
and pass it to theorg.openbaton.plugin.sdk.utils.start_vim_driverfunction. For an example have a look at theopenstack-python-vim-driverimplementation.The SDK requires a configuration file that has to be passed to thestart_vim_driverfunction. This configuration file should be an INI
file with the following section:[rabbitmq]username=openbaton-manager-userpassword=openbatonbroker_ip=127.0.0.1port=5672heartbeat=1exchange-name=openbaton-exchangeThese values are need for the SDK to connect to RabbitMQ and to
communicate with the NFVO.Issue trackerIssues and bug reports should be posted to the GitHub Issue Tracker of this projectWhat 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 documentationThe Source Code of the other Open Baton projects can be foundhereand the documentation can be foundhere.News and WebsiteCheck theOpen Baton WebsiteFollow us on Twitter @openbaton.Licensing and distributionCopyright [2015-2016] Open Baton projectLicensed 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 athttp://www.apache.org/licenses/LICENSE-2.0Unless 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.SupportThe Open Baton project provides community support through the Open Baton
Public Mailing List and through StackOverflow using the tags openbaton.Supported by