fuel-astute/lib/fuel_deployment.rb
Dmitry Ilyin b106c0557d 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
2016-07-14 21:54:44 +00:00

25 lines
1006 B
Ruby

# Copyright 2015 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 'fuel_deployment/error'
require_relative 'fuel_deployment/log'
require_relative 'fuel_deployment/version'
require_relative 'fuel_deployment/task'
require_relative 'fuel_deployment/graph'
require_relative 'fuel_deployment/node'
require_relative 'fuel_deployment/cluster'
require_relative 'fuel_deployment/concurrency/group'
require_relative 'fuel_deployment/concurrency/counter'