osc-placement-tree 0.3.1

Last updated:

0 purchases

osc-placement-tree 0.3.1 Image
osc-placement-tree 0.3.1 Images
Add to Cart

Description:

oscplacementtree 0.3.1

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')

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.