ansible/test/utils/docker/cloudstack-simulator
2017-05-09 11:32:11 +08:00
..
Dockerfile automated integration tests for cloudstack (#20552) 2017-05-09 11:32:11 +08:00
Makefile automated integration tests for cloudstack (#20552) 2017-05-09 11:32:11 +08:00
nginx_default.conf automated integration tests for cloudstack (#20552) 2017-05-09 11:32:11 +08:00
README.rst automated integration tests for cloudstack (#20552) 2017-05-09 11:32:11 +08:00
run.sh automated integration tests for cloudstack (#20552) 2017-05-09 11:32:11 +08:00
supervisord.conf automated integration tests for cloudstack (#20552) 2017-05-09 11:32:11 +08:00
zones.cfg automated integration tests for cloudstack (#20552) 2017-05-09 11:32:11 +08:00

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.