A simple command to drop you into the python interpreter with the openstack easy to setup.
Project description
First install the tool:
pip install openstack-interpreter
The simply run the command. Provided you have your environment variables setup correctly it will authenticate you, and drop into a python interpreter.
$ os-interpreter >>> interpreter <openstack_interpreter.OpenStackInterpreter object at 0x7fe39f22b090> >>> keystone = interpreter.get_client('identity') >>> projects = keystone.projects.list() >>> keystone.projects.get(projects[0].id) >>> nova = interpreter.get_client('compute') >>> servers = nova.servers.list() >>> server = nova.servers.get(servers[0].id)
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
Close
Hashes for openstack-interpreter-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6a6032b36d7b0dd03ca8a12763f81ba008d70c70bab5380e9ef48669fff1d03 |
|
MD5 | 1b8bf0a1c9d6bc828f4cb41e2181a6b5 |
|
BLAKE2b-256 | aa5ad3eb0f44c943d5c3fc969953660cfc5077bf507586419e945bea3a5e4b5d |