Open Baton Plugin SDK

Openbaton libraries for integrating with the NFV Orchestrator SBI

License

License

GroupId

GroupId

org.openbaton
ArtifactId

ArtifactId

plugin-sdk
Last Version

Last Version

6.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

Open Baton Plugin SDK
Openbaton libraries for integrating with the NFV Orchestrator SBI
Project URL

Project URL

http://openbaton.github.io
Source Code Management

Source Code Management

https://github.com/openbaton/plugin-sdk

Download plugin-sdk

How to add to project

<!-- https://jarcasting.com/artifacts/org.openbaton/plugin-sdk/ -->
<dependency>
    <groupId>org.openbaton</groupId>
    <artifactId>plugin-sdk</artifactId>
    <version>6.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.openbaton/plugin-sdk/
implementation 'org.openbaton:plugin-sdk:6.0.0'
// https://jarcasting.com/artifacts/org.openbaton/plugin-sdk/
implementation ("org.openbaton:plugin-sdk:6.0.0")
'org.openbaton:plugin-sdk:jar:6.0.0'
<dependency org="org.openbaton" name="plugin-sdk" rev="6.0.0">
  <artifact name="plugin-sdk" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.openbaton', module='plugin-sdk', version='6.0.0')
)
libraryDependencies += "org.openbaton" % "plugin-sdk" % "6.0.0"
[org.openbaton/plugin-sdk "6.0.0"]

Dependencies

compile (7)

Group / Artifact Type Version
org.openbaton : vim-drivers jar 6.0.0
org.openbaton : monitoring jar 6.0.0
org.openbaton : exception jar 6.0.0
org.openbaton : registration jar 6.0.0
com.google.code.gson : gson jar 2.5
org.slf4j : slf4j-api jar 1.7.12
com.rabbitmq : amqp-client jar 3.5.6

Project Modules

There are no modules declared in this project.

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

Build Status

Open Baton Plugin SDK

This project plugin-sdk contains modules that are needed to implement a plugin for the Open Baton framework.

Please refer to our documentation for more information about this project. Below there are just few details about the way you can use it.

How to use the Plugin SDK

An Open Baton Plugin is a separate application that accepts requests from the NFVO to allocate and update resources on VIM. Plugin SDK provides an interface to develop the plugins to work with Openbaton NFVO or VNFM of your choice. SDK allows the communication through rabbitmq broker via AMQP messaging.

In order to create a VIM plugin for OpenBaton system you need to add to your gradle build file:

buildscript {
    dependencies {
        classpath("org.springframework.boot:spring-boot-gradle-plugin:1.2.6.RELEASE")
    }
}

apply plugin: 'spring-boot'

project.ext{
	mainClass = 'path.to.the.StarterClass'
}

apply plugin: 'java'
apply plugin: 'maven'
repositories {
    mavenLocal()
    mavenCentral()
    maven {
	url 'https://oss.sonatype.org/content/repositories/snapshots/'
    }
}

dependencies {
    compile 'org.openbaton:plugin-sdk:4.0.0'
}

Than create a class that implement ClientInterfaces and the inherited methods. Create another starter class and set the path to it in a variable mainClass.

the starter class can be like the following:

import org.openbaton.plugin.PluginStarter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class StarterClass {

    private static Logger log = LoggerFactory.getLogger(PluginStarter.class);

    public static void main(String[] args) {
        log.info("params are: pluginName registryIp registryPort\ndefault is openstack-plugin localhost 1099");

        PluginStartup.startPluginRecursive("./path-to-folder", true, "broker-ip", "5672", 15, "admin", "openbaton", "15672");
}

Then, compile & run it

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

org.openbaton

Open Baton

An ETSI NFV compliant Management and Orchestration (MANO) Framework

Versions

Version
6.0.0
6.0.0-RC1
5.2.1
5.2.0
5.1.2
5.1.1
5.1.0
5.0.0
5.0.0-RC3
5.0.0-RC2
5.0.0-RC1
4.0.0
3.2.1
3.2.0
3.0.0
3.0.0-RC1
2.2.0
2.1.2