Skip to main content

minicloudstack

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.

Metadata

Release files for minicloudstack 1.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for minicloudstack 1.1.4
File Size Uploaded
minicloudstack-1.1.4.tar.gz 26.0 kB Details

Release files / minicloudstack-1.1.4.tar.gz

Download URL minicloudstack-1.1.4.tar.gz
Size 26.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c101efcb89da96fbdea1751562dd4cedf8228370cbc1549bcf12c68c1a0014c9
BLAKE2b-256 checksum
How to use checksums
8861f1cb6fc2414faa767ca4b944f6933976a498ab1b72e316e6d953df92e68b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.1.4 This release

1 release file

1.1.1

1 release file

1.1.0

1 release file

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page