Skip to main content

Minimal CloudStack Access Library and Utilities

Project description

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

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

Alternatives

This library makes it easy to create quick utilities for Operational and Development purposes. For an interactive shell you should try cloudmonkey or shell scripting you can try cs.

Installation

pip install minicloudstack

Quickstart

Export the following environment variables (alternatively arguments can be used):

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

Start your python shell (python or ipython).

import minicloudstack
mcs = minicloudstack.MiniCloudStack()
for template in mcs.list("templates", templatefilter="featured"):
    print template.id, template.name

Helper scripts

Also provided are the following scripts that can be useful:

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

Start them with –help for detailed instructions.

Background

These scripts were created by Greenqloud when developing Qstack.

We hope you find them useful!

Greenqloud Dev Team.

Project details


Release history Release notifications

This version
History Node

1.1.4

History Node

1.1.1

History Node

1.1.0

History Node

1.0.9

History Node

1.0.8

History Node

1.0.7

History Node

1.0.6

History Node

1.0.5

History Node

1.0.4

History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
minicloudstack-1.1.4.tar.gz (26.0 kB) Copy SHA256 hash SHA256 Source None Feb 19, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page