%global _empty_manifest_terminate_build 0 Name: python-ADLES Version: 1.4.0 Release: 1 Summary: Automated Deployment of Lab Environments System (ADLES) License: Apache 2.0 URL: https://ghostofgoes.github.io/ADLES/ Source0: https://mirrors.nju.edu.cn/pypi/web/packages/dd/cb/8b763af04de84aceead651d2ed95d5018478e1c55935943f25ee4823018f/ADLES-1.4.0.tar.gz BuildArch: noarch Requires: python3-pyyaml Requires: python3-colorlog Requires: python3-tqdm Requires: python3-humanfriendly Requires: python3-pyvmomi Requires: python3-apache-libcloud Requires: python3-docker %description [![Latest version on PyPI](https://badge.fury.io/py/ADLES.svg)](https://pypi.org/project/ADLES/) [![Travis CI build status](https://travis-ci.org/GhostofGoes/ADLES.svg?branch=master)](https://travis-ci.org/GhostofGoes/ADLES) [![Documentation](https://readthedocs.org/projects/adles/badge/)](http://adles.readthedocs.io/en/latest/) [![DOI Reference](https://zenodo.org/badge/68841026.svg)](https://zenodo.org/badge/latestdoi/68841026) # Overview Automated Deployment of Lab Environments System (ADLES) ADLES automates the deterministic creation of virtualized environments for use in Cybersecurity and Information Technology (IT) education. The system enables educators to easily build deterministic and portable environments for their courses, saving significant amounts of time and effort, and alleviates the requirement of possessing advanced IT knowledge. Complete documentation can be found at [ReadTheDocs](https://adles.readthedocs.io). [Publication describing the system.](https://doi.org/10.1016/j.cose.2017.12.007) # Getting started ```bash # Install pip3 install adles # Usage adles -h # Specification syntax adles --print-spec exercise adles --print-spec infra # Examples adles --list-examples adles --print-example competition ``` # Usage Creating an environment using ADLES: * Read the exercise and infrastructure specifications and examples of them. * Write an infrastructure specification for your platform. (Currently, VMware vSphere is the only platform supported) * Write an exercise specification with the environment you want created. * Check its syntax, run the mastering phase, make your changes, and then run the deployment phase. ```bash # Validate spec adles validate my-competition.yaml # Create Master images adles masters my-competition.yaml # Deploy the exercise adles deploy my-competition.yaml # Cleanup the environment adles cleanup my-competition.yaml ``` ## Detailed usage ```bash usage: adles [-h] [--version] [-v] [--syslog SERVER] [--no-color] [--list-examples] [--print-spec NAME] [--print-example NAME] [-i INFRA] {validate,deploy,masters,package,cleanup} ... Examples: adles --list-examples adles --print-example competition | adles validate - adles validate examples/pentest-tutorial.yaml adles masters examples/experiment.yaml adles -v deploy examples/experiment.yaml adles cleanup -t masters --cleanup-nets examples/competition.yaml adles validate -t infra examples/infra.yaml optional arguments: -h, --help show this help message and exit --version show program's version number and exit -v, --verbose Emit debugging logs to terminal --syslog SERVER Send logs to a Syslog server on port 514 --no-color Do not color terminal output -i INFRA, --infra INFRA Override the infrastructure specification to be used Print examples and specs: --list-examples Prints the list of available example scenarios --print-spec NAME Prints the named specification --print-example NAME Prints the named example ADLES Subcommands: {validate,deploy,masters,package,cleanup} validate Validate the syntax of your specification deploy Environment deployment phase of specification masters Master creation phase of specification package Create a package cleanup Cleanup and remove existing environments ``` ## vSphere Utility Scripts There are a number of utility scripts to make certain vSphere tasks bearable. ```bash # Basic usage vsphere --help vsphere