diff options
Diffstat (limited to 'scenarios/os-odl-sfc/role/os-odl-sfc/tasks')
3 files changed, 43 insertions, 0 deletions
diff --git a/scenarios/os-odl-sfc/role/os-odl-sfc/tasks/add-sfc-repos-and-inventory.yml b/scenarios/os-odl-sfc/role/os-odl-sfc/tasks/add-sfc-repos-and-inventory.yml new file mode 100644 index 00000000..1a70c388 --- /dev/null +++ b/scenarios/os-odl-sfc/role/os-odl-sfc/tasks/add-sfc-repos-and-inventory.yml @@ -0,0 +1,16 @@ +--- + +- name: Add networking-odl and networking-sfc repos + copy: + src: openstack-ansible/playbooks/defaults/repo_packages/opendaylight.yml + dest: "{{OPENSTACK_OSA_PATH}}/playbooks/defaults/repo_packages/opendaylight.yml" + +- name: Provide nova inventory which adds OVS-NSH hosts + copy: + src: openstack-ansible/playbooks/inventory_odl/env.d/nova.yml + dest: "{{OPENSTACK_OSA_PATH}}/playbooks/inventory/env.d/nova.yml" + +- name: Provide neutron inventory which adds ODL hosts + copy: + src: openstack-ansible/playbooks/inventory_odl/env.d/neutron.yml + dest: "{{OPENSTACK_OSA_PATH}}/playbooks/inventory/env.d/neutron.yml" diff --git a/scenarios/os-odl-sfc/role/os-odl-sfc/tasks/copy-OSA-files.yml b/scenarios/os-odl-sfc/role/os-odl-sfc/tasks/copy-OSA-files.yml new file mode 100644 index 00000000..3821d9d6 --- /dev/null +++ b/scenarios/os-odl-sfc/role/os-odl-sfc/tasks/copy-OSA-files.yml @@ -0,0 +1,12 @@ +--- +# + +- name: copy user_variables.yml + copy: + src: "{{XCI_FLAVOR}}/user_variables.yml" + dest: "{{OPENSTACK_OSA_ETC_PATH}}/user_variables.yml" + +- name: copy OPNFV role requirements + copy: + src: "ansible-role-requirements.yml" + dest: "{{OPENSTACK_OSA_PATH}}/ansible-role-requirements.yml" diff --git a/scenarios/os-odl-sfc/role/os-odl-sfc/tasks/main.yml b/scenarios/os-odl-sfc/role/os-odl-sfc/tasks/main.yml new file mode 100644 index 00000000..f1fdcf2a --- /dev/null +++ b/scenarios/os-odl-sfc/role/os-odl-sfc/tasks/main.yml @@ -0,0 +1,15 @@ +--- +# SPDX-license-identifier: Apache-2.0 +############################################################################## +# Copyright (c) 2017 SUSE Linux GmbH +# 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: Add SFC repos and inventory + include: add-sfc-repos-and-inventory.yml + +- name: Copy the OSA not-yet-upstreamed files + include: copy-OSA-files.yml |