Client library for OpenStack Manila API.
Project description
Python bindings to the OpenStack Manila API
This is a client for the OpenStack Manila API. There’s a Python API (the manilaclient module), and a command-line script (manila). Each implements 100% of the OpenStack Manila API.
See the OpenStack CLI guide for information on how to use the manila command-line tool. You may also want to look at the OpenStack API documentation.
The project is hosted on Launchpad, where bugs can be filed. The code is hosted on Github. Patches must be submitted using Gerrit, not Github pull requests.
This code is a fork of Cinderclient of Grizzly release and then it was developed separately. Cinderclient code is a fork of Jacobian’s python-cloudservers If you need API support for the Rackspace API solely or the BSD license, you should use that repository. python-manilaclient is licensed under the Apache License like the rest of OpenStack.
Command-line API
Installing this package gets you a shell command, manila, that you can use to interact with any Rackspace compatible API (including OpenStack).
You’ll need to provide your OpenStack username and password. You can do this with the --os-username, --os-password and --os-tenant-name params, but it’s easier to just set them as environment variables:
export OS_USERNAME=foouser export OS_PASSWORD=barpass export OS_TENANT_NAME=fooproject
You will also need to define the authentication url either with param --os-auth-url or as an environment variable:
export OS_AUTH_URL=http://example.com:5000/v2.0/
Since Keystone can return multiple regions in the Service Catalog, you can specify the one you want with --os-region-name (or export OS_REGION_NAME). It defaults to the first in the list returned.
You’ll find complete documentation on the shell by running manila help, see manila help COMMAND for help on a specific command.
Python API
There’s also a complete Python API, but it has not yet been documented.
Quick-start using keystone:
# use v2.0 auth with http://example.com:5000/v2.0/ >>> from manilaclient.v1 import client >>> nt = client.Client(USER, PASS, TENANT, AUTH_URL, service_type="share") >>> nt.shares.list() [...]
License: Apache License, Version 2.0
PyPi - package installation
Launchpad project - release management
Blueprints - feature specifications
Bugs - issue tracking
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file qh-python-manilaclient-0.0.1.dev1.tar.gz
.
File metadata
- Download URL: qh-python-manilaclient-0.0.1.dev1.tar.gz
- Upload date:
- Size: 202.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5316d8c99754d1ea764e5b09786983e7f138907a56d62d2e4646c86357be95a8 |
|
MD5 | 4ea5cb4fec600a25ce64ea009e209123 |
|
BLAKE2b-256 | 5d6dd48bf41e005e9985855cf3fc6a37607cd6907f1833400f32c7bdbed28c0f |
File details
Details for the file qh_python_manilaclient-0.0.1.dev1-py2.py3-none-any.whl
.
File metadata
- Download URL: qh_python_manilaclient-0.0.1.dev1-py2.py3-none-any.whl
- Upload date:
- Size: 286.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 498f20f61022fb8942c5f4edb2878fbcaed5bbbbe5a51d8242aeb3e6db53c95b |
|
MD5 | 5b6f3ba3c1bcd78a8598a5685f38ed98 |
|
BLAKE2b-256 | 9deec3c25a482e212793c337ae622d598d0c2c8d97d96b504cc210867b45f010 |