From 8061c2f00f550b6cc2b2379f0ba8498e68a17d5d Mon Sep 17 00:00:00 2001 From: Fedor Zhadaev Date: Wed, 21 Dec 2016 18:03:52 +0400 Subject: [PATCH] Add congress plugin to nosdn-nofeature scenarios JIRA: FUEL-230 Change-Id: I20d4b38f876d5ee9bb7eeb0efb6a915f1de43bb9 Signed-off-by: Fedor Zhadaev --- deploy/config/plugins/fuel-congress_1.0.0.yaml | 49 ++++++++++++++++++++++ deploy/scenario/ha_heat_ceilometer_scenario.yaml | 5 ++- .../scenario/no-ha_heat_ceilometer_scenario.yaml | 5 ++- 3 files changed, 57 insertions(+), 2 deletions(-) create mode 100644 deploy/config/plugins/fuel-congress_1.0.0.yaml diff --git a/deploy/config/plugins/fuel-congress_1.0.0.yaml b/deploy/config/plugins/fuel-congress_1.0.0.yaml new file mode 100644 index 000000000..c7ba8a138 --- /dev/null +++ b/deploy/config/plugins/fuel-congress_1.0.0.yaml @@ -0,0 +1,49 @@ +############################################################################## +# Copyright (c) 2016 Mirantis Inc and others. +# fzhadaev@mirantis.com +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +plugin-config-metadata: + title: Congress fuel plugin configuration template + version: 0.1 + created: 03.10.2016 + comment: None +congress: + metadata: + #chosen_id: Assigned during installation + class: plugin + default: false + enabled: true + label: Fuel Congress plugin + toggleable: true + versions: + - enabled: + description: Service enable state for congress-server + label: Enable + type: checkbox + value: true + weight: 25 + metadata: + contains_legacy_tasks: false + db_password: + generator: 'password' + group: openstack_services + hot_pluggable: false + #plugin_id: Assigned during installation + plugin_version: 1.0.0 + port: 1789 + service: congress-server + user: congress + user_password: + generator: 'password' + policies: + description: Set of policies to configure for congress (in JSON format) + label: Policies + type: text + value: '{}' + weight: 50 + weight: 70 \ No newline at end of file diff --git a/deploy/scenario/ha_heat_ceilometer_scenario.yaml b/deploy/scenario/ha_heat_ceilometer_scenario.yaml index 4051c478a..6b032bfdd 100644 --- a/deploy/scenario/ha_heat_ceilometer_scenario.yaml +++ b/deploy/scenario/ha_heat_ceilometer_scenario.yaml @@ -32,6 +32,9 @@ deployment-scenario-metadata: # /_.yaml # It does so by copying the config file to the local plugin config directory stack-extensions: + - module: congress + module-config-name: fuel-congress + module-config-version: 1.0.0 ############################################################################## # By editing the override-config sections below, you can override arbitrary @@ -40,7 +43,7 @@ dea-override-config: nodes: - id: 1 interfaces: interfaces_1 - role: controller + role: controller, congress - id: 2 interfaces: interfaces_1 role: mongo, controller diff --git a/deploy/scenario/no-ha_heat_ceilometer_scenario.yaml b/deploy/scenario/no-ha_heat_ceilometer_scenario.yaml index 3dd5f841e..801b9fca7 100644 --- a/deploy/scenario/no-ha_heat_ceilometer_scenario.yaml +++ b/deploy/scenario/no-ha_heat_ceilometer_scenario.yaml @@ -32,6 +32,9 @@ deployment-scenario-metadata: # /_.yaml # It does so by copying the config file to the local plugin config directory stack-extensions: + - module: congress + module-config-name: fuel-congress + module-config-version: 1.0.0 ############################################################################## # By editing the override-config sections below, you can override arbitrary @@ -40,7 +43,7 @@ dea-override-config: nodes: - id: 1 interfaces: interfaces_1 - role: mongo,controller + role: mongo,controller,congress - id: 2 interfaces: interfaces_1 role: ceph-osd,compute -- 2.16.6