From 56791ea2dc5bcd0ba2d1811753dbbb5934fd8a92 Mon Sep 17 00:00:00 2001 From: Periyasamy Palanisamy Date: Thu, 7 Dec 2017 18:05:04 +0100 Subject: os-odl-bgpvpn scenario for xci deployment This includes scenario os-odl-bgpvpn scenario specific configuration files to make XCI to install Openstack (master and stable/pike) with OpenDaylight configured as a BGP speaker. XCI would automatically checkout sdnvpn repo and use scenarios directory for the configuration during its execution time. Change-Id: Ic86fcb171c8e97f7d3c3fb649ab0fb00368e6c6d Signed-off-by: Periyasamy Palanisamy --- .../role/os-odl-bgpvpn/tasks/main.yml | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 scenarios/os-odl-bgpvpn/role/os-odl-bgpvpn/tasks/main.yml (limited to 'scenarios/os-odl-bgpvpn/role/os-odl-bgpvpn/tasks/main.yml') diff --git a/scenarios/os-odl-bgpvpn/role/os-odl-bgpvpn/tasks/main.yml b/scenarios/os-odl-bgpvpn/role/os-odl-bgpvpn/tasks/main.yml new file mode 100644 index 0000000..c796342 --- /dev/null +++ b/scenarios/os-odl-bgpvpn/role/os-odl-bgpvpn/tasks/main.yml @@ -0,0 +1,39 @@ +--- +# SPDX-license-identifier: Apache-2.0 +############################################################################## +# Copyright (c) 2017-18 Ericsson AB and others. +# 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 +############################################################################## + +- name: copy user_variables_os-odl-bgpvpn.yml + copy: + src: "user_variables_os-odl-bgpvpn.yml" + dest: "{{OPENSTACK_OSA_ETC_PATH}}/user_variables_os-odl-bgpvpn.yml" + +- name: copy user_variables_os-odl-bgpvpn-ha.yml + copy: + src: "{{XCI_FLAVOR}}/user_variables_os-odl-bgpvpn-ha.yml" + dest: "{{OPENSTACK_OSA_ETC_PATH}}/user_variables_os-odl-bgpvpn-ha.yml" + when: + - XCI_FLAVOR == "ha" + +- name: copy os-odl-bgpvpn scenario specific openstack_user_config.yml + copy: + src: "{{XCI_FLAVOR}}/openstack_user_config.yml" + dest: "{{OPENSTACK_OSA_ETC_PATH}}/openstack_user_config.yml" + +- name: copy os-odl-bgpvpn scenario specific setup-openstack.yml + copy: + src: "setup-openstack.yml" + dest: " {{OPENSTACK_OSA_PATH}}/playbooks" + +- name: Copy the OSA not-yet-upstreamed files for Pike + include: add-osa-files-pike.yml + when: OPENSTACK_OSA_VERSION == "stable/pike" + +- name: Copy the OSA not-yet-upstreamed inventory files for Pike + include: add-inventory-files-pike.yml + when: OPENSTACK_OSA_VERSION == "stable/pike" -- cgit 1.2.3-korg