Merge branch 'master' into resource-compiler

This commit is contained in:
Przemyslaw Kaminski 2015-07-15 15:13:55 +02:00
commit 8381d214cf
2 changed files with 7 additions and 1 deletions

View File

@ -79,6 +79,12 @@ solar connections show
solar connections graph
```
You can also limit graph to show only specific resources:
```
solar connections graph --start-with mariadb_service --end-with keystone_db
```
* You can make sure that all input values are correct and mapped without duplicating your values with this command:
```
solar resource validate

View File

@ -258,7 +258,7 @@ def init_cli_connections():
end_with=end_with)
nx.write_dot(g, 'graph.dot')
fabric_api.local('dot', '-Tpng', 'graph.dot', '-o', 'graph.png')
fabric_api.local('dot -Tpng graph.dot -o graph.png')
# Matplotlib
#pos = nx.spring_layout(g)