Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can use pyreverse to generate class diagram from python source

Since you are using devstack, it installs pyreverse

I created a class diagram for network tests

Check it here

Please do the following on devstack machine.

First install dot using the command

sudo apt-get install graphviz

Now you can start using pyreverse

I generated the above file using the command

pyreverse -o png -p tempest-test-networks /network

I executed this command from /opt/stack/tempest/tempest

Click here for the class diagram of nova baremetal driver

In the similar way, class diagram can be generated for any openstack class

Hope this helps

You can use pyreverse pyreverse to generate class diagram from python source

source. Since you are using devstack, it installs pyreversepyreverse.

I created a class diagram for network tests

tests. Check it here.

Please do the following on devstack machine.machine:

  1. First install dot using the command

    sudo apt-get install graphviz

  2. Now you can start using pyreverse

    pyreverse. I generated the above file using the commandcommand.

    cd /opt/stack/tempest/tempest pyreverse -o png -p tempest-test-networks /network

  3. I executed this command from /opt/stack/tempest/tempest

Click here for the class diagram of nova baremetal driver

driver. In the similar way, class diagram can be generated for any openstack classclass.

Hope this helpshelps.