You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/utils/docker/cloudstack-simulator
René Moser aaf4f04574 automated integration tests for cloudstack (#20552) 8 years ago
..
Dockerfile
Makefile
README.rst
nginx_default.conf
run.sh
supervisord.conf
zones.cfg

README.rst

CloudStack Simulator as Docker Image
====================================

The purpose of this docker image is to run automated integration tests for the CloudStack modules in Ansible.

Setup
-----

The docker image runs the CloudStack simulator and contains two zones for the different network setups: `basic` and `advanced` networking.

- CloudStack Zone: Sandbox-simulator-advanced
- Zone: Sandbox-simulator-basic

Build
-----

.. code-block:: shell

    docker build -t ansible/cloudstack-simulator .

Run
---

.. code-block:: shell

    docker run --name cloudstack-simulator -d -p 8888:8888 ansible/cloudstack-simulator


.. Note::

    It may take some time until the zones are deployed. The web server will respond with HTTP 503 on port 8888 unless the zones are fully deployed.