Reviewed: https://review.openstack.org/326241 Committed: https://git.openstack.org/cgit/openstack/fuel-astute/commit/?id=5e70b9fd8a976e10bb83dc30720ea78e883e5788 Submitter: Jenkins Branch: stable/mitaka
commit 5e70b9fd8a976e10bb83dc30720ea78e883e5788 Author: Dmitry Ilyin <email address hidden> Date: Thu Jun 2 18:48:41 2016 +0300
Add Simulator class and command
The simulatir tool can be used either to virtually run the deployment to find out the task run order or to plot the entire graph or its subset.
> Run deployment from the YAML dumped by Astute astute-simulator -y /path/to/yaml/file.yaml
> Run deployments with task failure emulation astute-simulator -y /path/to/yaml/file.yaml -f ntp-client/2,heat-db/1 -P
> Using node and task name filters astute-simulator -y /path/to/yaml/file.yaml -g openstack -G '^2$' -p
Related-bug: #1569839
Change-Id: I6f583347e2f039a470410900c38d7a1d70151b56 (cherry picked from commit b106c0557d3fc0b21e20c74cc2fb99482ccf3b5d)
Reviewed: https:/ /review. openstack. org/326241 /git.openstack. org/cgit/ openstack/ fuel-astute/ commit/ ?id=5e70b9fd8a9 76e10bb83dc3072 0ea78e883e5788
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 5e70b9fd8a976e1 0bb83dc30720ea7 8e883e5788
Author: Dmitry Ilyin <email address hidden>
Date: Thu Jun 2 18:48:41 2016 +0300
Add Simulator class and command
The simulatir tool can be used either to virtually
run the deployment to find out the task run order
or to plot the entire graph or its subset.
> Run deployment from the YAML dumped by Astute simulator -y /path/to/ yaml/file. yaml
astute-
> Run deployments with task failure emulation simulator -y /path/to/ yaml/file. yaml -f ntp-client/ 2,heat- db/1 -P
astute-
> Using node and task name filters simulator -y /path/to/ yaml/file. yaml -g openstack -G '^2$' -p
astute-
Related-bug: #1569839
Change-Id: I6f583347e2f039 a470410900c38d7 a1d70151b56 21e20c74cc2fb99 482ccf3b5d)
(cherry picked from commit b106c0557d3fc0b