aboutsummaryrefslogtreecommitdiffstats
path: root/scenarios/os-odl-sfc/role/os-odl-sfc/tasks/add-sfc-repos-and-inventory.yml
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2017-09-26 13:26:32 +0200
committerManuel Buil <mbuil@suse.com>2017-11-08 18:45:16 +0000
commit93be25b50c49c45b6913202ff5fb009d430f37c6 (patch)
treed35f619dc1c97118364f14ef89d58da5114aea76 /scenarios/os-odl-sfc/role/os-odl-sfc/tasks/add-sfc-repos-and-inventory.yml
parent6ac610dd796ac39a211a39e54af95f810c0ff813 (diff)
Create a scenario role
As discussed with the releng-xci team, each project should have the scenario in its repo Change-Id: I2cb407892edeeccabf396c7b1c341c78fba2828e Signed-off-by: Manuel Buil <mbuil@suse.com> Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org> (cherry picked from commit 90b3ef7c16d604e53cce22169822878438ced78a)
Diffstat (limited to 'scenarios/os-odl-sfc/role/os-odl-sfc/tasks/add-sfc-repos-and-inventory.yml')
-rw-r--r--scenarios/os-odl-sfc/role/os-odl-sfc/tasks/add-sfc-repos-and-inventory.yml16
1 files changed, 16 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 0000000..1a70c38
--- /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"