diff options
author | Venkata Harshavardhan Reddy Allu <venkataharshavardhan_ven@srmuniv.edu.in> | 2018-10-15 06:12:51 +0530 |
---|---|---|
committer | Venkata Harshavardhan Reddy Allu <venkataharshavardhan_ven@srmuniv.edu.in> | 2018-10-23 20:33:58 +0530 |
commit | 4c7e3e983bd92d3793658c5d04fabea140cf0d51 (patch) | |
tree | 39a89d965f96972e3a47266cc5d651ccb9697290 /scenarios/os-odl-sfc_osm/role/os-odl-sfc_osm/tasks/post-deployment.yml | |
parent | 6b956361494a573dfcd7e1440b8183e77be94ee4 (diff) |
Create new scenario: os-odl-sfc_osm
This change creates os-odl-sfc_osm scenario.
- copy the base scenario, os-odl-sfc
- remove tacker and pike config
- add tasks, vars, defaults and templates from os-nosdn-osm role
https://gerrit.opnfv.org/gerrit/#/c/63507/
Verification of this patch has be done using a change in releng-xci
pointing to this commit/corresponding patch on Gerrit to verify it
works in order to help with the review.
Change-Id: I90148063c6ff9881ef188e97956adea0e7cb5a7d
Signed-off-by: Venkata Harshavardhan Reddy Allu <venkataharshavardhan_ven@srmuniv.edu.in>
Diffstat (limited to 'scenarios/os-odl-sfc_osm/role/os-odl-sfc_osm/tasks/post-deployment.yml')
-rw-r--r-- | scenarios/os-odl-sfc_osm/role/os-odl-sfc_osm/tasks/post-deployment.yml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/scenarios/os-odl-sfc_osm/role/os-odl-sfc_osm/tasks/post-deployment.yml b/scenarios/os-odl-sfc_osm/role/os-odl-sfc_osm/tasks/post-deployment.yml new file mode 100644 index 00000000..c462065e --- /dev/null +++ b/scenarios/os-odl-sfc_osm/role/os-odl-sfc_osm/tasks/post-deployment.yml @@ -0,0 +1,28 @@ +--- +# SPDX-license-identifier: Apache-2.0 +############################################################################## +# Copyright (c) 2018 SUSE Linux GmbH 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: Configure opnfv host + include: configure-opnfvhost.yml + +- name: Install OSM + include: install-osm.yml + +- name: Register OpenStack as VIM + include: register-vim.yml + +# fetch ODL variables for functest +- name: "Fetch the ip of the neutron server container" + shell: 'grep controller00_neutron_server_container -n1 /etc/openstack_deploy/openstack_inventory.json | grep ansible_host | cut -d":" -f2 | cut -d "\"" -f2' + register: ip + changed_when: False + +- name: Fetch the ml2_conf.ini to process ODL variables + command: "scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no {{ ip.stdout }}:/etc/neutron/plugins/ml2/ml2_conf.ini /tmp/ml2_conf.ini" + changed_when: False |