Skip to content

openbaton/go-docker-driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

VIM Driver for Docker

This Vim Driver is able together with the Docker VNFM to deploy NS on top of a Docker engine.

Both VNFM and VIM Driver are necessary in order to be able to deploy NS over Docker

How to install the Docker VIM Driver

Requirements

Build the Docker VIM Driver

Assuming that your GOPATH variable is set to $HOME/go (find out typing go env), run the following commands:

mkdir -p ~/go/src/github.com/openbaton
cd ~/go/src/github.com/openbaton
git clone [email protected]:openbaton/go-docker-driver.git
cd go-docker-driver
dep ensure
cd main
go build -o docker-driver

Afterwards check the usage by running:

./docker-driver --help

How to start the Docker VIM Driver

If you don't need special configuration, start the docker-driver just by running:

./docker-driver

How to use the Docker VIM Driver

In order to upload a VimInstance using the docker driver, you need to upload a Vim Instance as follows:

{
  "name": "vim-instance",
  "authUrl": "unix:///var/run/docker.sock",
  "tenant": "1.32",
  "username": "admin",
  "password": "openbaton",
  "type": "docker",
  "location": {
    "name": "Berlin",
    "latitude": "52.525876",
    "longitude": "13.314400"
  }
}
  • authUrl either you pass the unix socket, in this case will use the socket running locally to the vim driver or the host connection string for remote execution
  • tenant in the tenant you can specify the api version used by the chosen docker engine
  • type is docker

after uploading this Vim Instance, you should be able to see all images and networks in the PoP page of the NFVO dashbaord

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