stacklight-integration-tests/stacklight_tests/toolchain/toolchain_settings.py
vgusev b349e52243 Add bvt tests for toolchain
Change-Id: Ia307466a4ff177038d34829370d86f5db20a9f05
2016-05-25 11:38:30 +03:00

47 lines
1.7 KiB
Python

# 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.
from stacklight_tests.elasticsearch_kibana import (
plugin_settings as elasticsearch_settings)
from stacklight_tests.influxdb_grafana import (
plugin_settings as influxdb_settings)
from stacklight_tests.lma_collector import (
plugin_settings as collector_settings)
from stacklight_tests.lma_infrastructure_alerting import (
plugin_settings as infrastructure_alerting_settings)
name = 'toolchain'
stacklight_roles = (elasticsearch_settings.role_name +
influxdb_settings.role_name +
collector_settings.role_name +
infrastructure_alerting_settings.role_name)
base_nodes = {
'slave-01': ['controller'],
'slave-02': ['compute', 'cinder'],
'slave-03': stacklight_roles
}
full_ha_nodes = {
'slave-01': ['controller'],
'slave-02': ['controller'],
'slave-03': ['controller'],
'slave-04': ['compute', 'cinder'],
'slave-05': ['compute', 'cinder'],
'slave-06': ['compute', 'cinder'],
'slave-07': stacklight_roles,
'slave-08': stacklight_roles,
'slave-09': stacklight_roles
}