Add deploy with ceph
Change-Id: Ic36cf3997e3865783a7863d56d516907b90896b7
diff --git a/tcp_tests/settings_oslo.py b/tcp_tests/settings_oslo.py
index f8b3fb4..39e5e6b 100644
--- a/tcp_tests/settings_oslo.py
+++ b/tcp_tests/settings_oslo.py
@@ -56,6 +56,9 @@
_default_sl_prepare_tests_steps_path = pkg_resources.resource_filename(
__name__, 'templates/{0}/sl.yaml'.format(
settings.LAB_CONFIG_NAME))
+_default_ceph_prepare_tests_steps_path = pkg_resources.resource_filename(
+ __name__, 'templates/{0}/ceph.yaml'.format(
+ settings.LAB_CONFIG_NAME))
_default_k8s_steps = pkg_resources.resource_filename(
__name__, 'templates/{0}/k8s.yaml'.format(
settings.LAB_CONFIG_NAME))
@@ -229,6 +232,46 @@
help="Proemtheus protocol", default='http'),
]
+ceph_deploy_opts = [
+ ct.Cfg('ceph_steps_path', ct.String(),
+ help="Path to YAML with steps to deploy sl",
+ default=_default_sl_prepare_tests_steps_path),
+ ct.Cfg('docker_image_alertmanager', ct.String(),
+ default='{}/openstack-docker/alertmanager:latest'.format(
+ settings.DOCKER_REGISTRY)),
+ ct.Cfg('docker_image_pushgateway', ct.String(),
+ default='{}/openstack-docker/pushgateway:latest'.format(
+ settings.DOCKER_REGISTRY)),
+ ct.Cfg('docker_image_prometheus', ct.String(),
+ default='{}/openstack-docker/prometheus:latest'.format(
+ settings.DOCKER_REGISTRY)),
+ ct.Cfg('docker_image_remote_agent', ct.String(),
+ default='{}/openstack-docker/telegraf:latest'.format(
+ settings.DOCKER_REGISTRY)),
+ ct.Cfg('docker_image_remote_storage_adapter', ct.String(),
+ default='{}/openstack-docker/remote_storage_adapter:latest'.format(
+ settings.DOCKER_REGISTRY)),
+ # SalesForce connection options for pushkin
+ ct.Cfg('sfdc_sandbox_enabled', ct.String(), default='False'),
+ ct.Cfg('sfdc_auth_url', ct.String(), default=''),
+ ct.Cfg('sfdc_username', ct.String(), default=''),
+ ct.Cfg('sfdc_password', ct.String(), default=''),
+ ct.Cfg('sfdc_consumer_key', ct.String(), default=''),
+ ct.Cfg('sfdc_consumer_secret', ct.String(), default=''),
+ ct.Cfg('sfdc_organization_id', ct.String(), default=''),
+]
+
+ceph_opts = [
+ ct.Cfg('sl_installed', ct.Boolean(),
+ help="", default=False),
+ ct.Cfg('sl_vip_host', ct.IPAddress(),
+ help="Vip address for SL services", default='0.0.0.0'),
+ ct.Cfg('sl_prometheus_port', ct.String(),
+ help="Prometheus port", default='15010'),
+ ct.Cfg('sl_prometheus_proto', ct.String(),
+ help="Proemtheus protocol", default='http'),
+]
+
k8s_deploy_opts = [
ct.Cfg('k8s_steps_path', ct.String(),
help="Path to YAML with steps to deploy Kubernetes",