b106c0557d
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
19 lines
730 B
Ruby
Executable File
19 lines
730 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
# Copyright 2016 Mirantis, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
require_relative '../lib/fuel_deployment/simulator'
|
|
simulator = Astute::Simulator.new
|
|
simulator.run
|