Skip to content
opennms-forgePublic

About

No description, website, or topics provided.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

269 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

olab

CI Release License: Apache-2.0

olab brings OpenNMS labs up on a Proxmox VE host, a KVM host or VMware vSphere and tears them down again. You describe a lab in a small YAML spec: which components, which versions, which sizes and which networks. olab creates the VMs with OpenTofu, configures them with the indigo423.opennms and labmonkeys.nl6 Ansible collections, and writes an endpoints file that tells you where everything is. olab ships as a container image, so the only thing you install on your machine is Docker and a small wrapper script.

Quickstart

Pick your hypervisor. Each page takes you from nothing to a running first lab.

Install

olab runs from a container image, so you need Docker and the wrapper bin/olab. Copy the wrapper onto your PATH from a checkout of this repository:

mkdir -p ~/.local/bin
install -m 0755 bin/olab ~/.local/bin/olab

The wrapper runs ghcr.io/opennms-forge/olab with the tag it was released with, for linux/amd64 and linux/arm64. The image is public, so the first run pulls it without a login:

olab --version

Documentation

The user documentation lives in website/docs. make docs-serve previews it as a site on your machine.

Development

olab follows the no42 ci-standard: the Makefile is the only interface, locally and in CI. Install mise, then run make setup; it installs the pinned tools from mise.toml, the Python environment from uv.lock, OpenTofu and the collections. Run make help for the development targets. make check runs the format check, lint, tests and the wheel build, as the CI gate does. make image builds the container image and make image-smoke checks it. See docs/design.md for the design.

make check-identifiers rejects lab hostnames matching the regexes in $OLAB_DENYLIST, one per line. Set OLAB_DENYLIST as a repository secret for CI and keep the patterns in ~/.config/olab/denylist locally. Never commit the patterns.

CONTRIBUTING.md describes how to propose a change, and RELEASING.md how a release is cut. Report vulnerabilities as described in SECURITY.md.

License

olab is licensed under the Apache License 2.0.

About

No description, website, or topics provided.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages