This add-on gives OpenNebula the possibility to manage LXD containers. It includes Virtualization (VMM) and Monitoring (IM) drivers.
Python Shell Ruby Smarty
Latest commit cf06abd Feb 17, 2017 @dann1 dann1 committed on GitHub champion added
Permalink
Failed to load latest commit information.
metadata LXDoNe stable Feb 10, 2017
picts updated Feb 13, 2017
src updated Feb 13, 2017
vnc LXDoNe stable Feb 10, 2017
Image.md LXDoNe stable Feb 10, 2017
LICENSE Create LICENSE Feb 11, 2017
README.md champion added Feb 17, 2017
Setup.md Setup Updated Feb 13, 2017

README.md

LXDoNe


LXDoNe Twitter

LXD Ceph OpenNebula

pylxd VNC


Introduction

LXDoNe is an addon for OpenNebula to manage LXD Containers. It fits in the Virtualization and Monitorization Driver section according to OpenNebula's Architecture. It uses the pylxd API for several container tasks. This addon is the continuation of LXCoNe, an addon for LXC. Check the blog entry in OpenNebula official site.

LXD is a daemon which provides a REST API to drive LXC containers. Containers are lightweight OS-level Virtualization instances, they behave like Virtual Machines but don't suffer from hardware emulation processing penalties by sharing the kernel with the host. They run bare-metal-like, simple containers can boot up in 2 seconds consuming less than 32MB of RAM and a minimal fraction of a CPU Core. Check out this performance comparison against KVM if you don't know much about LXD.

Releases && Features

1702

  • Life cycle control:
    • Start and Poweroff
    • Reboot and Reset
    • Suspend and Resume
  • Monitorization:
    • CPU
    • RAM
    • Status
    • Network Traffic
  • Resource Limitation:
    • RAM
    • CPU
    • VCPU
  • Log scripts execution time duration
  • Deploy container with several disks
  • Deploy container with several NICs
  • Storage Backends:
    • Ceph
    • Filesystem
  • VNC (Work in progress)
  • Specify target device for extra disks
  • Contextualization compatibility
  • 802.1Q network driver compatibility

TODO

  • Migration
  • Snapshots
  • LVM storage backend
  • Hot-attach/detach NICs and HDD
  • Bandwidth limitation

Known Bugs

  • VNC - The first container in a virtualization node is the only one who gets graphic session.

Compatibility

LXDoNe is not an update of LXCoNe so your old containers won't be manageable out of the box, but you can adapt them to the new image format, read Virtual Appliance.

Setup

Check the Setup Guide to deploy a working scenario. Also there are some Ansible scripts for automatic deployment.

Contributing

If you want to contribute feel free to request new features, the TODO list is stated according to our priority order. Check the Flowchart to get a bettter understanding of the driver internals, pictures starting with one- ex. one-deploy.png ressemble the scripts overview.

Developers

License

Copyright 2016-2017 Daniel Clavijo Coca, Sergio Vega Gutiérrez, José Manuel de la Fé Herrero

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.html

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.