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-10-02 21:13:02 +0000
commit90b3ef7c16d604e53cce22169822878438ced78a (patch)
tree504c99a348bfc76a5f7e793516f544d0a394c1e7 /scenarios/os-odl-sfc/role/os-odl-sfc/tasks/add-sfc-repos-and-inventory.yml
parenta69bbffa313618b15f100707db532781e6f6ed9b (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>
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"