OpenStackClient plugin for advanced operations for the Placement service
Project description
osc-placement-tree
OpenStackClient plugin for advanced operations for the Placement service
This is an OpenStackClient plugin, that provides extra CLI commands for the Placement service to visualize what is stored in placement.
Free software: Apache license
Examples
Use it from the openstack CLI:
$ openstack resource provider tree list | dot -Tsvg
Use it in placement functional test environment:
from osc_placement_tree import utils as placement_visual
from placement import direct
with direct.PlacementDirect(
self.conf_fixture.conf, latest_microversion=True) as client:
placement_visual.dump_placement_db_to_dot(
placement_visual.PlacementDirectAsClientWrapper(client),
'/tmp/dump.dot')
Use it in nova functional test environment:
from osc_placement_tree import utils as placement_visual
placement_visual.dump_placement_db_to_dot(
placement_visual.PlacementFixtureAsClientWrapper(
self.placement_api),
'/tmp/dump.dot')
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
osc-placement-tree-0.3.1.tar.gz
(24.8 kB
view details)
File details
Details for the file osc-placement-tree-0.3.1.tar.gz
.
File metadata
- Download URL: osc-placement-tree-0.3.1.tar.gz
- Upload date:
- Size: 24.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.16+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b50f3d17f2dec03770fe51d75c4bb2df9d19fcb0ed1a51b9e5617fbd5c528a85 |
|
MD5 | 616990c0e9355ba4b6a7753f3bfc7d09 |
|
BLAKE2b-256 | a97c0d3b7c9f27dd6b5ae7138c2803eeaad5d7d03f7ec21ed5b2d21b35d6eed6 |