Some simple examples of openstack API usage from python, which mimic their command line equivalents.
The sdk/
directory contains same examples, but written using
OpenstackSDK instead of services own APIs.
Hopefully to also help with prototyping more interesting OS applications :)
All these assume you've already loaded your openstack credentials
from your openrc.sh
file, namely OS_USERNAME
,
OS_TENANT_NAME
, OS_PASSWORD
, OS_AUTH_URL
,
OS_REGION_NAME
.