Skip to main content

Minimal CloudStack Access Library and Utilities

Project description

minicloudstack
==============

Makes it easy to connect to Apache CloudStack. Tested with version 4.2 and later.

See: https://cloudstack.apache.org/

Includes helper scripts to work with zones and hosts and helps you get started with your own scripts.

Easiest is to set the following environment variables:

export CS_API_URL="http://mycloudstackapi.example.com/"
export CS_API_KEY="1235..."
export CS_SECRET_KEY="abcdef..."

Or override using built in arguments.


Example usage
-------------
# 1) Set your environment variables
# 2) Start python (or ipython).
import minicloudstack
mcs = minicloudstack.MiniCloudStack()
for template in mcs.list("templates", templatefilter="featured"):
print template.id, template.name


Helper scripts
--------------
Also provider are the following scripts that can be useful:

mcs-createzone
mcs-deletezone
mcs-registertemplate
mcs-addhost
minicloudstack

Start them with --help for detailed instructions.


Background
----------
These scripts where created by Greenqloud (see: https://www.greenqloud.com/ ).

The scripts where used in development of Qstack ( see: https://qstack.com/ ) but can be used with any CloudStack server.

We hope you find them useful!

Greenqloud Dev Team.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

minicloudstack-1.0.1.tar.gz (20.4 kB view hashes)

Uploaded Source

Built Distribution

minicloudstack-1.0.1-py2.py3-none-any.whl (29.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page