Re: [openstack-dev] Heat dependency visualisation
Nice. What would be even nicer is a change to python-heatclient so that heat resource-list has an option to output in dotfile format. +1. It would also be interesting to check if the dependency analysis is capable of exploding a resource-group. Say I have a ResourceGroup where each resource in the group is a Nova server that referencing the same Neutron security group. A naive analysis will show that the ResourceGroup is referencing the security group, but the fact is that each Nova server is depending on the SecurityGroup individually. Similarly, it would be interesting to see how this tool is handling nested stacks. Regards, - Qiming ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] Heat dependency visualisation
On Tue, Sep 16, 2014 at 03:34:28PM +1200, Steve Baker wrote: On 16/09/14 03:24, Alexis Lee wrote: For your amusement, https://github.com/lxsli/heat-viz This produces HTML which shows which StructuredDeployments (boxes) depends_on each other (bold arrows). It also shows the StructuredDeployments which StructuredConfigs (ovals) feed into (normal arrows). Both CFN + HOT format files should be supported. Thanks to Steve Baker for the code I nicked, ahem, reused from merge.py. Nice. What would be even nicer is a change to python-heatclient so that heat resource-list has an option to output in dotfile format. larsks and I were discussing the exact same thing a few days ago: http://blog.oddbit.com/2014/09/02/visualizing-heat-stacks/ Steve ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] Heat dependency visualisation
Nice work. We discussed similar work weeks ago. And the idea is to generate the dot file from a heat template, and then draw figures from the dot file. Even in the reversed direction, we can generate a heat template from a dot based file. Seems the community are eager to seem some heat template visualization tool. On Mon, Sep 15, 2014 at 11:24 PM, Alexis Lee alex...@hp.com wrote: For your amusement, https://github.com/lxsli/heat-viz This produces HTML which shows which StructuredDeployments (boxes) depends_on each other (bold arrows). It also shows the StructuredDeployments which StructuredConfigs (ovals) feed into (normal arrows). Both CFN + HOT format files should be supported. Thanks to Steve Baker for the code I nicked, ahem, reused from merge.py. Alexis -- Nova Engineer, HP Cloud. AKA lealexis, lxsli. ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Best wishes! Baohua ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] Heat dependency visualisation
On 16/09/14 02:49, Qiming Teng wrote: Nice. What would be even nicer is a change to python-heatclient so that heat resource-list has an option to output in dotfile format. +1. It would also be interesting to check if the dependency analysis is capable of exploding a resource-group. Say I have a ResourceGroup where each resource in the group is a Nova server that referencing the same Neutron security group. A naive analysis will show that the ResourceGroup is referencing the security group, but the fact is that each Nova server is depending on the SecurityGroup individually. FWIW the naive analysis is actually how it works internally (dependencies don't cross nested stack boundaries), at least for now. - ZB Similarly, it would be interesting to see how this tool is handling nested stacks. Regards, - Qiming ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] Heat dependency visualisation
For your amusement, https://github.com/lxsli/heat-viz This produces HTML which shows which StructuredDeployments (boxes) depends_on each other (bold arrows). It also shows the StructuredDeployments which StructuredConfigs (ovals) feed into (normal arrows). Both CFN + HOT format files should be supported. Thanks to Steve Baker for the code I nicked, ahem, reused from merge.py. Alexis -- Nova Engineer, HP Cloud. AKA lealexis, lxsli. ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] Heat dependency visualisation
On 16/09/14 03:24, Alexis Lee wrote: For your amusement, https://github.com/lxsli/heat-viz This produces HTML which shows which StructuredDeployments (boxes) depends_on each other (bold arrows). It also shows the StructuredDeployments which StructuredConfigs (ovals) feed into (normal arrows). Both CFN + HOT format files should be supported. Thanks to Steve Baker for the code I nicked, ahem, reused from merge.py. Nice. What would be even nicer is a change to python-heatclient so that heat resource-list has an option to output in dotfile format. ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev