LunrClient
An HTTP Client for use with the Lunr Storage Backend for Cinder
Installation
$ pip install python-lunrclient
Usage
Lunr API commandline usage
$ lunr -h Usage: lunr <command> [-h] Command line interface to the lunr api Available Commands: node account volume export env backup
Storage API commandline usage
$ storage -h -- Warning: Failed to load tools module, Missing dependency? Usage: storage <command> [-h] Command line interface to the lunr storage api Available Commands: volume status export backup env
Both lunr and storage can use environment variables for convenience.
Use lunr env and storage env to list environment variables that are used.
Currently the following are supported:
export OS_TENANT_NAME='thrawn' export LUNR_ADMIN='admin' export LUNR_TENANT_ID='admin' export LUNR_STORAGE_URL='http://localhost:8081' export LUNR_API_URL='http://localhost:8080'
Lunr API Examples
Create a 1 gig volume with a uuid for a name and use the default volume type:
$ lunr volume create 1
List the available volumes for OS_TENANT_NAME:
$ lunr volume list
Delete a volume:
$ lunr volume delete my-volume
Storage API Examples
Create a 1 gig volume with a uuid for a name:
$ storage volume create 1
List the available volumes on the storage node:
$ storage volume list
Delete a volume:
$ storage volume delete my-volume
Storage Tools
There are some additional storage server tools that are only available when run on the storage node:
$ storage tools -h Usage: storage tools <command> [-h] A collection of misc Storage Node tools Available Commands: read randomize clone write backup
Metadata
Release files for python-lunrclient 1.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| python-lunrclient-1.3.1.tar.gz | 24.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_lunrclient-1.3.1-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 51.8 kB
Release files / python-lunrclient-1.3.1.tar.gz
| Download URL | python-lunrclient-1.3.1.tar.gz |
|---|---|
| Size | 24.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a528efbeda6f0f075e21f9cd5c3045a0608a3e0dd2a5ebd789edceaa414acbf1
|
|
BLAKE2b-256 checksum How to use checksums |
1e0d87017464d000770f5c40a6f243bce89848db3c03f5eef3d9b658878edd4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / python_lunrclient-1.3.1-py2-none-any.whl
| Download URL | python_lunrclient-1.3.1-py2-none-any.whl |
|---|---|
| Size | 27.2 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
06bb9fe798e1ab9cdfd4ed2d34aff83d39043bae2e10f3394d4856c4c6bd4c1c
|
|
BLAKE2b-256 checksum How to use checksums |
9de6c57965542031c0ee64e59847c38fcb34077c5371e67e0d3ae0015aa2cfb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for python-lunrclient 1.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.