Skip to main content

OpenStackClient plugin for advanced operations for the Placement service

Project description

https://travis-ci.org/gibizer/osc-placement-tree.svg?branch=master

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
doc/example.svg

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.2.0.tar.gz (24.2 kB view details)

Uploaded Source

Built Distribution

osc_placement_tree-0.2.0-py2.py3-none-any.whl (26.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file osc-placement-tree-0.2.0.tar.gz.

File metadata

  • Download URL: osc-placement-tree-0.2.0.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.12

File hashes

Hashes for osc-placement-tree-0.2.0.tar.gz
Algorithm Hash digest
SHA256 05520498af373b1d8ecfed1d54ebe57f34ea1e09bd84ef7208b4e3bc91a1da5a
MD5 81bbbcb03dd55ebaf15acbecbb3992d5
BLAKE2b-256 cad3a63a011d9705c7a7a20df5ef23338fbbf287c1169755fdc98358fd6dba7e

See more details on using hashes here.

File details

Details for the file osc_placement_tree-0.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: osc_placement_tree-0.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 26.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.12

File hashes

Hashes for osc_placement_tree-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 610f9fec5e5e6cd673a6b11f700c9320ec42bc144d68c82ef80b7f98fb80ef53
MD5 edba8533143b1e7343e3d38ef06d856c
BLAKE2b-256 ac6e574a5fc103a32bec431431ad5190972ed32ed6f8fe68b8a4e855aba63e97

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page