diff options
author | Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com> | 2017-12-07 18:05:04 +0100 |
---|---|---|
committer | Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com> | 2018-01-25 12:40:19 +0100 |
commit | 56791ea2dc5bcd0ba2d1811753dbbb5934fd8a92 (patch) | |
tree | 44d8cd68ec0d8aa9c8c280a575b61a4585003452 /scenarios/os-odl-bgpvpn/role/os-odl-bgpvpn/tasks/main.yml | |
parent | fbfb2513a8bc4f82ba2f5e69e64da659716cfb2d (diff) |
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 <periyasamy.palanisamy@ericsson.com>
Diffstat (limited to 'scenarios/os-odl-bgpvpn/role/os-odl-bgpvpn/tasks/main.yml')
-rw-r--r-- | scenarios/os-odl-bgpvpn/role/os-odl-bgpvpn/tasks/main.yml | 39 |
1 files changed, 39 insertions, 0 deletions
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" |