@alejo wrote:
Summary
This document should explain the integration of Linux Containers (LXCs) into VIRL simulations in sufficient detail to allow users to create, manage and share their own LXC subtypes, images and templates.
Linux Containers can be used to enhance topologies, using a relatively lightweight yet flexible 'host' node. One must bear in mind that whereas virtual machine-based host nodes have the full functionality of the operating system running within the virtual machine, LXCs usually run just a single or a handful of applications.Information on using the applications within the LXC is not the purpose of this guide.
This document is intended to provide examples of how to create containerized applications that can be 'packaged' within an LXC. The configurations for the example programs covered in this guide are samples at best. Users should use the documentation from the target applications in order to learn about their use.
This guide is meant to show the features supported by the VIRL releases as of April 2016, with VIRL-CORE version 0.10.24.x and above. Most of the functionality has been present in earlier releases as well, such as 0.10.21.x .Contents
- Using Linux Containers in VIRL.
- Introduction
- The subtype lxc as an alternative server
- Comparison to other node subtypes
- Initial configuration through cloud-init
- What AutoNetKit generates
- LXC images
- LXC templates
- Things we don't do with LXC
- The SSHD LXC as the shortest way to get a node
- Using cloud-init configuration without cloud-init
- The SSHD template
- The optional image
- Customizing templates
- Running other programs (dnsmasq)
- Adding a subtype
- Propagating new subtypes
- Adding a template
- Custom configurations for the topology
- Runtime
- Creating images with new packages (lldld)
- Getting things out of the repository
- Packaging
- Modifying the template
- Configuration
- Template parameters (atftpd)
- Adding additional parameters to the template
- Configuration
- Complex packages and dependencies (tac_plus)
- Package dependencies
- Making programs find their libraries
- Configuration
- Getting outside the repository (lldpd redux)
- Brand new packages (radius 3)
- Preparing the package
- The template
- The configuration
- Routing (bird)
- Image and template
- Configuration
- Runtime
- Debugging and troubleshooting
- Where things are
- Logging
- Debugging
You can download the full document from here: Using Linux Containers in VIRL.pdf (341.8 KB)
Posts: 3
Participants: 2