Metadata-Version: 1.1
Name: osc-placement-tree
Version: 0.3.0
Summary: OpenStackClient plugin for advanced operations for the Placement service
Home-page: https://github.com/gibizer/osc-placement-tree
Author: Balazs Gibizer
Author-email: gibizer@gmail.com
License: UNKNOWN
Description: .. image:: https://travis-ci.org/gibizer/osc-placement-tree.svg?branch=master
            :target: https://travis-ci.org/gibizer/osc-placement-tree
        
        ==================
        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:
        
        .. code:: bash
        
          $ openstack resource provider tree list | dot -Tsvg
        
        .. image:: doc/example.svg
        
        
        Use it in placement functional test environment:
        
        .. code:: python
        
            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:
        
        .. code:: python
        
            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')
        
        
Platform: UNKNOWN
Classifier: Environment :: OpenStack
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
