A powerful Infrastructure as Code (IAC) framework
Project description
Carthage is an Infrastructure as Code (IAC) framework. Carthage provides models for infrastructure concepts such as machines, networks, and domains or groups of machines. There are concrete implementations of these models including containers and virtual machines.
Carthage allows experts to quickly construct infrastructure from a Carthage layout. Infrastructure can be real, virtual, or a mixture. Often the same layout is used to produce both real and virtual infrastructure.
Examples of applications written using Carthage include:
A test framework to run tests against a distributed product by replicating virtual network infrastructure and running tests against that structure.
A cyber training application to produce training environments with thousands of virtual machines and realistic training environments including firewalls, routers, and Internet services. The training environment is entirely isolated from the Internet.
A devops application to maintain the real infrastructure on which the cyber training environment runs.
Installing Carthage
Carthage typically requires a container environment as well as a virtualization requirement. On Debian or Ubuntu systems, install the following:
apt install socat systemd-container libvirt-clients qemu-utils bridge-utils fai-setup-storage apt install --no-install-recommends fai-server dosfstools
You may also want either python3-pyvmomi or libvirt-daemon-system.
Then install Carthage like any other source distribution, perhaps using python3 setup.py install or python3 setup.py install --user.
Alternatively you can podman pull ghcr.io/hadron/carthage:latest
Learning Carthage
Documentation is available here.
For a look at a sample application take a look at https://github.com/hartmans/industrial-algebra.carthage . This application configures the laptop of one of the Carthage developers.
Join Us
As you start to use Carthage, you will probably have questions. The best approach is to discuss them in real time on our Matrix chat <https://matrix.to/#/#carthage-users:matrix.org>.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file carthage-0.34.tar.gz
.
File metadata
- Download URL: carthage-0.34.tar.gz
- Upload date:
- Size: 262.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3af857f982d21b3fe65e8d90c70783535c174b09ff8599715a33938092357c8d |
|
MD5 | 542e0d0313468261c423895dcabc2a18 |
|
BLAKE2b-256 | 07d1f43ef5ba87866504717763d5816624285e02763c4ece055cff9176262df9 |
File details
Details for the file carthage-0.34-py3-none-any.whl
.
File metadata
- Download URL: carthage-0.34-py3-none-any.whl
- Upload date:
- Size: 302.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27d57e39f1a2166b8cb404fa02a2d07a544c26432f96e6d436fc7307f0008d5c |
|
MD5 | 2e8e9209e5285072739f0caeb5098d75 |
|
BLAKE2b-256 | 2f96be883449db5cf8b274bb24ce292fad5e60eb9274fa7641fdc9fdd7b37d6d |